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.

TMS5701xxx series MCUs - Gathering code coverage metrics

Good morning,

we are investigating using a processor from the TMS5701xxx series for use in a safety critical environment.  To met this end we need to gather code coverage metrics during testing.

I appreciate that TMS5702xxx ZWT and TMS5703xxx ZWT MCUS have trace facilities (ETM/RTP/DMM), and the TMS5701xxx series will not be able to stream real time coverage data to a host, but what level of code coverage metrics can be obtained from a TMS5701xxx series MCU?

I looked in the data sheet and TRM for the TMS5701xxx and see no references to RTP or ETM.

Simply put:  Can I gather code coverage metrics (without instrumenting the code) from any of the TMS5701xxx series MCUs?  If yes, how is this accomplished?

Regards,

Steve. 

  • Hello:

    We have received your post and we will get back to you soon.

    Regards.

  • Hello:

    There is no way to obtain code coverage on LS1 devices without instrumentation. Your only option would be to use LS3137, which is code compatible and pin compatible, to obtain your coverage. You just need to consider LS3137 requires some differences during startup (pinmux) and it doesn't have ePWM, eCAP and eQEP peripherals.

    Regards,

    Enrique

  • Enrique,

    thank you for your answer.

    So, if it is not possible to gather coverage metrics on LS1 devices with instrumentation:

    Is it possible to gather coverage metrics with instrumentation of the code?

    If this is so:

    Can you provide some information on what interface is used on the LS1 to do this, there does not appear to be an ETB (embedded trace buffer) on the LS1s as far as I can see and I presume this would be needed?

    Do you have any partners that provide coverage tools/hardware that would be able to instrument the code and collect/interpret the metrics from the LS1?

    Regards,

    Steve