Guru Meditation Error: Core 0 panic'ed (Cache disabled but cached memory region accessed)

ningappa BS
Posts: 51
Joined: Sat Mar 17, 2018 4:49 am

Guru Meditation Error: Core 0 panic'ed (Cache disabled but cached memory region accessed)

Postby ningappa BS » Mon Sep 30, 2019 12:13 pm

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

User avatar
rudi ;-)
Posts: 1698
Joined: Fri Nov 13, 2015 3:25 pm

Re: Guru Meditation Error: Core 0 panic'ed (Cache disabled but cached memory region accessed)

Postby rudi ;-) » Mon Sep 30, 2019 6:39 pm

ningappa BS wrote:
Mon Sep 30, 2019 12:13 pm
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
hi

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.
-------------------------------------
問候飛出去的朋友遍全球魯迪

ningappa BS
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)

Postby ningappa BS » Tue Oct 01, 2019 5:28 am

rudi ;-) wrote:
Mon Sep 30, 2019 6:39 pm
ningappa BS wrote:
Mon Sep 30, 2019 12:13 pm
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
hi

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: Google [Bot] and 102 guests