Other Parts Discussed in Thread: CONTROLSUITE
When I try to debug my application the console reports these errors:
C28xx: Error: (Error -1041 @ 0xFFFFFF6A) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 8.0.903.2)
C28xx: Trouble Halting Target CPU: (Error -154 @ 0x0) One of the FTDI driver functions used to write data returned bad status or an error. (Emulation package 8.0.903.2)
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
I am quite sure the problem has to do with something I have done (described below) but I am not sure what happened and, more important, I do not know how to repair it if it is possible.
I am developing and application taking advantage of the freertos port I found here that I saw it was even commented in this forum. I added a task to test the notification mechanism and I forgot (this had to be the problem) to add the infinite loop there so the execution just got to the end of the task function and I do not really know what happened then. The debugger tended to stop the execution at the "LB wd_disable" instruction from the DSP2833x_CodeStartBranch.asm file so I guess a reset ocurred. This happened a day and in that day I did not have any problem related to the debugger or the JTAG connection. The next day, when I realized about the forgotten infinite loop, I added it but the debugger started showing those errors given above. I tried with and example from the ControlSUITE but the same errors appeared.
Can you imagine what actually happened? Is there a way to solve this problem? To add something, the errors appear when I resume the execution not if I perform steps with the debugger (or at least not at the beginning of the code).
Thanks in advance.