This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: eCos on LPC2106
- From: cetoni GmbH - Uwe Kindler <uwe dot kindler at cetoni dot de>
- To: thekyz at gmail dot dot dot com
- Cc: ecos-discuss at sourceware dot org
- Date: Tue, 19 Jun 2007 15:19:14 +0200
- Subject: [ECOS] 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