Content originally posted in LPCWare by MikeSimmonds on Sat Jan 26 06:15:20 MST 2013
[FONT=Tahoma][SIZE=1]I installed IDE 5.14.
[NB: It installed new USB drivers -- is this going to be a problem if I have to revert to 4.3]
With totally new empty work space, I made a new makefile project. It built without error.
So I tried to debug ...
The first error out of the bag is an error popup:
03: Failed on chip setup
03: Failed on chip setup
'-c' option not supported for NXP LPC177x/LPC178x.
This what caused me to bin 5 (5.0) last time I tried it.
However, either there is a new supplimentary popup with 5.14, or I paid more attention this time.
The details of the 2nd popup are
Error in final launch sequence
Failed to execute MI command:
-target-select extended-remote | crt_emu_cm3_nxp -msg-port=3807 -g -mi -2 -c12000,120000 -pLPC1778 -vendor=NXP -wire=winUSBswd -flash-driver=LPC177x_8x_407x_8x_512.cfx
Error message from debugger back end:
Remote communication error. Target disconnected.: No error.
Remote communication error. Target disconnected.: No error
(sic)
The console:
LPCXpresso Debug Driver v5.0 (Dec 18 2012 17:03:30 build 1101)
Looked for chip XML file in C:/Dev/NXP-5014/bin/LPC1778.xml
Looked for vendor directory XML file in C:/Dev/NXP-5014/bin/nxp_directory.xml
Found generic directory XML file in C:/Dev/NXP-5014/bin/crt_directory.xml
Emu(0): Conn&Reset. DpID: 2BA01477. Info: WIN64HS12
SWD Frequency: 3000 KHz. RTCK: False. Vector catch: False.
Packet delay: 0 Poll delay: 0.
NXP: LPC1778 Part ID: 0x27193F47
03: Failed on chip setup: Ee(22). '-c' option not supported for NXP LPC177x/LPC178x.
I deduce that the "Crystal (XTAL) frequency ..." item (in the Debug Launch properties) is causing this. Indeed, if I set this field to blank,
the debugger actually starts.
But there is (as seems usual) no documentation concerning this -- If I missed it, I apologise.
So: there is a workround, but dosn't the debugger need this speed info? IDE 4 seemed to imply that it did.
If the config item is not appropriate, as seems to be the case for LPC1778, it SHOULD BE GREYED OUT, or at least ignored.
All should have been well with the workround, but no ... The debugger crashed (quite politely) on the very first 'step'.
The details will be my next post.
[/SIZE][/FONT]