Hi,
I made a new board including the PGA970 and pins for the XDS200 debugger. on my first Board I didn't have any problems connecting to the PGA but for some reason on this Board I do have issues. All pins of the XDS200 connector are connected properly. Sometimes connecting will work but then as soon as I load and start my programm I recieve this Message:
Error connecting to the target:
(Error -615 @ 0x0)
The target failed to see a correctly formatted SWD header. The
connection to the target may be unreliable. Try lowering the
TCLK setting before trying again.
(Emulation package 9.3.0.00042)
In some cases plugging the XDS200 in and out or un and replugging power of the board did the trick but the Message always reappeared after some time. If it does this is the cosole text:
Cortex_M0_0: Error connecting to the target: (Error -615 @ 0x0) The target failed to see a correctly formatted SWD header. The connection to the target may be unreliable. Try lowering the TCLK setting before trying again. (Emulation package 9.3.0.00042)
//Here i was unplugging and replugging power
CS_DAP_0: Power Failure on Target CPU: (Error -180 @ 0x0) The controller has detected a target power loss. The user must turn-on or connect the power supply for the target. (Emulation package 9.3.0.00042)
Cortex_M0_0: Output: **** PGA970 Initialization is in progress ..........
Cortex_M0_0: Output: **** PGA970 Initialization is Done ******************
//connection sucessful so i loaded the built code
Cortex_M0_0: Output: **** PGA970 OnRestart ..........
Cortex_M0_0: Output: **** PGA970 OnRestart is done ****
Cortex_M0_0: Output: **** PGA970 OnFileLoaded ..........
Cortex_M0_0: Output: **** PGA970 OnFileLoaded is done ****
//Error appears again as soon as I hit resume(F8)
Cortex_M0_0: JTAG Communication Error: (Error -615 @ 0x0) The target failed to see a correctly formatted SWD header. The connection to the target may be unreliable. Try lowering the TCLK setting before trying again. (Emulation package 9.3.0.00042)
Cortex_M0_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
The Programm should not cause this error, I tested it beforehand on the evaluationboard and had no errors. Also how would you lower the TCLK setting? I didnt find any information on this.
Regards,
Paul