Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT




Loading

Exporting memory to a dump file using eclipse

Posted by juhc on June 9, 2015

Hello, 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? Thanks


Exporting memory to a dump file using eclipse

Posted by rtel on June 9, 2015

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).

Regards.


Exporting memory to a dump file using eclipse

Posted by juhc on June 9, 2015

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.


Exporting memory to a dump file using eclipse

Posted by xz8987f on June 9, 2015

How this looks like is shown here: http://mcuoneclipse.com/2012/05/04/dump-my-device-memory/ 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.

Regards, Erich


Exporting memory to a dump file using eclipse

Posted by juhc on June 10, 2015

The problem was because the debug session was not active. Thank you for helping


[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]




Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS