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

[ESP32] ISR IRAM_ATTR Flash Issue #30

Open
BrushlessPower opened this issue Dec 7, 2020 · 2 comments
Open

[ESP32] ISR IRAM_ATTR Flash Issue #30

BrushlessPower opened this issue Dec 7, 2020 · 2 comments
Labels
bug Something isn't working inProgress already working on that
Milestone

Comments

@BrushlessPower
Copy link
Owner

There is a Bug for using ESP32 with this SBUS2 Library and write/read internal Flash

If ESP32 does a Flash read/write and a Interrupt occure (For Example receiving SBUS(2) or transmit Telemetry) the ESP32 crashes.
This is a known Bug, but i never thought about.

All SBUS(2) ISR (and it's called functions) have to run in IRAM

i will do some test and upload the fixed Bug.
Maybe it related to Issue #21 there where also mysterious Crash while using I2C

@BrushlessPower BrushlessPower added the bug Something isn't working label Dec 8, 2020
@ericlangel ericlangel added the wontfix This will not be worked on label Aug 5, 2021
@ericlangel
Copy link
Collaborator

i have to test every piece of the Library to make it run in IRAM

So i will do a complete new code.

  1. UART Interrupt -> Running in IRAM
  2. Timer Interrupt -> Running in IRAM

@ericlangel ericlangel added inProgress already working on that and removed wontfix This will not be worked on labels Mar 10, 2022
@ericlangel
Copy link
Collaborator

i did some work on this Topic

i could get the Interrupts running in IRAM
but #33 needs some changes which would not work with IRAM

So i'am not sure which issue has more priority
I have to do some more work on that Topic

@ericlangel ericlangel added this to the Release V1.3 milestone May 4, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working inProgress already working on that
Projects
None yet
Development

No branches or pull requests

2 participants