debuging flash with openocd eclipse problem

hi all,

I use the ocdusbjtag interface for debuging my program. I have installed the setup installation that came with the jtga interface. So now i can compile, download etc. But when i try to debug in eclipse, i followed the instruction from the m.Lynch and i have setup the openocd config file, create the debug script in eclipse and all work fine. The problem is when the program stop (eg main()), the board stop, but i have an error message that tell me to specify the path for main.c. even if i specify the path of main.c, eclipse doesn’t find it.

for the debug info i put dwarf-2. No optimization.

does anyone already have this problem ?

i can send more info if you need it.

dumarjo

i have use the yagarto toolchain and ide and now all is working

dumarjo

Can you post the files and scripts you need to download and debug program in Eclipse.

I found it. The problem is with the olimex setup file.

I use the setup the tool chain from yagarto , eclipse and openocd. And now everything is working.

dumarjo