debugger trace function hang

Started by klwoon1980 May 19, 2006
hi,

i'm using freescale true time simulator & real time debugger version
6.1 build 6037 on a HCS12GC64.

i tried to use the trace function, but it hang when i hit run/ step
thru the code. can anyone teach me how to use trace function? i really
need this to trace where my code's execution bug.

thanks alot.

Try looking at AN2596
http://www.freescale.com/files/microcontrollers/doc/app_note/AN2596.pdf?srch=1

This application talks about using the trace capability on the HCS08,
in which the implementation is extremely similar to the HCS12 DBG.

It also shows you how to setup traces in CodeWarrior.

Goodluck,

Ed

--- In 6..., "klwoon1980" wrote:
>
> hi,
>
> i'm using freescale true time simulator & real time debugger version
> 6.1 build 6037 on a HCS12GC64.
>
> i tried to use the trace function, but it hang when i hit run/ step
> thru the code. can anyone teach me how to use trace function? i really
> need this to trace where my code's execution bug.
>
> thanks alot.
>