Hello everyone,
I am trying to do an ota via modbus rtu. But after having written the image to flash with esp ota write(), the call to esp ota end
makes the esp crash with "Guru Meditation Error: Core / (Cache disabled but cached memory region accessed).
Write back error occurred while dcache tries to write back to flash".
I suspect a similar issue to this one: https://esp32.com/viewtopic.php?t=19141
But the solution in the provided issue doesent work, because I am using v5.0
The chip is esp32s3.
Crashing on esp_ota_end()
Crashing on esp_ota_end()
- Attachments
-
- sdkconfig.txt
- (52.12 KiB) Downloaded 136 times
Re: Crashing on esp_ota_end()
I figured the issue myself out.
For anyone else having a similar issue:
I was calling strtok with the version string from esp_app_desc_t which changed the version string. So when esp_ota_end was using it, the string was NULL.
Copying the version string in a buffer and then calling strtok on the buffer resolved the issue for me.
For anyone else having a similar issue:
I was calling strtok with the version string from esp_app_desc_t which changed the version string. So when esp_ota_end was using it, the string was NULL.
Copying the version string in a buffer and then calling strtok on the buffer resolved the issue for me.
Who is online
Users browsing this forum: MSN [Bot] and 94 guests