Content originally posted in LPCWare by midas on Mon Mar 12 06:09:29 MST 2012
The board is new, I got it a few months ago, but I have never managed to operate it.
I have tried different USB ports - I get the same bevaviour.
I have tried replacing USB cable with another one - same behaviour. I cannot say for sure they are shielded (without cutting one open), but they both seem rather thick, and relatively short.
I do get to the phase where I get the following message, though:
"LPCXpresso Debug Driver v4.0 (Feb 17 2012 17:57:38)
Looked for chip XML file in C:/nxp/LPCXpresso_4.2.0_264/lpcxpresso/bin/LPC1114/301.xml
Looked for vendor directory XML file in C:/nxp/LPCXpresso_4.2.0_264/lpcxpresso/bin/nxp_directory.xml
Found generic directory XML file in C:/nxp/LPCXpresso_4.2.0_264/lpcxpresso/bin/crt_directory.xml
Emu(0): Conn&Reset. DpID: BB11477. Info: T1S6RGRIA
SWD Frequency: 3000 KHz. RTCK: False. Vector catch: False.
Packet delay: 0 Poll delay: 0.
NXP: LPC1114/301 Part ID: 0x2540102B"
This seems to me to indicate that some communication is going over the JTAG link where the CPU ID gets to be read correctly, right? So can you confirm that even though the LPCXpresso board does not get loaded automatically and I need to manually run the "bootLPCXpresso HID", otherwise the rest should behave the same as normal?
So, now to the second, more severe problem of not being able to load any image to the board:
It seems to me as if there are a couple of possibly unrelated problems I encounter. As for the message of the missing file, I had a space in the name because I manually wrote that line. There is no space in the real message.
However, I noticed that that message appears at the initial stage of running the make file, probably after the file is deleted and before it is regenerated. For example, I tried debugging another example (the adc one) and I had the same error message as the file did not exist yet, but it did exist at the end of the compilations and link process. The same for the blinky example - after I do the suggested "Delete Launch Configuration" (which doesn't help) I get the same missing file message but the building process proceeds anyway until it fails later.
So it seems to me the missing file error message is benign and can be ignored.
However, there seem to be two additional problems causing the download to fail:
sometimes I get a message "Cannot start debug of xxx Debug until Startup of previous session has completed". I got this message even after I exited the LPCXpresso application, and I always disconnect-reconnect the USB cable and run the bootloader script before proceeding with anything.
When I don't get that last message, a process launched by LPCXpresso application, crt_emu_lpc11_13_nxp.exe!00410500(), will crash while trying to copy some string from one place to another. I assumed before that it was related to the presumably missing file, but now I suspect it has nothing to do with it?