I know this isn't strictly related to OpenOCD, but maybe someone has
an idea anyway..


Peter Stuge wrote:
> I'm interested in LPC1343, and looking closer at it now, it can be
> in-system-programmed via USB or UART, besides via SWD.

I have the lpcXpresso board and I'm trying to get it to run the Blinky
example from 32bitmicro off google code. I've used
lpc1343codebase/tools/lpcrc to fix up the interrupt vector checksum.

The board starts fine in USB ISP mode. I can mount it and there's a
firmware.bin which I backed up, it's some sample application by
Embedded Artists who designed the board.

The USB ISP procedure is to delete that file and then copy another
file into the directory, the name is not important. That file will
then be flashed over the previous firmware, and booted on next reset.

However - there's a problem somewhere..

The NXP LPC1343 User Manual specs in bold that this procedure only
works on Windows, but although I don't see why that should be the
case, it seems that my problem is because of something that Linux
does a little differently..

I rm, cp, umount and reset the target, but it doesn't blink. Going
back into USB ISP mode I can read out the firmware that got flashed,
and it reads back the same as I programmed, except that it now has
1024 bytes of 0 prepended to it.

Any ideas? I'll ask usb-storage people too.

If you have a working LPC1343 setup then feel free to test my
Blinky binary on your board; http://stuge.se/blinky_demo.elf.bin
It's supposed to blink P0.7 active high at 1Hz.


//Peter
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to