lpcware

Cannot program flash on LPCXpresso 1769

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by rattus on Wed May 18 16:43:43 MST 2011
Once the VM problems were cleared, I've been playing with various coding experiments. Maybe a dozen. At one point, the LED on the LPC1769 side seemed to stick on half intensity (as if it's toggling at a high rate), and from that point on, I get errors like the following when I debug:

15: Target error from Commit Flash write: Et: Flash driver not ready.

Weird. So I reset the USB (dfu, reset the port in the VM) and try the command line:

highline-linux:/usr/local/LPCXpresso/bin> crt_emu_cm3_nxp -flash-erase -pLPC1769
Ni: LPCXpresso Debug Driver v2.0 (Apr  1 2011 10:54:24)
GetModuleFileName path == /usr/local/LPCXpresso/bin/crt_emu_cm3_nxp
Nc: Looked for chip XML file in /usr/local/LPCXpresso/bin/LPC1769.xml

Nc: Looked for vendor directory XML file in /usr/local/LPCXpresso/bin/nxp_directory.xml

Nc: Found generic directory XML file in /usr/local/LPCXpresso/bin/crt_directory.xml

Ed:02: Failed on connect: Ee(05). No matching emulator found - make sure power is on and not in use already.
Et:31: No connection to emulator device

Nothing. It seems to be in a programmed state from which I can't flash my way out.

I have tried other USB ports, etc.

Ideas?

Thanks,

Mike

Outcomes