I’m new at FreeRTOS and I’m working with Eclipse Luna for C/C++ on PC with windows 8. I’ve imported the FreeRTOS Demo Project as described and everything worked fine.
Now I want to see the trace recording of the demo. I’ve installed FreeRTOS+Trace but I don’t know how to export the memory to a dump file so I can open it with FreeRTOS+Trace. The memory view in eclipse doesn’t show any data.
Any idea how to do this?
The top right of the memory window has a row of icon/buttons. One of those icons is “1010” with an arrow pointing up at to the right - hover over it and it says “Export” - press it and you can define a region of RAM and a file name you would like to save the RAM too. You should be able to use the name of the trace recorder buffer variable as the start address, and just make the size much bigger than it needs to be (as the +Trace tool will know where the start and end are).
Thank you for your answer.
I tried to do that but I can’t press the icon because it is deactivated and I don’t know how to activate it.
The problem was because the debug session was not active.
Thank you for helping
How this looks like is shown here:
If that button is disabled: are you in an active debug session?
Another way is to use the gdb dump command, see http://mcuoneclipse.com/2015/01/05/updated-percepio-tracealyzer-and-trace-library-to-version-v2-7-0/
Or: if you are using a Segger J-Link, then the Percepio Tracealizer can directly read from the target using the J-Link.