I have recently upgraded from 10.2 to 11.1.1. Since then I am now sporadically seeing the following error when I try to launch a debug session:
following reset read of core registers failed - Ep(08). Cannot access core regs when target running.
Target error from Commit Flash write: Ep(08). Cannot access core regs when target running.
I cannot seem to find rhyme or reason, sometimes just rebuilding and retrying works, sometimes unplugging LPC links and replugging fixes it. Other time I just have to keep trying multiple times and it will succeed. Power cycling target has no effect.
I have never seen this until upgrading and I can't reliably figure out why I see it. Anyone have any idea what it means and how to clear it.
So this does the same as when I routinely quite MCUXpresso go and find redline server, kill it and relaunch the whole thing. The fact that there is a specific button in the GUI to 'clean up' is ridiculous. Why not just fix the server so it doesn't lock up?
>>What is the 'Cleanup Debug' button do? Whats its purpose, why is it needed?
Eclipse and GDB are using a client-server architecture. And it could be that the server is not terminated or blocking, making a connection not possible. The 'Clean Debug' tries to kill these processes.
See point 9 in https://mcuoneclipse.com/2014/11/03/debugging-failure-check-list-and-hints/
or https://mcuoneclipse.com/2012/06/01/killing-me-softly-zombies-and-debugger-engines/
I hope this helps,
Erich