-
Notifications
You must be signed in to change notification settings - Fork 6.9k
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
Comments
Can you also paste the boot log info? [edit] saw the link. no need to. |
Fixed, will submit it soon. |
@sylvioalves I just tested it, and I’m pleased to confirm that everything is in order on my end! |
@sylvioalves However, I am still encountering a minor issue with the flash in octal mode. When I compile the following example:
Should I open an issue for this, or could it be related to something else? |
@Piziwate can you, for now, comment the line below before I submit a proper fix to solve this issue? |
Thank you @sylvioalves, the use of the flash is indeed functional with this line commented out! |
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: