JTAG Programming from command line

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by nsacks on Fri Mar 22 19:58:49 MST 2013
Hello all,

Because the Example Virtual Serial Device project from NXPUSBLib contains a space in it's directory structure (specifically Example_VirtualSerialDevice/LPC43xx M4/...) I can not successfully download code through the GUI programming tool in LPCXpresso.

So, I have attempted to compile a binary file, and download to my LPCXplorer4330's M4 core. This results in the error included at the end of this post.

Do you have any suggestions as to how I can get some code downloading? I'm running Ubuntu 12.10 x32, and the LPC-Link JTAG programmer.

I have quadruple checked file permissions, and have tried multiple combinations of AXF files or BIN files.

Thank You!

[FONT=Courier New]$ crt_emu_lpc18_43_nxp -wire=winusb -pLPC4330 -vendor=NXP -flash-load-exec=~/Desktop/Example_VirtualSerialDevice.bin -load-base-address=0x14000000
Ni: LPCXpresso Debug Driver v4.0 (Sep 19 2012 09:15:29)
Nc: Looked for chip XML file in /usr/local/lpcxpresso_4.3.0_1025/lpcxpresso/bin/LPC4330.xml

Nc: Looked for vendor directory XML file in /usr/local/lpcxpresso_4.3.0_1025/lpcxpresso/bin/nxp_directory.xml

Nc: Found generic directory XML file in /usr/local/lpcxpresso_4.3.0_1025/lpcxpresso/bin/crt_directory.xml

Nc: Emu(0): Conn&Reset. DpID: 2BA01477. Info: LPCLINK_1_1
Nc: SWD Frequency: 3000 KHz. RTCK: False. Vector catch: False.
Nc: Packet delay: 0  Poll delay: 0.
Nc: NXP: LPC4330  Part ID: 0x00000000
Cr:v Registered license, download limit of 128K
Et:58: Cannot open binary file 'Example_VirtualSerialDevice.bin'