Newbie LPC2103

I’ve purchased an LPC2103 prototyping board (http://www.olimex.com/dev/lpc-p2103.html). I’ve purchased the ARM-USB-TINY JTAG unit, but it won’t arrive until next week.

I’ve set up the arm-elf- environment in FC6, and I’ve successfully compiled hello.c. I was able to simulate using arm-elf-gdb:

target sim

load

break main

run

I’ve verified /dev/ttyS0 is working by using minicom on two Linux boxes.

I’ve plugged the tty cable and power into the board, and the status LED blinked (I assume this is the preinstalled ‘blink’ program). When I tried arm-elf gdb:

set remotebaud 9600 (I also tried 57600)

target remote /dev/ttyS0

it reports a timeout on qSupported. I assume it’s not connected with the ISP.

I changed JRST to closed and BSL to closed. Upon powerup the green LED remains on. However, I still get no response in gdb.

Can someone tell me the purpose of JRST? BSL? The proper baud rate? The DBG_E jumper was closed throughout.

What do I need to do to get gdb talking with the board?

As far as flashing memory, should I wait for my JTAG unit, or is there a way to do it with the serial port?

Also, where can I find openOCD for Linux? Are the sources available?

Thanks for your help,

Mike

Here

http://openfacts.berlios.de/index-en.ph … p_Debugger

gdb needs openocd which needs a jtag adapter.