On Tue, Jul 27, 2010 at 2:14 AM, Peter Stuge <[email protected]> wrote: > I know this isn't strictly related to OpenOCD, but maybe someone has > an idea anyway.. > > 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. >
I saw you posted to the linux-usb and linux-usb-storage mailing list. That two should be the right place to ask. Just a thought, maybe this device is not really adhering to the USB standard. Maybe you want to run USBCV (under Windows) from usb.org to see if there are some defects. Then probably you can figure out the quirks needed under Linux to work properly with the USB ISP mode. -- Xiaofan http://sourceforge.net/projects/libusb-win32/ _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
