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: How to access the Debug Server Scripting LoadProgram() progress



Tool/software: Code Composer Studio

For configuration of our modules at end of line we have a JavaFX application that leverages the Debug Server Scripting (DSS) libraries for program load and verification etc. I have encountered some problems with program loads the biggest being that there is no way to know the progress of the load. I would like to show a status bar and poll some status in the debug session but have not identified from the API if there is a way to do this. It is quite frustrating as the system is effectively in an unknown state if we cannot poll the status of a load.

Any examples would be greatly appreciated. Worst case I will set the script timeout and just countdown to make it look like we are progressing, and clear the countdown once LoadProgram returns.

  • Hello Jamie,
    There is not a way to do this AFAIK. the loadProgram() call will simply block and wait until a message comes back from the debugger or an exception is thrown if the timeout is triggered. There is no way to "poll" for the current status of the load operation. Sorry.

    ki