Konferenzen und Rahmenprogramm
Debugging Live Cortex-M Based Embedded Systems
Debugging embedded systems has always been challenging. Now, however, MCUs based on the ARM Cortex-M architecture have a secret weapon: the CoreSight Debug and Trace port. CoreSight is a block of IP that resides alongside all Cortex-M CPUs and offers varied capabilities based on the actual Cortex-M core found on the MCU you are using. CoreSight has many features. including the ability to start/stop a target. It contains a breakpoint unit, includes a data watchpoint, allows printf()-like output, has an optional instruction trace capability, and enables developers to read and write memory locations (including I/Os, since those are memory mapped) without interfering with the CPU. In the past, this last feature has been underused by tool vendors, yet it offers unprecedented insight into a running embedded system. There are many applications where you simply cannot stop at a breakpoint and examine variables using the debugger: process control, engine control, communications protocols and more. Indeed, using printf() statements, which requires instrumenting your code, is not practical in these situations. Instead, having a tool allowing values of interest to be read directly from memory and displayed graphically has much greater value; you can show trends, oscillations and other abnormalities that would not be immediately apparent with just a numeric representation. This session will teach developers how to supplement the limited capabilities of debugging tools by allowing them to look at and change live data using graphical indicators and controls. The demonstration will show how to use currently available tools that leverage the capabilities of the CoreSight debug port to display values numerically or graphically, as well as to change target variables at run-time so you can change setpoints, operating modes, gains, offsets and more to demystify embedded systems.
--- Datum: 01.03.2018 Uhrzeit: 16:00 Uhr - 16:30 Uhr Ort: Conference Counter NCC Ost