-
Notifications
You must be signed in to change notification settings - Fork 3k
Serial ISR "Mutex lock failed" #10906
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
Comments
Hi @rmr1012 , you can find similar issues in issue tracker here on github if you search for "serial mutex". There were silent failures previously, we fixed that in previous minor release (I don't recall if it was 5.11 or 5.12). See good response from @kjbracey-arm here #8518 (comment). That should answer your bug report. Btw, thanks for detailed issue report! |
Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-1344 |
Hi 0xc0170, Thanks, that's super helpful! I ended up using RawSerial for what I need. Hope you guys can help update the examples on the website to avoid confusing other folks. Also, some extended examples for the FileHandle implementation of serial r/w would be helpful as well. |
@AnotherButler Who could help with this one? |
Description
There seems to be an issue with the serial RX ISR handling portion of the mbed-os. Everytime the ISR for a serial RX is called, Mbed-os would panic and throw "Mutex get lock failed". This was not a problem with earlier versions of mbed, although I can't remember what that earlier version was. This bug was tested and replicated on two platforms, K66 and F303
K66F, NUCLEO_F303ZE
- What toolchain (name + version) are you using?
GCC_ARM
- What tools (name + version - is it mbed-cli, online compiler or IDE) are you using?
$ mbed --version
1.10.0
8a7f591 (HEAD, origin/master, origin/HEAD) Merge pull request #10826 from ABOSTM/IAR_EXPORT_STM32H743ZI
- Steps to reproduce. (Did you publish code or a test case that exhibits the problem?)
Minimum code to reproduce
when any serial bytes are sent, the below error occurs
Attempted to use the event queue ISR implementation as well
A diffrent error is raised
Issue request type
The text was updated successfully, but these errors were encountered: