Go dead loop using large partions with lastest realeases (4.2.0 ~ 4.3.0 )- no issue with arduino ide or old version (1.0.1)
See original GitHub issueHi, Thank you for the 4.3.0 to support latest esp32-arduino 2.0.3, I have issue that did not happen with older releases neither with arduino IDE. I have checked doc and usage seems not changed so I am guessing there is a bug.
I am using unmodified wifiAccessPoint.ino from esp32-arduino sample as MCVE and just add platformio.ini to use 16MB partition because my board has 16MB flash My board is a FYSECT E4 with 16MB flash, so I use esp32dev board, I have also checked with another board I have : Lolin32Pro 16MB flash.
Here the configuration file I use
[platformio]
default_envs = esp32dev
[env:esp32dev]
platform = espressif32@4.3.0
;platform = espressif32@1.0.1
board = esp32dev
framework = arduino
monitor_speed = 115200
board_build.f_cpu = 240000000L
board_build.f_flash = 80000000L
board_build.flash_mode = qio
board_build.partitions = default_16MB.csv
upload_speed = 115200
monitor_speed = 115200
I use the default_16MB.csv from esp32-arduino core, but same behavior happen with default_8MB.csv and ok with default 4MB
# 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,0x370000,
Then with 4.3.0 I go to dead loop reboot after flashing
rst:0x3 (SW_RESET),boot:0x17 (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:13516
load:0x40080400,len:3604
entry 0x400805f0
ets Jun 8 2016 00:22:57
rst:0x3 (SW_RESET),boot:0x17 (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:13516
load:0x40080400,len:3604
entry 0x400805f0
ets Jun 8 2016 00:22:57
rst:0x3 (SW_RESET),boot:0x17 (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:13516
load:0x40080400,len:3604
entry 0x400805f0
ets Jun 8 2016 00:22:57
with old version 1.0.1 it is ok
rst:0x1 (POWERON_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:0x3fff0018,len:4
load:0x3fff001c,len:956
load:0x40078000,len:0
load:0x40078000,len:13256
entry 0x40078a90
Configuring access point...
AP IP address: 192.168.4.1
Server started
Is it a bug ? or do I miss new setting that is not clearly documented? I enclose the MCVE WiFiAccessPoint.zip
Issue Analytics
- State:
- Created a year ago
- Comments:14 (8 by maintainers)
Top GitHub Comments
@valeros
board_upload.flash_size = 16MB
did the trick thank you I think it worth a note in https://docs.platformio.org/en/latest/platforms/espressif32.html @Jason2866 thank you for the help tooIt should be
board_upload.flash_size = 16MB
notboard_build.flash_size = 16MB
.