ESP32-PICO-V3-02 with 8MB partition table is not booting
See original GitHub issueI am having troubles using the ESP32-PICO-V3-02 with the full flash size of 8MB. Using the “default.csv” is working fine, but when switching to the “default_8mb.csv” it does not boot any more… 😦
I already had a short chat with @maxgerhardt (thanks again!) here and he suggested me to file an issue here 😃
repo to reproduce
https://github.com/slaesh/eps32-pico-v3-8mb-flash-issue
logs using platformio
using platformio and the default partition table, a reset looks like this
huhu
huhu
huhu
ets Jul 29 2019 12:21:46
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1344
load:0x40078000,len:13836
load:0x40080400,len:3608
entry 0x400805f0
[ 4][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
[ 228][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled
huhu
huhu
huhu
huhu
using platformio and the 8mb partition table, this error loops around:
ets Jul 29 2019 12:21:46
rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1344
load:0x40078000,len:13836
load:0x40080400,len:3608
entry 0x400805f0
ets Jul 29 2019 12:21:46
rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1344
load:0x40078000,len:13836
load:0x40080400,len:3608
entry 0x400805f0
ets Jul 29 2019 12:21:46
rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1344
load:0x40078000,len:13836
load:0x40080400,len:3608
entry 0x400805f0
ets Jul 29 2019 12:21:46
rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1344
load:0x40078000,len:13836
load:0x40080400,len:3608
entry 0x400805f0
ets Jul 29 2019 12:21:46
rst:0x3 (SW_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1344
load:0x40078000,len:13836
load:0x40080400,len:3608
entry 0x400805f0
ets Jul 29 2019 12:21:46
platformio version used
artefacts platformio
logs using arduino ide
Sketch uses 262409 bytes (7%) of program storage space. Maximum is 3342336 bytes.
Global variables use 16520 bytes (5%) of dynamic memory, leaving 311160 bytes for local variables. Maximum is 327680 bytes.
esptool.py v4.2.1
Serial port /dev/ttyUSB0
Connecting....
Chip is ESP32-PICO-V3-02 (revision 3)
Features: WiFi, BT, Dual Core, 240MHz, Embedded Flash, Embedded PSRAM, VRef calibration in efuse, Coding Scheme None
Crystal is 40MHz
MAC: 30:83:98:d1:a6:44
Uploading stub...
Running stub...
Stub running...
Changing baud rate to 921600
Changed.
Configuring flash size...
Erasing flash (this may take a while)...
Chip erase completed successfully in 4.5s
Compressed 18880 bytes to 13028...
Writing at 0x00001000... (100 %)
Wrote 18880 bytes (13028 compressed) at 0x00001000 in 0.2 seconds (effective 648.2 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 129...
Writing at 0x00008000... (100 %)
Wrote 3072 bytes (129 compressed) at 0x00008000 in 0.0 seconds (effective 1699.2 kbit/s)...
Hash of data verified.
Compressed 8192 bytes to 47...
Writing at 0x0000e000... (100 %)
Wrote 8192 bytes (47 compressed) at 0x0000e000 in 0.0 seconds (effective 2616.9 kbit/s)...
Hash of data verified.
Compressed 262800 bytes to 143222...
Writing at 0x00010000... (11 %)
Writing at 0x0001ceb2... (22 %)
Writing at 0x00024e82... (33 %)
Writing at 0x0002a2df... (44 %)
Writing at 0x0002f640... (55 %)
Writing at 0x00037ee7... (66 %)
Writing at 0x00040e33... (77 %)
Writing at 0x00046839... (88 %)
Writing at 0x0004befe... (100 %)
Wrote 262800 bytes (143222 compressed) at 0x00010000 in 2.0 seconds (effective 1057.6 kbit/s)...
Hash of data verified.
serial output arduino ide
huhu
huhu
huhu
huhu
huhu
ets Jul 29 2019 12:21:46
rst:0x1 (POWERON_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
configsip: 271414342, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:1344
load:0x40078000,len:13836
load:0x40080400,len:3608
entry 0x400805f0
[ 4][D][esp32-hal-cpu.c:244] setCpuFrequencyMhz(): PLL: 480 / 2 = 240 Mhz, APB: 80000000 Hz
[ 228][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled
huhu
huhu
huhu
huhu
arduino version used
artefacts platformio
Issue Analytics
- State:
- Created a year ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Factory app parition not bootable. - ESP32 Forum
E (306) boot: No bootable app partitions in the partition table ... Auto-detected Flash size: 8MB Compressed 18624 bytes to 10984.
Read more >NEED help in setting up partition Scheme/Table for ESP32 ...
Am trying to find partition table for enabling partition scheme with boards.txt. Am using a 8MB flash version of ESP32-WROOM-32D from digikey.
Read more >esp32-pico-v3-02_datasheet_en.pdf - Espressif Systems
It integrates a 8 MB SPI flash and a 2 MB SPI. PSRAM. At the core of ESP32-PICO-V3-02 is the ESP32 (ECO V3)...
Read more >Support for EPS32-PICO-V3 - PlatformIO Community
So I am wondering how I can unlock the real 8MB flash and internal ... The “percentage” updates… but that doesnt help if...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@slaesh Only esp32 rev.1 and some rev.2 needs this fix. Since rev.3 it is not needed anymore. Pico variant is a very new version and does not need this fix. Many boards.json are probably wrong… A quick look at the Arduino boards.txt there are wrong entrys too. Since esp32 is only available since a long wnile as rev.3 many boards would not need. You can check with esptool.py. If you get rev.1 and rev.2 you need if any other version you will not need. AND sorry for the wrong “looking” 🤦♂️
I am wondering… do I need
fix-esp32-psram-cache-issue
?I found this commit… https://github.com/platformio/platform-espressif32/commit/1dc190d9f77437290a356b9200d19be55b2d6f83
when do we need it, when not @Jason2866 ? =)