Skip to content

esp32-p4 Stuck on psram initialization (IDFGH-14180) #14979

Description

@logicDance-mcu

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.

v5.4-dev-4666-g030c9957db

Espressif SoC revision.

esp32-p4 v0.1

Operating System used.

macOS

How did you build your project?

Command line with idf.py

If you are using Windows, please specify command line type.

None

Development Kit.

esp32-p4 v1.4

Power Supply used.

USB

What is the expected behavior?

正常运行

What is the actual behavior?

ESP-ROM:esp32p4-eco1-20240205
Build:Feb 5 2024
rst:0x10 (CHIP_LP_WDT_RESET),boot:0x10f (SPI_FAST_FLASH_BOOT)
SPI mode:DIO, clock div:1
load:0x4ff33ce0,len:0x1254
load:0x4ff2abd0,len:0xc4c
--- 0x4ff2abd0: call_start_cpu0 at /Users/logicdance/esp/master/esp-idf/components/bootloader/subproject/main/bootloader_start.c:25

load:0x4ff2cbd0,len:0x3174
--- 0x4ff2cbd0: esp_flash_encryption_enabled at /Users/logicdance/esp/master/esp-idf/components/bootloader_support/src/flash_encrypt.c:86

entry 0x4ff2abd0
--- 0x4ff2abd0: call_start_cpu0 at /Users/logicdance/esp/master/esp-idf/components/bootloader/subproject/main/bootloader_start.c:25

W (28) boot.esp32p4: CPU has been reset by WDT.
I (262) hex_psram: vendor id : 0x0d (AP)
I (262) hex_psram: Latency : 0x01 (Fixed)
I (262) hex_psram: DriveStr. : 0x00 (25 Ohm)
I (263) hex_psram: dev id : 0x03 (generation 4)
I (268) hex_psram: density : 0x07 (256 Mbit)
I (272) hex_psram: good-die : 0x06 (Pass)
I (276) hex_psram: SRF : 0x02 (Slow Refresh)
I (281) hex_psram: BurstType : 0x00 ( Wrap)
I (285) hex_psram: BurstLen : 0x03 (2048 Byte)
I (290) hex_psram: BitMode : 0x01 (X16 Mode)
I (294) hex_psram: Readlatency : 0x04 (14 cycles@Fixed)
I (299) hex_psram: DriveStrength: 0x00 (1/1)
I (303) MSPI DQS: tuning success, best phase id is 2
I (491) MSPI DQS: tuning success, best delayline id is 12
I esp_psram: Found 32MB PSRAM device
I esp_psram: Speed: 200MHz
I (504) mmu_psram: .rodata xip on psram
I (551) mmu_psram: .text xip on psram

Steps to reproduce.

  1. Step
  2. Step
  3. Step
    ...

Debug Logs.

ESP-ROM:esp32p4-eco1-20240205
Build:Feb  5 2024
rst:0x10 (CHIP_LP_WDT_RESET),boot:0x10f (SPI_FAST_FLASH_BOOT)
SPI mode:DIO, clock div:1
load:0x4ff33ce0,len:0x1254
load:0x4ff2abd0,len:0xc4c
--- 0x4ff2abd0: call_start_cpu0 at /Users/logicdance/esp/master/esp-idf/components/bootloader/subproject/main/bootloader_start.c:25

load:0x4ff2cbd0,len:0x3174
--- 0x4ff2cbd0: esp_flash_encryption_enabled at /Users/logicdance/esp/master/esp-idf/components/bootloader_support/src/flash_encrypt.c:86

entry 0x4ff2abd0
--- 0x4ff2abd0: call_start_cpu0 at /Users/logicdance/esp/master/esp-idf/components/bootloader/subproject/main/bootloader_start.c:25

W (28) boot.esp32p4: CPU has been reset by WDT.
I (262) hex_psram: vendor id    : 0x0d (AP)
I (262) hex_psram: Latency      : 0x01 (Fixed)
I (262) hex_psram: DriveStr.    : 0x00 (25 Ohm)
I (263) hex_psram: dev id       : 0x03 (generation 4)
I (268) hex_psram: density      : 0x07 (256 Mbit)
I (272) hex_psram: good-die     : 0x06 (Pass)
I (276) hex_psram: SRF          : 0x02 (Slow Refresh)
I (281) hex_psram: BurstType    : 0x00 ( Wrap)
I (285) hex_psram: BurstLen     : 0x03 (2048 Byte)
I (290) hex_psram: BitMode      : 0x01 (X16 Mode)
I (294) hex_psram: Readlatency  : 0x04 (14 cycles@Fixed)
I (299) hex_psram: DriveStrength: 0x00 (1/1)
I (303) MSPI DQS: tuning success, best phase id is 2
I (491) MSPI DQS: tuning success, best delayline id is 12
I esp_psram: Found 32MB PSRAM device
I esp_psram: Speed: 200MHz
I (504) mmu_psram: .rodata xip on psram
I (551) mmu_psram: .text xip on psram

More Information.

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions