PSRAM ID read error on ESP32-S3-DEVKITC-1-N8R8
Posted: Fri Dec 17, 2021 1:22 pm
I build helloworld on ESP-IDF Eclipse and write it to ESP32-S3-DEVKITC-1-N8R8.
ESP-IDF branch is master. commit is 07bfc09d0c8837b4d149e1151c57635a0c02755a.
It works correctly.
After that, enable "Support for external, SPI-connected RAM" option on sdkconfig, build and write it to same board.
On boot, it shows following error message and repeat rebooting.
How can I enable PSRAM on ESP32-S3-DEVKITC-1-N8R8?
Thank you.
ESP-IDF branch is master. commit is 07bfc09d0c8837b4d149e1151c57635a0c02755a.
It works correctly.
After that, enable "Support for external, SPI-connected RAM" option on sdkconfig, build and write it to same board.
On boot, it shows following error message and repeat rebooting.
Code: Select all
ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x403757d8
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd0108,len:0x171c
load:0x403b6000,len:0x8c8
load:0x403ba000,len:0x2ed8
entry 0x403b61c0
I (29) boot: ESP-IDF v5.0-dev-758-g07bfc09d0c 2nd stage bootloader
I (29) boot: compile time 21:33:30
I (29) boot: chip revision: 0
I (32) boot.esp32s3: Boot SPI Speed : 80MHz
I (37) boot.esp32s3: SPI Mode : DIO
I (42) boot.esp32s3: SPI Flash Size : 2MB
I (47) boot: Enabling RNG early entropy source...
W (52) bootloader_random: RNG for ESP32-S3 not currently supported
I (59) boot: Partition Table:
I (62) boot: ## Label Usage Type ST Offset Length
I (70) boot: 0 nvs WiFi data 01 02 00009000 00006000
I (77) boot: 1 phy_init RF data 01 01 0000f000 00001000
I (85) boot: 2 factory factory app 00 00 00010000 00100000
I (92) boot: End of partition table
I (96) esp_image: segment 0: paddr=00010020 vaddr=3c020020 size=07cf0h ( 31984) map
I (110) esp_image: segment 1: paddr=00017d18 vaddr=3fc90c70 size=02858h ( 10328) load
I (115) esp_image: segment 2: paddr=0001a578 vaddr=40374000 size=05aa0h ( 23200) load
I (127) esp_image: segment 3: paddr=00020020 vaddr=42000020 size=170ech ( 94444) map
I (147) esp_image: segment 4: paddr=00037114 vaddr=40379aa0 size=071d0h ( 29136) load
I (154) esp_image: segment 5: paddr=0003e2ec vaddr=50000000 size=00010h ( 16) load
I (159) boot: Loaded app from partition at offset 0x10000
I (159) boot: Disabling RNG early entropy source...
W (164) bootloader_random: RNG for ESP32-S3 not currently supported
E (183) psram: PSRAM ID read error: 0x00ffffff
E (183) cpu_start: Failed to init external RAM!
abort() was called at PC 0x403752e8 on core 0
Backtrace:0x40375b52:0x3fceb2600x403794b5:0x3fceb280 0x4037f05e:0x3fceb2a0 0x403752e8:0x3fceb310 0x403bb00c:0x3fceb340 0x403bb475:0x3fceb380 0x 403b6229:0x3fceb4b0 0x40045c01:0x3fceb570 |<-CORRUPTED
Thank you.