Hi there,
I’m using an ESP32-VROOM-DA with 16MB of flash. I’m also using Arduino-ESP32 for development with platformio
The default partition table sets the flash size to 1.3MB, however I need more.
I have created a default_16mb.csv
file in the root folder (source here):
# Name, Type, SubType, Offset, Size, Flags
nvs, data, nvs, 0x9000, 0x5000,
otadata, data, ota, 0xe000, 0x2000,
app0, app, ota_0, 0x10000, 0x640000,
app1, app, ota_1, 0x650000,0x640000,
spiffs, data, spiffs, 0xc90000,0x360000,
coredump, data, coredump,0xFF0000,0x10000,
And I have edited my platform.ini file as follows:
[env:esp32dev]
platform = espressif32
board = esp32dev
framework = arduino
board_build.partitions = default_16MB.csv ; Added this
debug_tool = esp-prog
upload_protocol = esptool
upload_port = COM8
monitor_speed = 9600
debug_init_break = tbreak setup
However when I try to upload a super basic Hello World script, the board just repeatedly reboots, printing this on a fast loop:
rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13964
load:0x40080400,len:3600
entry 0x400805f0
ets Jul 29 2019 12:21:46
rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1344
load:0x40078000,len:13964
load:0x40080400,len:3600
entry 0x400805f0
ets Jul 29 2019 12:21:46
I have tried adjusting the partition table csv file to different smaller sizes, including the default, but nothing changes.
I have also tried different flash modes (qio
, dio
) and frequencies, but they don’t change anything.
Any help would be really appreciated! I’m not sure how to continue from here (debugging tips welcome) but we really need the extra flash size.
Thanks
Tim