 | Discussion Forum |  |
|
|
TRACE_DEBUG in µVision4Next Thread | Thread List | Previous Thread Start a Thread | Settings | Details | Message |
|---|
Read-Only Author Guillaume FREYD Posted 28-Apr-2010 10:40 GMT Toolset ARM |  TRACE_DEBUG in µVision4 Guillaume FREYD Hi, I'm new with ARM and µVision, and I try demos from Keil on SAM3U board. In demo, there is TRACE_DEBUG function ( like TRACE_DEBUG("suspend !\n\r")) and I don't see anything appears on Trace Records window. Maybe it's not the good window? How use TRACE_DEBUG output? Thanks | | Read-Only Author Thorsten de Buhr Posted 28-Apr-2010 10:57 GMT Toolset ARM |  RE: TRACE_DEBUG in µVision4 Thorsten de Buhr Some very early Versions of the SAM3 have a "damaged" SWO, so it is impossible to get any output through ITM, which is required for that. Please ask Atmel for the Chip version you have on your DevBoard. Otherwise it's "simple": Target Options -> Debug -> ULink / JLink (both select Cortex driver) -> Settings -> Trace Set the CPU Core Clock frequency (behind PLL!), let SWO Speed be autodetected, set ITM Ch.0 active and set the tick in the box for priviledge. In UV Debug Session, select View -> Serial Windows -> ITM printf Viewer. BR, /th. | |
Next Thread | Thread List | Previous Thread Start a Thread | Settings |
|