Skip to content

Test between 2.0.0-RC1 and 1.0.6 - Possible Issue with Interrupt Functions #5497

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

Closed
ale-trevizoli opened this issue Aug 4, 2021 · 2 comments
Labels
Resolution: Expired More info wasn't provided

Comments

@ale-trevizoli
Copy link
Contributor

ale-trevizoli commented Aug 4, 2021

Hi.
Two important things happen when migrate same code compiled with 1.0.6 to 2.0.0-RC1.
One is Memory. Memory will be lower with 2.0.0-RC1.
Second very important: I'm using an Wiegand Library adapted from Arduino to ESP32 (Yet another Wiegand Library from Paulo-Raca). I had to rewrite some functions using IRAM_ATTR because have interrupts firing while reading or writing on flash.
But it's not the big problem.
The problem is that on 1.0.6 It can works with no problem, but on 2.0.0-RC1, I don't know if have some problem with trigger interrupts, but from 10 tries of read an RFID card on simple wiegand reader we have 9 with bit error reading and 1 that we receive complete number.
It's happens only if I'm reading and writing flash (FATFS) - maybe can happen with another intensive process but not checked - and version 2.0.0-RC1 is used. I have a process that send a lot of information to a TXT file write in FLASH using POST HTTP and interrupt can be triggered in this moment. But on 1.0.6 same behavior not happens.

I can't put code here, because it's very big and complex, but I review a lot of times to check for bugs, and can't found.
The most important is: it's happen only in 2.0.0-RC1.
I'd like to know what changed in this version, that can produce this issue. I'm guessing is something with Interrupts routines and Flash routines.

Thanks to all the developers who are responsible for the framework, for their dedication and for making the open source world even better so that other developers can create new products.
Sorry for my poor english. I'm Brazilian.

@ale-trevizoli ale-trevizoli changed the title Test between 2.0.0-RC1 and 1.0.6 - Issue it Interrupt Functions Test between 2.0.0-RC1 and 1.0.6 - Possible Issue with Interrupt Functions Aug 4, 2021
@Jason2866
Copy link
Collaborator

No offense. How should a issue be found without code that demonstrate the problem or
a exact description what changes are made that are problematic.

@SuGlider
Copy link
Collaborator

Please check #5474 regarding heap free memory.
We need more detailed information about the issue.

Please fill the issue template.

@VojtechBartoska VojtechBartoska added the Resolution: More info needed More info must be provided in this issue label Aug 18, 2021
@VojtechBartoska VojtechBartoska added Resolution: Expired More info wasn't provided and removed Resolution: More info needed More info must be provided in this issue labels Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Expired More info wasn't provided
Projects
None yet
Development

No branches or pull requests

4 participants