I have connected the PSRAM64H to my ESP32-WROOM-32U as shown in the below schematic.
Unfortunately, when I try to run the "himem" example it fails with the following stacktrace:
Code: Select all
Rebooting...
ets Jul 29 2019 12:21:46
rst:0xc (SW_CPU_RESET),boot:0x3f (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:2
load:0x3fff0030,len:4
load:0x3fff0034,len:7176
load:0x40078000,len:13664
ho 0 tail 12 room 4
load:0x40080400,len:4632
0x40080400: _init at ??:?
entry 0x400806f4
I (31) boot: ESP-IDF v4.2.1 2nd stage bootloader
I (31) boot: compile time 19:14:30
I (31) boot: chip revision: 3
I (34) boot_comm: chip revision: 3, min. bootloader chip revision: 0
I (41) boot.esp32: SPI Speed : 40MHz
I (46) boot.esp32: SPI Mode : DIO
I (50) boot.esp32: SPI Flash Size : 2MB
I (55) boot: Enabling RNG early entropy source...
I (60) boot: Partition Table:
I (64) boot: ## Label Usage Type ST Offset Length
I (71) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (78) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (86) boot: 2 factory factory app 00 00 00010000 00100000
I (93) boot: End of partition table
I (97) boot_comm: chip revision: 3, min. application chip revision: 0
I (105) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x0aca4 ( 44196) map
I (132) esp_image: segment 1: paddr=0x0001accc vaddr=0x3ffb0000 size=0x02104 ( 8452) load
I (136) esp_image: segment 2: paddr=0x0001cdd8 vaddr=0x40080000 size=0x00404 ( 1028) load
0x40080000: _WindowOverflow4 at /media/bernhard/Data/Projects/esp-idf/components/freertos/xtensa/xtensa_vectors.S:1730
I (139) esp_image: segment 3: paddr=0x0001d1e4 vaddr=0x40080404 size=0x02e34 ( 11828) load
I (153) esp_image: segment 4: paddr=0x00020020 vaddr=0x400d0020 size=0x17dec ( 97772) map
0x400d0020: _stext at ??:?
I (197) esp_image: segment 5: paddr=0x00037e14 vaddr=0x40083238 size=0x0a994 ( 43412) load
0x40083238: psram_cache_init at /media/bernhard/Data/Projects/esp-idf/components/esp32/spiram_psram.c:1074
I (226) boot: Loaded app from partition at offset 0x10000
I (226) boot: Disabling RNG early entropy source...
I (227) psram: This chip is ESP32-D0WD
E (232) psram: PSRAM ID read error: 0xffffffff
E (236) cpu_start: Failed to init external RAM!
Re-enable cpu cache.
abort() was called at PC 0x40081a15 on core 0
0x40081a15: call_start_cpu0 at /media/bernhard/Data/Projects/esp-idf/components/esp32/cpu_start.c:191 (discriminator 1)
Backtrace:0x40087622:0x3ffe3b90 0x40087ced:0x3ffe3bb0 0x4008b586:0x3ffe3bd0 0x40081a15:0x3ffe3c40 0x40079082:0x3ffe3c80 |<-CORRUPTED
0x40087622: panic_abort at /media/bernhard/Data/Projects/esp-idf/components/esp_system/panic.c:330
0x40087ced: esp_system_abort at /media/bernhard/Data/Projects/esp-idf/components/esp_system/system_api.c:106
0x4008b586: abort at /media/bernhard/Data/Projects/esp-idf/components/newlib/abort.c:46
0x40081a15: call_start_cpu0 at /media/bernhard/Data/Projects/esp-idf/components/esp32/cpu_start.c:191 (discriminator 1)
ELF file SHA256: 0fdb4bded33b4c0e
Does anyone have an idea what I am doing wrong here?
Thanks a lot!
Have a nice day,
Bernhard