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/TMS570LC4357: Problems during unit testing

Part Number: TMS570LC4357

Tool/software: Code Composer Studio

Hallo guys,

I would like to implement unit testing for functions and I am using Debug Server Scripting along with java script to run the unit tests. But I am facing a problem while loading the program file. Please see the below attachment. 

I am also attaching the java script. Please have a look. Let me know if anything I am missing. Thank you.

TMS570LC_breakpoints.zip

  • Hello,
    DSS threw an exception which your script did not handle. Hence your script terminated. The exact exception thrown is the timeout exception. Your script set a 15 second timeout and that timeout happened during the program load of Mux.out. Basically, the program load was taking over 15 seconds. The question to ask is: "is it normal for Mux.out to take longer than 15 seconds"? If Mux.out is being flashed to the on-chip flash, then that is very possible. Up your timeout value to something larger to compensate for the added flash time.

    Thanks
    ki