Programming prototype SWD via LPCLINK

04 Jun 2010

Hello,

I've put a serial wire connector on a prototype board I've made, and thinking I should be able to program it with a LPCXPRESSO LPCLink I have lying around. What should the base address be for the LPC1768?

crt_emu_cm3_nxp -wire=winusb -pLPC1768 -flash-load=mbedoutput.bin -load-base=0x???? <-- What base address should I be using here

Info on LPCLINK command line programming
http://lpcxpresso.code-red-tech.com/LPCXpresso/node/51

Many Thanks

Jason

04 Jun 2010

Are you trying to program the mbed module? If yes, note that SWD is basically a two-wire version of JTAG, and you need to use SWD/JTAG pins for it. It has nothing to do with the serial port (UART) or NXP's ISP programming mode.

If it's a custom board, the question might be better addressed by the LPCXpresso forum. However, I can tell you that mbed compiler links the binary to be run from 0.

04 Jun 2010

Im trying to program a custom LPC1768 board I made recently. I could pull pin 53 low into ISP, but I put the 10pin SWD/JTAG connector onboard aswell.