Skip to content
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

I2C default ISR resets with Cache disabled but cached memory region accessed (IDFGH-8835) #10263

Closed
3 tasks done
hornbartho opened this issue Nov 28, 2022 · 1 comment
Closed
3 tasks done
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally

Comments

@hornbartho
Copy link

Answers checklist.

  • I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
  • I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
  • I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report

Hi Folks,

I am pretty new to ESP, so sorry if this is a stupid question.

I am trying to implement the I2C interrupt from IRAM, but I am getting the following error when I activate the ESP_INTR_FLAG_IRAM flag: Guru Meditation Error: Core 0 panic'ed (Cache disabled but cached memory region accessed).

From what I understand is that this is caused by not all of the required code being saved to IRAM/DRAM and then the system tries to access it in cache, but the flash is being used for another function.

I am running Espressif with IDF version v4.4.3 and please see my config file attached. Please can someone give me an idea of how I can get the I2C to run on IRAM? Since from other posts, it seems like this issue has been solved: [https://github.com//issues/8422]

sdkconfig.txt

@espressif-bot espressif-bot added the Status: Opened Issue is new label Nov 28, 2022
@github-actions github-actions bot changed the title I2C default ISR resets with Cache disabled but cached memory region accessed I2C default ISR resets with Cache disabled but cached memory region accessed (IDFGH-8835) Nov 28, 2022
@AxelLin
Copy link
Contributor

AxelLin commented Nov 28, 2022

#10079 (comment)

@espressif-bot espressif-bot added Resolution: Done Issue is done internally Status: Done Issue is done internally and removed Status: Opened Issue is new labels Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Done Issue is done internally Status: Done Issue is done internally
Projects
None yet
Development

No branches or pull requests

3 participants