Content originally posted in LPCWare by pindonga123 on Thu Oct 31 12:19:39 MST 2013
Hello Im working with 1769 and i can't debug. This legend appear 15:target error from commit flash write: et: flash driver not ready
I do this Once you have managed to recover debug access to the MCU, the first thing that you should do is overwrite the image in flash with one that sets the system up in a safe manner, so that future debug connections will be successful without the need to recover debug access again. You would normally use the in-built flash programmer to erase the flash. but i couldn't understand the steps. Because i do this but dont work. Sorry but my english is very bad. When i wanna do a mass erase appear the next legend
Pc: ( 0) Reading remote configuration
Ni: LPCXpresso Debug Driver v4.0 (May 21 2012 21:42:41)
Nc: Looked for chip XML file in C:/nxp/LPCXpresso_4.2.3_292/lpcxpresso/bin/LPC1769.xml
Nc: Looked for vendor directory XML file in C:/nxp/LPCXpresso_4.2.3_292/lpcxpresso/bin/nxp_directory.xml
Nc: Found generic directory XML file in C:/nxp/LPCXpresso_4.2.3_292/lpcxpresso/bin/crt_directory.xml
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: T1S6RGRIA
Nc: SWD Frequency: 250 KHz. RTCK: False. Vector catch: False.
Nc: Packet delay: 0 Poll delay: 0.
Nc: NXP: LPC1769 Part ID: 0x26113F37
Pc: ( 65) Chip Setup Complete
Nt: Connected: was_reset=true. was_stopped=false
Cr:v Registered license, download limit of 128K
Pc: ( 70) License Check Complete
Nt: Mass Erase
Ed:04: Failed to erase flash: Ef(9). Flash erase or write operation aborted.
Pc: (100) Target Connection Failed
What could be?