Using theTrace Utility with Eclipse

smith_chart wrote on Tuesday, August 05, 2008:

Hello !

I searched the forum for a while and found only how to use the trace Uitility with IAR
but i couldn’t manage to convert these steps to Eclipse.

Could some give me the steps for Eclipse ? i’m using an amontec jtag interface.
Thank you very much.

incrediball wrote on Tuesday, August 05, 2008:

What is the trace utility?

If you mean debugger, the Amontec website has some information, e.g. . There should be more information like this for tying it all together. Too often I find myself scouring the internet for information on gcc, linker scripts, or whatever.

smith_chart wrote on Wednesday, August 06, 2008:

the trace utility is a feature of FreeRTOS. it allows you to extract data about the sequence of the tasks. when does which task execute and how long…
can also be used for debugging :slight_smile:

incrediball wrote on Thursday, August 07, 2008:

I thought you were talking about one of the tools with Eclipse or something that came with the Amontec package. The trace hooks in FreeRTOS have nothing to do with Eclipse. They are just things that you can use in your program for gathering information about what is going on. What you do with this information is entirely up to you, e.g. look at it in the debugger, output messages on a serial port, etc.

smith_chart wrote on Friday, August 08, 2008:

Thank you for your reply :slight_smile:
At least i found out for myself.
The biggest problem was to read out of the memory. i thought there should be a way to read it out of the debugger of eclipse when the target is halted but i couldn’t find a way.
Now i connect via a Telnet Client (port 4444) to the OpenOCD server and use the dump_image command to dump the buffer written to by vTaskStartTrace() as a .bin file. :slight_smile:

I put the information generated by vTaskList()out on the UART :slight_smile: