Hi
Can someone help me with this error while flashing MCU ? Last feature I added is MCU watchdog. Might reason for the error be WDG resetting the MCU while IDE/debug server is trying to prepare MCU for flashing ?
Thanks !
The console output:
MCUXpresso RedlinkMulti Driver v10.0 (Mar 21 2017 01:34:42 - crt_emu_cm_redlink build 190)
Found chip XML file in
Reconnected to existing redlink server (PID 4294967295)
Connecting to probe 1 core 0 (server PID unknown) gave 'OK'
Probe Firmware: NXP CMSIS-DAP (NXP)
Serial Number:
VID:PID: 1FC9:001D
USB Path: \\?\hid#vid_1fc9&pid_001d#7&22ec13ff&0&0000#{4d1e55b2-f16f-11cf-88cb-001111000030}
Probe(0): Connected&Reset. DpID: 0BB11477. CpuID: 410CC200. Info: <None>
Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.
Inspected v.2 On-chip Flash Memory LPC11_12_13_32K_8K.cfx
Image 'LPC11_12_13 (32K Flash, min 8K RAM) Mar 7 2017 13:13:40'
NXP: LPC11C24_301
Connected: was_reset=true. was_stopped=false
MCUXpresso Free License - Downloads unlimited
GDB nonstop mode enabled
Opening flash driver LPC11_12_13_32K_8K.cfx
core registers failed - rc Ep(08). Cannot access core regs when target running.
Target error from Write Flash: Ep(08). Cannot access core regs when target running.
GDB stub (crt_emu_cm_redlink) terminating - GDB protocol problem: Pipe has been closed by GDB.
Hi Adam,
You could try booting into ISP mode and then try programming the MCU. I would reccomend you to take a look to the following document:
https://community.nxp.com/message/630748
Hope it helps!
Best Regards,
Carlos Mendoza
Technical Support Engineer