Hello,
For a safety critical system, I would like to monitor all my threads to identify infinity loops. If an infinity loop is detected a system reset should be performed. I am going to use signals for this purpose. When a signal is missing for a specific time, an infinity loop will be detected and a system reset could be performed.
Is my approach also possible with threads created by Keil's USB and Ethernet middleware?
Thanks for replies
The System and Thread Viewer displays system state information and running threads for an RTOS application, see: www.keil.com/.../uv4_db_dbg_systhread_viewer.htm
Also, the Event Viewer displays thread, interrupt, and exception execution over time, see: www.keil.com/.../uv4_db_dbg_event_viewer.htm
FYI - there is also be a very nice feature implemented with our latest version of MDK-ARM V5.22, the Event Recorder, see: http://www.keil.com/support/man/docs/uv4/uv4_db_dbg_evr.htm
Also take a look at our Application Notes at: http://www.keil.com/appnotes/list/arm.htm
AppNotes 209 might be helpful, as it explains "Cortex-M3 and Cortex-M4 Fault Exceptions", see: http://www.keil.com/appnotes/docs/apnt_209.asp
@R. Kopsch,
It could be interesting to see, per thread, the value of its PC...
View all questions in Keil forum