Blinking LED example LPC2103 from Olimex

Hi,

I am using LPC2103 prototype board from Olimex and I have few problem running the blinking led example mentioned on Olimex website http://www.ixbat.de/index.php?page_id=95

I am using openocd and arm toolchain setup from http://www.yagarto.de and parallel port jtag from olimex. I am able to successfully communicate with the openocd using telnet and also able to load th binary on the flash as mentioned on the website. But after I give the resume command there is no blinking LED. The example given on the website was for linux so I compiled it again on the windows.

I also tried to load the hex file using ISP flash utility. It was successfully able to load the binary file to flash but as before the there was no blinking led. Since the flash utility is able to read the part number correctly I am assuming there is no problem with the board.

Any help in this regard will be appreciated.

Mohit

You should be able to use the mww command to first configure P0.26 as an output (set IODIR register to be 1<<26), then write 1<<26 to IOSET and IOCLR to toggle the LED off and then on.

If that doesn’t work your problem is nothing to do with s/w build etc., but is just hardware not working or perhaps hardware isn’t the hardware it should be! Some of the boards have jumpers to configure whether or not the LEDs are connected to the IO pins - maybe your jumper has been removed?

Robin