# Exporting memory to a dump file using eclipse

**URL:** <https://forums.freertos.org/t/exporting-memory-to-a-dump-file-using-eclipse/3085>\
**Category:** Kernel\
**Created:** [June 9, 2015, 8:52am UTC](https://forums.freertos.org/t/exporting-memory-to-a-dump-file-using-eclipse/3085 "2015-06-09T08:52:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [June 9, 2015, 8:52am UTC](https://forums.freertos.org/t/exporting-memory-to-a-dump-file-using-eclipse/3085/1 "2015-06-09T08:52:35Z")

</div>

**[juhc](https://sourceforge.net/u/juhc/)** wrote on [Tuesday, June 09, 2015](https://sourceforge.net/p/freertos/discussion/382005/thread/88d64548/#54f6):

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

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [June 9, 2015, 9:47am UTC](https://forums.freertos.org/t/exporting-memory-to-a-dump-file-using-eclipse/3085/2 "2015-06-09T09:47:42Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Tuesday, June 09, 2015](https://sourceforge.net/p/freertos/discussion/382005/thread/88d64548/#2626):

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.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [June 9, 2015, 11:33am UTC](https://forums.freertos.org/t/exporting-memory-to-a-dump-file-using-eclipse/3085/3 "2015-06-09T11:33:43Z")

</div>

**[juhc](https://sourceforge.net/u/juhc/)** wrote on [Tuesday, June 09, 2015](https://sourceforge.net/p/freertos/discussion/382005/thread/88d64548/#69d5):

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.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [June 10, 2015, 7:25am UTC](https://forums.freertos.org/t/exporting-memory-to-a-dump-file-using-eclipse/3085/5 "2015-06-10T07:25:33Z")

</div>

**[juhc](https://sourceforge.net/u/juhc/)** wrote on [Wednesday, June 10, 2015](https://sourceforge.net/p/freertos/discussion/382005/thread/88d64548/#638d):

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

---

<div class="post-metadata">

**Author:** ![McuOnEclipse](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/mcuoneclipse/32/32_2.png) [@McuOnEclipse](https://forums.freertos.org/u/McuOnEclipse)\
**Post date:** [June 9, 2015, 11:42am UTC](https://forums.freertos.org/t/exporting-memory-to-a-dump-file-using-eclipse/3085/6 "2015-06-09T11:42:44Z")

</div>

**[xz8987f](https://sourceforge.net/u/xz8987f/)** wrote on [Tuesday, June 09, 2015](https://sourceforge.net/p/freertos/discussion/382005/thread/88d64548/#f759):

How this looks like is shown here:

> **[Dump my Device Memory](https://mcuoneclipse.com/2012/05/04/dump-my-device-memory/)**
>
> Maybe this situation is familiar to you: My embedded software stopped in the field. I am in front of it, hooked up with my laptop and debugger. And I see: indeed, it has a problem. Maybe just a one…

  
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/](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
