lpcware

Command Line programming

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by blasiis on Thu Nov 27 02:59:46 MST 2014
Dear all,
I need to program a LPC4076 by a comand line.
1) Connect
C:\nxp\LPCXpresso_5.2.6_2137\lpcxpresso\bin\Scripts\bootLPCXpresso.cmd  winusb

2) I have used this command:

C:\nxp\LPCXpresso_5.2.6_2137\lpcxpresso\bin\crt_emu_cm3_nxp -g -2 -vendor=NXP -pLPC4076 -s250 -flash-load-exec "\\xxxxx\xxxxxx\xxxxx\xxxxx.axf"  -wire=winusb

the output is:

C:\WINDOWS>C:\nxp\LPCXpresso_5.2.6_2137\lpcxpresso\bin\crt_emu_cm3_nxp -g -2 -ve
ndor=NXP -pLPC4076 -s250 -flash-load-exec "\\xxxxx\xxxxxx\xxxxx\xxxxx.axf"  -wire=winusb
Ni: LPCXpresso Debug Driver v5.2 (Jul  5 2013 11:31:15 - crt_emu_cm3_nxp build 1
5)
Pc: (  0) Reading remote configuration
Nc: Looked for chip XML file in C:/nxp/LPCXpresso_5.2.6_2137/lpcxpresso/bin/LPC4
076.xml

Nc: Looked for vendor directory XML file in C:/nxp/LPCXpresso_5.2.6_2137/lpcxpre
sso/bin/nxp_directory.xml

Nc: Found generic directory XML file in C:/nxp/LPCXpresso_5.2.6_2137/lpcxpresso/
bin/crt_directory.xml

Pc: (  5) Remote configuration complete
Xe:
Pc: ( 15) nSRST assert (if available)
Ed:02: Failed on connect: Ep(01). Target marked as not debuggable.
Et: Emu(0): Connected. Was: None. DpID:     EDB6. Info: WIN64HS12
Error 0: (null)
Last sticky: 0. AIndex: 0
No MemAp selected
No Speed test
SWD Frequency: 50 KHz. RTCK: False. Vector catch: False.
Packet delay: 0  Poll delay: 0.
Pc: (100) Target Connection Failed

where mistake ?
Can help me ?

Thanks

Stefano

Outcomes