-
Notifications
You must be signed in to change notification settings - Fork 7.3k
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 Flash encryption + Update.SetupCrypt issue: Guru Meditation Error: Core 0 panic'ed (Cache disabled but cached memory region accessed). #10194
Labels
Status: Awaiting triage
Issue is waiting for triage
Comments
Here is the full efuse export from ESP32 chip:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Board
ESP32-S3 N8R2
Device Description
Custom board.
Hardware Configuration
Multiple sensors wired to various GPIOs
Version
v3.0.2
IDE Name
PlatformIO with pioarduino
Operating System
Windows 11
Flash frequency
80Mhz
PSRAM enabled
yes
Upload speed
115200
Description
I decided to implement encrypted OTA mechanism by using Update.SetupCrypt(); function to my application. It works great and tested multiple times to ensure it does not cause any issues.
I am using a third party library to initiate OTA updates. The library works great with Update.SetupCrypt option is enabled.
I then enabled flash encryption and secure boot v2 on ESP32-S3 to confirm if it works properly with Update.SetupCrypt();. However as soon as firmware download begins the esp32 reboots.
I had to throw 2 esp32 chips until I figured what might be the issue.
Apparently, when flash encryption is enabled Update.SetupCrypt(); not working properly and throws the following error on serial monitor.
Not sure if this is related with the DIS_DOWNLOAD_ICACHE and DIS_DOWNLOAD_DCACHE efuses are set to (b = True R/- (0b1)
Sketch
Debug Message
Other Steps to Reproduce
No response
I have checked existing issues, online documentation and the Troubleshooting Guide
The text was updated successfully, but these errors were encountered: