Hello ! I searched the forum for a while and found only how to use the trace Uitility with IAR [html]https://sourceforge.net/forum/message.php?msg_id=3323682[/html] 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. Andi
What is the trace utility? If you mean debugger, the Amontec website has some information, e.g. www2.amontec.com/sdk4arm/ext/jlynch-tutorial-20061124.pdf . 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.
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 :) cheers
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.
Thank you for your reply :) 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. :) I put the information generated by vTaskList()out on the UART :)
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.