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/TMS570LS3137: Invalid CIO command (0) Error

Part Number: TMS570LS3137
Other Parts Discussed in Thread: TMDS570LS31HDK

Tool/software: Code Composer Studio

When executing tests with the Parasoft cpptest Plugin the data passed from CCS to cpptest sometimes are corrupted. Cpptest uses the CIO buffer to execute unit tests, so the unit tests fail. We use the debugger J-Link (V6.60d) from Segger and CCS 7.4.0.

The error is machine depended. On the first machine always the same unit tests fails. On another machine always another unit tests fails. On an third machine no unit tests fails. All machines use the same Hardware and Software.

Do you see a relation to a Bug Fix or Known Issues in a newer CCS release?

All the other forum posts I found did not help. I provided a CCS crash log in Support Case Number CS0168028. Do you need any additional information?

  • Hello,

    Heiko_W said:
    Do you see a relation to a Bug Fix or Known Issues in a newer CCS release?

    There have been various fixes for the error use see. But from what I can recall, those fixes should be in the version you are using.

    That said, the CCS version you are using is pretty old (and unsupported). CCS 9.3.0 is the current version available, with CCS 10.0.0 ready for release soon. If you can try updating your CCS version, that would be great.

    Heiko_W said:
    The error is machine depended. On the first machine always the same unit tests fails. On another machine always another unit tests fails. On an third machine no unit tests fails. All machines use the same Hardware and Software.

    Do all these machines have the same exact CCS and J-Link driver versions?

    Thanks

    ki

  • Hello,

    all these machines use the same exact CCS and J-Link driver version. We use this build toolchain for functional safety software. Therefore I need to analyze defects and need a good reason to change the toolchain.

    Ki said:

    There have been various fixes for the error use see. But from what I can recall, those fixes should be in the version you are using.

    Does this mean there is no fix in the newer CCS version for this issue? When I update to CCS 9.3.0 the issue might be still there but probably does not appear?

    Thanks
    Heiko

  • Heiko_W said:
    Does this mean there is no fix in the newer CCS version for this issue? When I update to CCS 9.3.0 the issue might be still there but probably does not appear?

    I'm not sure. The specific issues I am thinking of were in CCSv5 and should have been fixed in CCSv7. But since CCSv7 is pretty old, there have been many more bug fixes since then. It is possible that some of those fixes may be related to your issue, but I cannot offer any guarantee.

    CCS 10.0 was just released today. I would recommended trying it out and seeing if the issue arises there:

    http://www.ti.com/tool/download/CCSTUDIO

    ki

  • Hello, ki

    we will try out a newer CCS release and see if the issue arises there again.

    Thanks
    Heiko

  • Hello,

    we run our tests manually with CCS10 IDE and the toolchain from CCS7, but the message ‘Invalid CIO command (0) Error’ is still there.
    Now we assume that any software may corrupt the data in the CIO memory on the Hercules controller.

    Best regards
    Heiko

  • Can you try lowering the JTAG Frequency for the device? It default to "auto" but perhaps try using a default low value.

    If that doesn't help, please provide a reproducible test case that I can run on my TMDS570LS31HDK board. The test case can be very simple (the simpler, the better), as long as the error can be reproduced

    Thanks

    ki