-
Notifications
You must be signed in to change notification settings - Fork 3k
Defining MBED_SLEEP_TRACING_ENABLED caused error #9216
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
Internal Jira reference: https://jira.arm.com/browse/MBOCUSTRIA-372 |
The error means "Operation Prohibited in ISR context" . Can you find the code that is triggering this? cc @ARMmbed/mbed-os-ipcore |
Seems like It seems it should instead use |
Will move this ticket to the core team. |
Yes all the Issue was seen only with Fix in #9260 |
Description
I am optimizing power consumption for my device and following this api reference https://os.mbed.com/docs/v5.11/apis/power-management.html. I define the macro MBED_SLEEP_TRACING_ENABLED to get tracing info about locks preventing sleep mode, however doing so will broke the program entirely.
On NUCLEO-F767ZI and DISCO-F746NG, both stuck at Ethernet initialization. mbed-os is at release 5.11.0 (6a0a865). Compiler: online compiler and gcc arm 6 2017-q2-update. It got stuck at this message, either reset or just stuck here
Here is a simple program that should be able to reproduce this issue https://os.mbed.com/users/sh114203/code/Ethernet-try-power-tracing/.
I also tried this with UBLOX_C030_N211. At cellular modem initialization the program just halt and give this error. So the problem might not comes from the Ethernet.
All these problems gone if MBED_SLEEP_TRACING_ENABLED is not defined.
Issue request type
The text was updated successfully, but these errors were encountered: