-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ESP32-S3 with Octal SPI RAM - Freezes During Boot #83743
Labels
bug
The issue is a bug, or the PR is fixing a bug
Comments
Can you also paste the boot log info? [edit] saw the link. no need to. |
Fixed, will submit it soon. |
sylvioalves
added a commit
to sylvioalves/zephyr
that referenced
this issue
Jan 10, 2025
Make sure vector table and bss_start clean up is performed pior hardwade initialization. Fixes zephyrproject-rtos#83743 zephyrproject-rtos#64757 Signed-off-by: Sylvio Alves <[email protected]>
sylvioalves
added a commit
to sylvioalves/zephyr
that referenced
this issue
Jan 10, 2025
Make sure vector table and bss_start clean up is performed pior hardwade initialization. Fixes zephyrproject-rtos#83743 zephyrproject-rtos#64757 Signed-off-by: Sylvio Alves <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
When I compile the hello_world example with PSRAM enabled in octal mode, the startup process freezes during initialization. This issue is reproducible on the
esp32s3_devkitc/esp32s3/procpu
board. Module used:ESP32-S3-DevKitC-1-N32R8V
.The freeze occurs within the HAL at the file
modules\hal\espressif\components\esp_psram\esp32s3\esp_psram_impl_octal.c
. Specifically, it happens during a call to the methodesp_opiflash_set_required_regs()
, where the s_chip_func function is NULL and the s_chip_id variable is set to 0.I don't quite understand the connection between flash initialization and SPI RAM in this case.
To Reproduce
(276) MSPI Timing: PSRAM timing tuning index: 5
Expected behavior
The system should boot and display the message:
Hello World! esp32s3_devkitc/esp32s3/procpu
Impact
The good news is that you have a work-around by commenting out the line ((*s_chip_func)->regs_set(s_chip_id)) in the HAL.
But it would be ideal to optimize this case to prevent issues for other users.
Logs and console output
Full boot log : bootlog.txt
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: