I'm using CC6 and DSS script to load and run my program on DRA7xx. I would like to run my program for 5 seconds, and then halt it. There are 9 processors in my test. I call Target.runAsync() on each of the 9 processors.
After getting them all running, I would like my script to sleep for 5 seconds. Then I would call Target.halt() on each processor. How do I make my DSS script sleep for 5 seconds?
I've tried using setTimeout() as the recommended way to make JavaScript sleep, but this comes up as undefined.
Thanks
~Ramsey