vWriteTraceToBuffer() bugs CodeWarrior

Hello all, My goal is to use tracecon application to view the kernel activity.  but the call to vWriteTraceToBuffer is causing exceptions into my program.  Anyone has used this utility on ColdFire with CodeWarrior? I might have to change a bit the code of this macro function, but I prefer not to.  Any hints would be appreciated… OneFranck

vWriteTraceToBuffer() bugs CodeWarrior

Well let me refine my post.  I was’nt correctly calling vTaskStartTrace(), providing it some wrong parameters. I will allocate some memory to my pcBuffer before calling to   vTaskStartTrace()

vWriteTraceToBuffer() bugs CodeWarrior

hehe, took me a while figuring out that my board has no disk and cannot save file, this is really funny.  Since I cant save the trace file I’m looking at the trace Macros… here is my question:  How can I use the trace macros to pause and resume a timer in order to count the Idle TIme?? Is it possible? thx

vWriteTraceToBuffer() bugs CodeWarrior

Some IDEs allow you to copy a RAM buffer to a file on the host. Search for trace macros and traceTASK_SWITCHED_IN in the forum I think you will find some solutions.

vWriteTraceToBuffer() bugs CodeWarrior

Thanks Medwards, I have implemented the two macros (SWITCHED_IN and OUT) and got something working with my timers library.