ESP32-PICO-V3-02 PSRAM test crash
Posted: Thu Oct 05, 2023 2:51 pm
Hi!
We have run into a problem with our custom ESP32-PICO-V3-02 based hw crashing on PSRAM test:
This only crashes on about 10 devices out of 1000. The rest work fine. Also making modifications to the app code prevents ESP32 PSRAM test from crashing. If disable PSRAM test in sdkconfig then it won't crash either.
Any advice where to look into?
Thanks!
We have run into a problem with our custom ESP32-PICO-V3-02 based hw crashing on PSRAM test:
Code: Select all
I (29) boot: ESP-IDF v4.4-329-g3c9657fa4e 2nd stage bootloader
I (29) boot: compile time 11:04:59
I (29) boot: chip revision: 3
I (56) boot_comm: chip revision: 3, min. bootloader chip revision: 0
I (98) boot.esp32: SPI Speed : 40MHz
I (126) boot.esp32: SPI Mode : DIO
I (154) boot.esp32: SPI Flash Size : 8MB
I (182) boot: Enabling RNG early entropy source...
I (215) boot: Partition Table:
I (237) boot: ## Label Usage Type ST Offset Length
I (281) boot: 0 nvs WiFi data 01 02 00009000 00004000
I (326) boot: 1 otadata OTA data 01 00 0000d000 00002000
I (372) boot: 2 phy_init RF data 01 01 0000f000 00001000
I (417) boot: 3 factory factory app 00 00 00010000 00200000
I (462) boot: 4 ota_0 OTA app 00 10 00310000 00200000
I (508) boot: 5 ota_1 OTA app 00 11 00510000 00200000
I (553) boot: 6 nvs_key NVS keys 01 04 00710000 00001000
I (598) boot: End of partition table
I (624) boot: Defaulting to factory image
I (652) boot_comm: chip revision: 3, min. application chip revision: 0
I (695) esp_image: segment 0: paddr=00010020 vaddr=3f400020 size=33e88h (212616) map
I (823) esp_image: segment 1: paddr=00043eb0 vaddr=3ffbdb60 size=04ff8h ( 20472) load
I (831) esp_image: segment 2: paddr=00048eb0 vaddr=40080000 size=07168h ( 29032) load
I (873) esp_image: segment 3: paddr=00050020 vaddr=400d0020 size=c2bb8h (797624) map
I (1200) esp_image: segment 4: paddr=00112be0 vaddr=40087168 size=17eb0h ( 97968) load
I (1241) esp_image: segment 5: paddr=0012aa98 vaddr=50000000 size=00010h ( 16) load
I (1256) boot: Loaded app from partition at offset 0x10000
I (1273) boot: Disabling RNG early entropy source...
Guru Meditation Error: Core 0 panic'ed (StoreProhibited). Exception was unhandled.
Core 0 register dump:
PC : 0x400d7c30 PS : 0x00060b30 A0 : 0x800817ff A1 : 0x3ffe3c30
0x400d7c30: esp_spiram_test at /opt/esp/idf/components/esp_hw_support/port/esp32/spiram.c:110
A2 : 0x00000001 A3 : 0x3f800000 A4 : 0x3ff0005c A5 : 0x50000010
A6 : 0x0000083f A7 : 0x00000000 A8 : 0x0001fc20 A9 : 0x00007f08
A10 : 0x00200000 A11 : 0xaaaad5a2 A12 : 0x00000000 A13 : 0x3f811408
A14 : 0x00000020 A15 : 0x00000000 SAR : 0x0000001d EXCCAUSE: 0x0000001d
EXCVADDR: 0x0001fc20 LBEG : 0x4009365c LEND : 0x40093664 LCOUNT : 0x00000000
0x4009365c: __memset_aux at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/newlib/newlib/libc/machine/xtensa/memset.S:61
0x40093664: __memset_aux at /builds/idf/crosstool-NG/.build/xtensa-esp32-elf/src/newlib/newlib/libc/machine/xtensa/memset.S:69
Backtrace:0x400d7c2d:0x3ffe3c300x400817fc:0x3ffe3c50 0x400794dc:0x3ffe3c80 |<-CORRUPTED
0x400d7c2d: esp_spiram_test at /opt/esp/idf/components/esp_hw_support/port/esp32/spiram.c:110
0x400817fc: call_start_cpu0 at /opt/esp/idf/components/esp_system/port/cpu_start.c:445
Any advice where to look into?
Thanks!