I'm having a real hardtime programming my LPC1343 with the method mentioned in this question (Can an LPC1343 accept its initial program over USB?).
I am using a Linux machine and arm-none-eabi-gcc. I sucessfully compiled my code to blink a led, and then I get my .elf file and use arm-none-eabi-objcopy to convert it to the final format. Then I get that file in a USB stick and into a windows machine, and there I copy it to my LPC1343 thru the USB interface.
My problem is that after I turn off the chip and go into run mode it automatically goes again back into USB bootloader mode, meaning it didn't recognise the file. I have tried the following formats:
- elf32-littlearm
- elf32-bigarm
- elf32-little
- elf32-big
- plugin
- srec
- symbolsrec
- verilog
- tekhex
- binary
- ihex.
Has anyone successfuly preogramed this chip thru USB? If so, what file format was used?