Other Parts Discussed in Thread: UNIFLASH
Tool/software: Code Composer Studio
Hi, I'm using the demo board CC3220SF-LAUNCHXL and while developing my application sometimes the debuggin become a bit weird.
It happens that if I "resume (F8)" the execution when the debugger is ready at the main entry point it fails with the following error message:
>Cortex_M4_0: JTAG Communication Error: (Error -1170 @ 0x0) Unable to access the DAP. Reset the device, and retry the operation. If error persists, confirm configuration, power-cycle the board, and/or try more reliable JTAG settings (e.g. lower TCLK). (Emulation package 6.0.628.1)
>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
Power cycling the board does nothing useful.
Instead of hitting F8, I can "debug" my application pressing F6 (step over). In this way it doesn't fail (with the same code!). Of course I cannot debug an application in such a way!
Then, something magic happens and it come back to the expected beahvior, but honestly I haven't find why yet.
Any idea?