How to diagnose and debug embedded software program crashes using TI’s ROV debugger
This video shows how to use TI’s ROV debugger to diagnose the cause of embedded software program crashes. The focus is on detecting problems associated with memory corruption and leaks. In addition to including several short demonstrations of ROV, the video also shows the run-time instrumentation techniques used as these can be applied to any embedded application. The video shows how to preemptively check for stack and buffer overflows using ROV and the TI-RTOS run-time. This enables developers to eliminate problems before they lead to actual program crashes. Next, the video shows how to detect memory leaks. It concludes by showing how ROV can display CPU exceptions and an associated stack traceback to diagnose the cause of the exception. CPU exceptions such as bus faults and illegal instructions are commonly caused when either memory locations or the program counter get corrupted.