I'm writing a JLINK script including the function SetupTarget().
From within this function I need to reset and halt the target in order to check lock state of flash and if needed to unlock the flash.
Unfortunately there doesn't seem to be a reset function available.
I expected a function like
JLINK_TARGET_Reset()
Essentially it should execute the standard reset, same as when using command "Reset" in the JLINK console.
Is there such a function?
Thank you
From within this function I need to reset and halt the target in order to check lock state of flash and if needed to unlock the flash.
Unfortunately there doesn't seem to be a reset function available.
I expected a function like
JLINK_TARGET_Reset()
Essentially it should execute the standard reset, same as when using command "Reset" in the JLINK console.
Is there such a function?
Thank you
The post was edited 1 time, last by dsula ().