This is the mail archive of the ecos-discuss@sourceware.org mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: eCos on LPC2106


Hello,

I also use Olimex USB-JTAG and OpenOCD for debugging eCos applications on LPC boards.

You first need to connect to the OpenOCD server via telnet and write the program into flash (flash write 0 redboot.bin 0 or something similar). Or you can write a make file that will do that job for you.

Then you can connect to OpenOCD server via GDB to debug your application. IMPORTANT: If you debug flash applications you need to enable hardware breakpoints. The best is to do this in an OpenOCD script.

Regards, Uwe

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]