When executing J-Link_Commander script what's the proper way of retrying operations?
Currently I use:
Code
// best effort masserase, implicit reset & halt,
ExitOnError 0
reset
WaitHalt 100
erase
//last one must pass, executes faster if it's already blank
ExitOnError 1
erase
Display More
and use it with
JLink.exe -NoGui 1 -CommandFile production.jlink
Is there a better/faster way? Like if conditions, retry counts?
Sometimes operations (connecting/erasing/programming) fail and need retrying.
Launching the entire script again would be very slow, so it has to be done inplace.
There are 0 results for 'retry' in documentation.