An error in my firmware causes a hard failure. The board stops responding. The debug, registers, expression views don't show any information. Red 'Stop debug' button is OFF. But the debug session continues. If I try to restart the session, a pop-up warns me to stop a running session.
Issuing 'ds.stop()' in Scripting console + de-powering the board doesn't help. I have to shut down (!) the CCS to be able to renew the debugging. Otherwise even after reloading the program, the debugging session doesn't run normally.
When the crash happens, running 'ds.testConnection()' shows:
-----------------------------------------------------------------
C28xx: Error: (Error -122 @ 0x0) A bad parameter value was detected within a function. It is likely a problem with `SC_ARGS' in SMG_call(). (Emulation package 6.0.83.1)
C28xx: Unable to determine target status after 20 attempts
C28xx: Failed to remove the debug state from the target before disconnecting. There may still be breakpoint op-codes embedded in program memory. It is recommended that you reset the emulator before you connect and reload your program before you continue debugging
-----------------------------------------------------------------
So, is it possible to restart the debug session without bringing down the whole of the CCS (an annoying procedure)?
My board is LAUNCHXL-F28069M C2000™ Piccolo™ LaunchPad. XDS100v2.
CCS6 with all the latest drivers and updates.
Not sure if this is a CCS6 bug, or incorrect actions on my part, or both.
Advice is appreciated.