Other Parts Discussed in Thread: TMS320C6678
Tool/software:
IDE: Code Composer Studio Version 12 | Target: TMS320C6678 | Debug Probe: Blackhawk XDS560v2 System Trace
Hello there,
I am currently trying to implement an automated ethernet-based test framework in order to test our modules. To achieve this I have been using an debug server in order to connect to the debug probe and upload my binaries to all cores of my target. Overall this approach works, however it isn't working as reliable as I hope it'd be, since sometimes I've been getting various error messages like:
SEVERE: File: /path/to/binary.elf: Load failed.
SEVERE: C66xx_0: Unable to terminate memory download
or
SEVERE: C66xx_2: Error: (Error -6311) PRSC module failed to write to a register. (Emulation package 9.13.0.00201)
or
Error connecting to the target: (Error -1143 @ 0x0)
Device core was hung. The debugger has forced the device to a ready state and recovered debug control, but your application's state is now corrupt. You should have limited access to memory and registers, but you may need to reset the device to debug further.
Emulation package 9.2.0.00002)
The various kinds of error messages are making it hard for me to narrow down the cause of this problem. I have tried the following in order to minimize the problem (with little to no success):
- Lowered the clock speed (TCLK frequency)
- Raised the TCLK in order to see if I can reproduce the error more reliably
- Tried an older CCS version (v8)
- Compiled different binaries and uploaded them
- Uploaded the same binaries with CCS (successfully most of the time) and then tried it via the debug server (unsuccessful most of the time)
- Power-cycled the board and the debug probe
- Tried with a different board and debug probe
Do you have any idea what exactly might be causing this problem / how to increase the reliability of the debugger?
Thanks,
Long