Executing JLinkScript file with pynrfjprog package

Hello,

I have started to work with pynrfjprog for automation. My project uses monitor-mode debugging from Segger. I am wondering is there a possibility to call/execute JLinkScript file ? 
Previously Segger Ozone was taking care of executing the script file.

Please find the JLinkScript file attached.
The JLinkScript file is executing 'JLINK_ExecCommand()' which takes J-Link Command Strings to be passed to the JLinkARM.dll which controls J-Link.
In our case we pass, two command strings needed for MMD, as shown below.
JLINK_ExecCommand("SetMonModeDebug = 1");
JLINK_ExecCommand("SetMonModeVTableAddr = 0x26000");

In case if it not possible to directly execute the JLinkScript file from pynrfjprog, can you please propose any possible solution to meet this use case.

Thank you.

Kind regards,

 MMDScript.JLinkScript

Related