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.

Javascript and programm status

Hi everybody.

No doubt a silly question as a beginner in JavaScript.

I'm running a program through a script  to load the flash (6654 + parallel flash). It's working fine,  the only drawback is that I don't know when I can disconnect my target (production purpose).

Also my "System_printf("\n BOOTLOADER WRITER => Finished");" are not showing anymore in the console when the .out is launched by the script.

How can I know that my program is finished in order to safely disconnect my target ?

Thanks to all

CCS : 5.5

Small sript below -->

reset();
loadProg("app_norwriter.out");
halt();
loadRaw(0x80000000,0,"dsp_fmw.efw",32,false);
run();

//disconnect();