Hi all,
I have a requirement like set/reset the gpio pin based on the condition, which is in timer interrupt of time 10ms and in parallel I'm receiving data from uart interrupt and that data I'm writing it to internal flash using spi_flash_write() API function. when spi_flash_write() function is called, I'm getting an error "Cache disabled but cached memory region accessed". Can anyone help me to solve this problem?.
Any help can be appreciated.
Thanks
Guru Meditation Error: Core 0 panic'ed (Cache disabled but cached memory region accessed)
-
- Posts: 51
- Joined: Sat Mar 17, 2018 4:49 am
Re: Guru Meditation Error: Core 0 panic'ed (Cache disabled but cached memory region accessed)
hiningappa BS wrote: ↑Mon Sep 30, 2019 12:13 pmHi all,
I have a requirement like set/reset the gpio pin based on the condition, which is in timer interrupt of time 10ms and in parallel I'm receiving data from uart interrupt and that data I'm writing it to internal flash using spi_flash_write() API function. when spi_flash_write() function is called, I'm getting an error "Cache disabled but cached memory region accessed". Can anyone help me to solve this problem?.
Any help can be appreciated.
Thanks
you use timer and writing data to internal flash ( SPIFFS? )
you use in arduino ? IDF ?
perhabs this helps:
https://esp32.com/viewtopic.php?t=10928#p44759
viewtopic.php?t=7684
https://github.com/espressif/arduino-esp32/issues/1907
https://github.com/espressif/esp-idf/issues/1299
https://github.com/espressif/arduino-esp32/issues/2686
best wishes
rudi
-------------------------------------
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
love it, change it or leave it.
-------------------------------------
問候飛出去的朋友遍全球魯迪
-
- Posts: 51
- Joined: Sat Mar 17, 2018 4:49 am
Re: Guru Meditation Error: Core 0 panic'ed (Cache disabled but cached memory region accessed)
rudi ;-) wrote: ↑Mon Sep 30, 2019 6:39 pmhiningappa BS wrote: ↑Mon Sep 30, 2019 12:13 pmHi all,
I have a requirement like set/reset the gpio pin based on the condition, which is in timer interrupt of time 10ms and in parallel I'm receiving data from uart interrupt and that data I'm writing it to internal flash using spi_flash_write() API function. when spi_flash_write() function is called, I'm getting an error "Cache disabled but cached memory region accessed". Can anyone help me to solve this problem?.
Any help can be appreciated.
Thanks
you use timer and writing data to internal flash ( SPIFFS? )
you use in arduino ? IDF ?
perhabs this helps:
https://esp32.com/viewtopic.php?t=10928#p44759
viewtopic.php?t=7684
https://github.com/espressif/arduino-esp32/issues/1907
https://github.com/espressif/esp-idf/issues/1299
https://github.com/espressif/arduino-esp32/issues/2686
best wishes
rudi
Hi
thanks for the reply.
I'm using internal flash(spi_flash_write/read/erase API's).
I'm using ESP-IDF 5.2 version.
Who is online
Users browsing this forum: No registered users and 107 guests