Link between code and bin not working

Hi,

I downloaded FreeRTOS and started the lm3s project and followed the FreeRTOS howto for setting up the system.

I am now able to program the device, so openOCD is setup correctly (i think).

When i try to debug, it does not show code and in eclipse it ssays it could not set breakpoint.

The strange thing is i am able to pause the program and run it, but i can not see in C code where the program is at (disassembly works too in eclipse).

What can cause this???

In your load script for GDB, did you set the symbol file?

In Eclipse when you set up your Debug configuration, this would be in your either be in your GDB command file if you have one, or else what I do is I have the following line as part of my run commands, in addition to the load, monitor, continue, etc…:

#set symbol file

#symbol-file “C:/workspace/blinktest1/gcc/blinky.axf”

symbol-file “C:/working/FreeRTOS_V4.5.0_LM3Sxxxx_GCC_Eclipse/FreeRTOS/Demo/CORTEX_LM3Sxxxx_Eclipse/RTOSDemo/RTOSDemo.axf”

O ok, i will test this as soon as i can, i am now using eclipse helios en have just seen you could set the image and symbols. Have a good feeling about this.

HI, enabled the check-boxes for symbol etc. and i could see where the C code was at, but the device always was in Faul isr, so i downloaded Galileo version of eclipse and it worked out of the box.

My older version works ok and i am not planning on upgrading, but the problem seems to be larger than only on my device, and someone already made a patch.

https://lists.berlios.de/pipermail/open … 17349.html

I did not test it.