Discussion group dedicated to the Philips LPC2000 family of ARM MCUs
LPC2468 debugging with Macraigor usb2Demon - stevelenz2008 - Jul 22 18:11:37 2008
I'm trying to get a system up and running using the Embedded Artists
LPC2468 development board with a Macraigor usb2Demon using the GNU
toolchain and Eclipse.
Macraigor does not have any sample code for the board. I have gotten
it to work on an Atmel AT91M55800 board and tried modifying that
GBDINIT file to use on the LPC2468.
The initial problem is starting up the Macraigor OCDRemote which
provides the IP port (8888) for GDB to connect to. It rarely connects
and usually returns a "OCDemon InitializeTarget Error : Not in
Background", "OCDemon InitializeTarget Error : Target Bus Error"
or "OCDemon InitializeTarget Error : Cable Disconnected" error message.
Any help would be greatly appreciated!
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )
Re: LPC2468 debugging with Macraigor usb2Demon - Bryce Schober - Jul 23 11:03:51 2008
On Tue, Jul 22, 2008 at 12:56 PM, stevelenz2008
wrote:
> I'm trying to get a system up and running using the Embedded Artists
> LPC2468 development board with a Macraigor usb2Demon using the GNU
> toolchain and Eclipse.
>
> Macraigor does not have any sample code for the board. I have gotten
> it to work on an Atmel AT91M55800 board and tried modifying that
> GBDINIT file to use on the LPC2468.
>
> The initial problem is starting up the Macraigor OCDRemote which
> provides the IP port (8888) for GDB to connect to. It rarely connects
> and usually returns a "OCDemon InitializeTarget Error : Not in
> Background", "OCDemon InitializeTarget Error : Target Bus Error"
> or "OCDemon InitializeTarget Error : Cable Disconnected" error message.
>
> Any help would be greatly appreciated!
Have you tried slower speeds? My targets usually require me to use --speed 4
or higher (Higher speeds mean slower).
--
Bryce Schober
[Non-text portions of this message have been removed]
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )Re: LPC2468 debugging with Macraigor usb2Demon - stevelenz2008 - Jul 23 17:49:27 2008
Yes, I finally got it to work with -S 4.
I have downloaded code into the on-chip ram and have successfully run
GDB within Eclipse to source level debug.
Next I need to find a way to load the .elf file into the on-chip
flash and then expand to loading the .elf file into off-chip flash.
Probably a subject for another thread.
Thanks!
------------------------------------

(You need to be a member of lpc2000 -- send a blank email to lpc2000-subscribe@yahoogroups.com )