Tool/software:
while i trying to debug am getting this error.
CORTEX_M4_0: Error: Connection with the target was unexpectedly lost.
CORTEX_M4_0: 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
how to solve this issue.