Customer:
I set up Arduino IDE according to the Inkplate documentation and it seems fine. However, I get an error message each time I try to upload one of the example sketches from the Inkplate library when it tries to configure flash size.
Here is the full log:
Sketch uses 297101 bytes (9%) of program storage space. Maximum is 3145728 bytes.
Global variables use 36640 bytes (11%) of dynamic memory, leaving 291040 bytes for local variables. Maximum is 327680 bytes.
“/Users/[user]/Library/Arduino15/packages/Inkplate_Boards/tools/esptool_py/4.2.1/esptool” --chip esp32 --port “/dev/cu.usbserial-1450” --baud 921600 --before default_reset --after hard_reset write_flash -z --flash_mode dio --flash_freq 80m --flash_size 4MB 0x1000 “/private/var/folders/gf/g7kpxk7d60n4ht6h82256_bc0000gn/T/arduino/sketches/7ED4E274EEC500427B14A3394ED7F8CE/Inkplate2_Black_White_Red.ino.bootloader.bin” 0x8000 “/private/var/folders/gf/g7kpxk7d60n4ht6h82256_bc0000gn/T/arduino/sketches/7ED4E274EEC500427B14A3394ED7F8CE/Inkplate2_Black_White_Red.ino.partitions.bin” 0xe000 “/Users/[user]/Library/Arduino15/packages/Inkplate_Boards/hardware/esp32/3.0.1/tools/partitions/boot_app0.bin” 0x10000 “/private/var/folders/gf/g7kpxk7d60n4ht6h82256_bc0000gn/T/arduino/sketches/7ED4E274EEC500427B14A3394ED7F8CE/Inkplate2_Black_White_Red.ino.bin”
esptool.py v4.2.1
Serial port /dev/cu.usbserial-1450
Connecting…Traceback (most recent call last):
File “esptool.py”, line 34, in
File “esptool/init.py”, line 1004, in _main
File “esptool/init.py”, line 790, in main
File “esptool/loader.py”, line 1108, in flash_set_parameters
File “esptool/loader.py”, line 406, in check_command
File “esptool/loader.py”, line 375, in command
File “esptool/loader.py”, line 307, in read
StopIteration
Failed to execute script ‘esptool’ due to unhandled exception!
Chip is ESP32-D0WD-V3 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 94:e6:86:1c:04:08
Uploading stub…
Running stub…
Stub running…
Changing baud rate to 921600
Changed.
Configuring flash size…
Failed uploading: uploading error: exit status 1
Originally submitted via email support on 2 June 2023. Migrated to the forum for community visibility.