Hi,
I am using CCS v5 and am trying to use DSS to load my program onto my DSP. For some reason, with the same DSS script (no changes at all between attempts), I am able to load and run my program every other time. Let's say I run the script the first time and I am able to load the program, run it and exit with success. If I do it a second time, the script executes the loadProgram command but never returns. I then kill the process and run the script again, and this time I am able to run the script without a problem. Of course, the next time I try to run it again, it won't work and I will have to kill the process and retry.
The loadProgram command is as follows
debugSessionDSP.memory.loadProgram(programName);
I actually tried changing the loadProgram command to the following :
debugSessionDSP.expression.evaluate('GEL_Load("C:/Work/myProgram.out")');
and while I manage to load the program, I did not manage to execute the next command after this, that is running the program
debugSessionDSP.target.restart();
Is there something that I have to do to make sure my DSS script can load and run the program every time I run the script?
Thanks,
s