question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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 issue

Hi, 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

WiFiAccessPoint.zip

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:closed
  • Created a year ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
luc-githubcommented, May 23, 2022

@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 too

1reaction
valeroscommented, May 23, 2022

It should be board_upload.flash_size = 16MB not board_build.flash_size = 16MB.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Esp32 board library error? - Arduino Forum
Hello developers, I'm having trouble compiling code for esp32 board. ... latest library and tried various old Arduino ide but same problem ......
Read more >
Untitled
Fixes problems with help() function in recent R releases. ... Change selinux policy requirement to Conflicts: with the old version, rather than Requires: ......
Read more >
Untitled
Override device scan in RXTX to allow use of Arduino Uno. ... ibus-table-chinese-all - New tables which was not include in original: +...
Read more >
MDK5 Software Packs - Keil
Analog Devices ADuCM302x Device Support. (Subject to the Software License Agreement referred to in the Release Notes.) BSP DFP 3.2.0.
Read more >
Bug listing with status CONFIRMED as at 2022/12/20 18:46:38
trapdoor2 (new ebuild)" status:CONFIRMED resolution: severity:enhancement · Bug:56360 - "app-misc/shunt-1.6.3 - restart processes in a pipe without breaking ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found