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.

Debug Server Script (*.js) to control power to the micro controller

Hi,

I have the following requirement,

1) i would like to power up the micro controller before i begin the test case execution, complete the test execution and at the end power down the micro controller.

I would like to do the power up/down via .js script files, either through calling a external .js or internally in the same script by writing certain commands.

Please help me if there is any way to accomplish this.

Microcontroller (TIVA C series) - is powered with external power source.

Any mechanism or approach to either communicate to the external power source or  turning off/on the power internally should be good.


2) In certain test cases i would like to write a particular memory location and then wait for certain time, such that

software running on the controller reads the (written value) and perfroms the computation and then i want to measure

or monitor the updated value after some time (say 5 seconds)


Please help me with this as well.



Thanks,

-Nikhilesh