This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TI-RTOS Debug on C2000 LaunchPad (CCSv6 Linux)

Other Parts Discussed in Thread: LAUNCHXL-F28027, ENERGIA

I am running CCSv6 in Ubuntu 14.04 (64 bit) and trying to debug a TI-RTOS example on my LAUNCHXL-F28027, but when I go to debug the program, I get the following error…

Can’t Initialize Target CPU:
Error: Serial Communication failed at port: COM65, baud rate:9600!
To use serial monitor, please ensure the following prerequisites are satisfied:

  1. Make sure the cable is plugged into both the target and the host on the right COM port.
  2. Make sure a compatible target side serial monitor is loaded and running on the target device.

This was done using the same target configuration file as another project I have that does not use TI-RTOS, which ran without errors. On the LaunchPad, I have all of the switches up.

I have attached the project in a zip file, as I believe there may be a configuration issue. Please note that I have already tried changing the JTAG TCLK Frequency to adaptive, and it didn’t work. I can provide any additional information necessary.

rtos-test.zip

  • HI,

    Caleb Reister said:
    but when I go to debug the program, I get the following error…

    I don't recognize the serial monitor message; are you getting this error from inside CCS (when launching a debug session) or when launching from a different utility such as a flasher program or Energia?

    What I am trying to determine here is the exact context to either be able to help you or direct you to a forum room that can provide better advice.

    Regards,

    Rafael

     

  • I get the error when I try to launch an XDS100v2 debug session in CCSv6.

  • Ok, so since it is coming from CCS, can you follow the sequence of steps shown at section 1 of the page below?
    processors.wiki.ti.com/.../Debugging_JTAG_Connectivity_Problems

    These steps usually help figure out where the issue is coming from and are usually effective how to further proceed to troubleshooting this.

    Hope this helps,
    Rafael
  • Sorry, a colleague just noticed that you have two target configuration files (.ccxml) in your project: one is correctly set to XDS100v2 and another one (inside the subdirectory targetconfigs) is set to UART connection. The error message is being spawned by this target config file.

    In this case, make sure you set the target configuration file that has XDS100v2 as the Active one (you can right-click on the file and select the option "Set as Active target configuration").

    This should solve this issue.

    Regards,
    Rafael

  • Thanks for the help! I was able to communicate with it, although I didn't see any serial output. However, after looking around some, it appears that SYS/BIOS does not output to the serial port by default. I haven't had time to mess with the logging.