[En-Nut-Discussion] Openocd and eclipse

Wiegelmann, Jörg Joerg.Wiegelmann at ces-tronics.de
Tue Apr 1 16:42:03 CEST 2008


Thank you Michael for the tip with http://www.ethernut.de/en/hardware/enut3/openocd.html <http://www.ethernut.de/en/hardware/enut3/openocd.html> 

I manage to install the debugger. At first I would like to run the software in RAM.

With the configuration file for openocd (openocd-ftd2xx.exe -f enut3ram.cfg from the yagarto example) the debugger seems to work, but I can't load the software. 

The eclipse command sequence is:

target remote localhost:3333

monitor reset

monitor sleep 500

monitor poll

monitor soft_reset_halt

monitor arm7_9 sw_bkpts enable

monitor mww 0xFFE00000 0x1000213D

monitor mww 0xFFE00004 0x20003E3D

monitor mww 0xFFE00020 0x00000001

monitor mdw 0xFFE00000 1

monitor mdw 0xFFE00004 1

 

When I start the debugging in eclipse I got a lot of:

putpkt: write failed: No error.

 

After running the software it ends in the __xcpt_dummy().

I think only a small thing is missing now.

 

So long and thank you for all the help

 

Joerg

 

 

 

 

 

 

 

 

 

 




More information about the En-Nut-Discussion mailing list