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.

CCS/LAUNCHXL2-RM57L: JTAG Boundary Scan

Part Number: LAUNCHXL2-RM57L
Other Parts Discussed in Thread: TMDSEMU110-U

Tool/software: Code Composer Studio

I'm new to using a JTAG for debugging purposes except for the basic stuff like uploading, halting the program and all or that, but now I need to set up a test that uses the boundary scan on a RM57Lx LaunchPad. 

When I connect my LaunchPad and upload the program, I am using the XDS110 Debug Probe that comes standard on the board. I know that you can do a basic connection test it does a boundary scan to make sure that everything looks good, but now I need to do a more controlled one where we can run the boundary scan test continuously and log the results on a host PC. So my questions are:

Can the default XDS110 Debug Probe do this, or would I need to get an external unit like the XDS100v2?

and

Would I be able to do this in Code Composer Studio or would I need to purchase third party software?

Thanks!

  • Hello Max,

    Unfortunately, I don't have any answers for you right away. I need to check with some experts on this and get back with you. I can tell you that the use of the onboard XDS110 vs. and external XDS100V2 won't make a difference. It has more to do with the drivers implemented for the JTAG probe and if it can support direct manipulation of the boundary scan. I am also not very optimistic of being to do this inside of CCS since I think it will take either specialized boundary scan tools or your own custom SW on the PC. I do know that each of our devices have BSDL files available online and that these work with specialized boundary scan tools. What exactly are you looking at monitoring?
  • Hi,

    Sorry for the late response. Ok, if I can use the on board XDS110 then that would be ideal since it would save quite a bit of money. Also, if I am using the XDS110, is that already implemented on the LaunchPad, or would I need to purchase the pod in order to do actual debugging?

    http://www.ti.com/tool/TMDSEMU110-U



    I'm testing the device in harsh environments to find its thresholds in order to find its failure threshold. I want to just use the boundary scan since it's simple and wont take a lot of development, and use it to find out when the Hercules MCU starts to fail by running continuous testing and logging the results
     
    Thanks,
    Max

  • Hi Max,

    Some additional information I was able to dig up. It seems the XDS110 is OpenOCD ready (processors.wiki.ti.com/.../XDS110) and OpenOCD says it has support for boundary scan commands (openocd.org/.../Boundary-Scan-Commands.html) so you may be in luck for what you want to do.

    For us, we used the tool at this link to do our verification on the BSDL files www.xjtag.com/.../xjlink-xjlink2-jtag-usb.php. They also have an API DLL available that can be used to support the BS operations.

    Unfortunately, I think both solutions will involve some risk since I think both will require some application on the PC side to receive and interpret or store the data.

    For the RM57, the BSDL files are located at this link: www.ti.com/.../spnm049

    For sure, if you have questions on implementation, please let us know and we will do our best to help you along.
  • Ok, thank you very much! Do have some more questions, though.

    On the OpenOCD, do I need to get a third party software, or is that something that can be run through CCS? I've used it with Eclipse (or was it Atollic?) a bit, but I can't seem to find any info to work with it in CCS.

    On the xjtag product, what do those pods do that isn't on the XDS110 on the board, or would that be connected to the 20-pin connector on the board? Probably a really rookie question, but I'm completely new to JTAG interfaces.

    As far as having a host PC, that is what is planned as I need to be able to find out at what levels the processor failed at.

    Thanks,
    Max
  • Hi Max,

    I don't think CCS supports boundary scan in the way that you want to use it. It would require some third part software to support. May, since the XDS supports OpenOCD, you would only need to find a tool that could use that protocol to do boundary scan. You may consider posting a question in the tools E2E to see if you can get any additional insights from the tools support group.

    I am not overly familiar with the XJTAG tool either. I do know that it was used to validate our BSDL file but that is the extent of my knowledge on it.