Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
6 years, 11 months ago.
How to access the runtime error log of a device?
My device stops running short after booting, in the middle of printing a string through the serial port. No information is printed about the runtime error. How can the runtime error log be accessed?
1 Answer
6 years, 11 months ago.
Hello,
Here is a fairly comprehensive guide to debugging your embedded device. https://os.mbed.com/docs/v5.8/tutorials/debugging.html
Probably the best way to find the root cause to the crash is to hook up a debugger (also in that link) and trace the crash dump.
- https://os.mbed.com/docs/v5.8/tutorials/analyzing-mbed-os-crash-dump.html
- https://os.mbed.com/docs/v5.8/tutorials/eclipse.html
- https://os.mbed.com/docs/v5.8/tutorials/visual-studio-code.html
- https://os.mbed.com/docs/v5.8/tutorials/keil-uvision.html