How to program LPC1343

Status
Not open for further replies.

Ricardo_Electropepper

Member level 3
Joined
Mar 18, 2014
Messages
59
Helped
4
Reputation
8
Reaction score
4
Trophy points
8
www.electropepper.org
Activity points
407
Hello guys,
Im having a hard time just to get my firmware into the lpc1343, i bought a board from olimex.
It cames with an lpc1343, and the only programming interface to the chip is an JTAG/SWD connection, which ive been reading and seems that i cant programe it thru SWD but its not very clear anywhere, so my first question is, Can lpc1343 or any other ARM device be programmed thru SWD ?
The other way is thru the USB bootloader which i know it works, but i used microbuilder code to blink a simple LED and the generated firmware.bin simply doesnt work. I changed little or nothing on the original microbuilder code and im using arm-none-eabi-gcc, and everything compiles with no problems, where am i going wrong ?
Many thanks.
 

I have tried now to compile with success in all of the following formats : elf32-littlearm elf32-bigarm elf32-little elf32-big plugin srec symbolsrec verilog tekhex binary ihex .
But when i connect the lpc1343 to the PC and open the folder to place the firmware.bin file inside, and then restart it, it goes imediatlly into program USB mode again, meaning the file is not recognized or something, i have no JTAG access to the chip besides SWD which is only for debug. Can anyone give an helping hand ?
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…