LPCXpresso_7.3 does not work from the command line

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPCXpresso_7.3 does not work from the command line

185 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by gusika on Sun Sep 21 17:38:48 MST 2014
Hello,

Freshly downloaded, installed and registered the lpcxpresso.
That's because the previous version could not be programmed correctly of the LPC1778  device. (4.1.0_190)
The previous version programmed correctly of the LPC1225!
After booting the first command line I typed:

"C:\nxp\LPCXpresso_7.3.0_186\lpcxpresso\bin\crt_emu_cm3_nxp -wire=hid -e0 -g -s100 -pLPC1778 -flash-mass"

LPCXpresso response:
-------------------------------------------------------------------------------------------------------------
Ni: LPCXpresso Debug Driver v7.3 (Jul  2 2014 14:55:57 - crt_emu_cm3_nxp build 10)
Pc: (  0) Reading remote configuration
Pc: (  5) Remote configuration complete
Pc: ( 30) Emulator Connected
Pc: ( 40) Debug Halt
Pc: ( 50) CPU ID
Nc: Emu(0): Conn&Reset. DpID: 2BA01477. Info: HID64HS12
Nc: SWD Frequency: 100 KHz. RTCK: False. Vector catch: False.
Nc: Packet delay: 0  Poll delay: 0.
Nc: Loaded LPC177x_8x_407x_8x_512.cfx: LPC177x_8x_407x_8x (512K) Jul  1 2014 11:
51:12  On-chip Flash Memory

Nc: NXP: LPC1778  Part ID: 0x00000000
Pc: ( 65) Chip Setup Complete
Cr:v LPCXpresso Free License - Download limit is 256K
Pc: ( 70) License Check Complete
Nt: Mass Erase
Ec: Flash driver "EraseChip" return code: 0x1
Ed:04: Failed to erase flash: Ef(38). Flash operation has returned an error (see log).
Pc: (100) Target Connection Failed
-------------------------------------------------------------------------------------------------------------

???

0 Kudos
1 Reply

170 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by lpcxpresso-support on Mon Sep 22 02:55:01 MST 2014
I would suggest that in the first place, you remove "-s100" and try again. And then go and look at:

http://www.lpcware.com/content/faq/lpcxpresso/command-line-flash-programming

If you need further assistance please confirm:

1) Details of target board
2) Details of which debug probe you  are using
3) Whether you can successfully launch a debug session to your board from LPCXpresso
4) Whether the GUI flash programmer dialog successfully flashes your board.

http://www.lpcware.com/content/faq/lpcxpresso/gui-flash-programming-tool

If the GUI flash programmer does work, then you can use the command it uses for flashing as the basic of what you use on the command line.

Regards,
LPCXpresso Support
0 Kudos