Tool/software: Code Composer Studio
Hi,
We are testing on custom board with F28027 and DRV 8323. When motor is powered(PWM OFF), board works fine and debug works as expected.
in lab 2c, as soon as I start motor identification process, JTAG connection breaks and i get following error in ccs.
C28xx: Error: (Error -1135 @ 0x85DB) The debug probe reported an error. Confirm debug probe configuration and connections, reset the debug probe, and retry the operation. (Emulation package 7.0.188.0)
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
One thing can be noted, this error occurs only when motor is powered. I ger same erroe while running lab 5b as well.
I use xds100v2 modified from a launchpad. Earlier JTAG isolators were removed, but when problem persisted, i added isolator again and removed R8,R9,R10 from launchpad as they are used for pull down of TDO, TRST and GPIO34.
I have a 2.2k pull down for TRST. TDO and GPIO34 are connected with 2.2k pull up and 10k pull down (just like 820ohm pull up and 2.2k pull down on launchpad) to boot controller from flash on power reset.
Board and debugger are connected by less than 10cm wires. Soldered from end to end, i hope issue is not with wires.
To solve this following things have been tried so far.
1. Tried to give stable external 3.3v supply.
2. Reduced wire length, but no luck.
3. Tried changing USB cables, it did not work either.
Surprisingly board works sometimes and variables can be monitored in ccs, but most of the time it does not.
What can be possible cause of this issue?