I want to perform device provisioning in multiple steps. During Probe.program pass HighLevel.ResetAction.RESET_NONE but its ignored in case program modem firmware:
with HighLevel.API() as api:
snr = api.get_connected_probes()[0]
print("snr: " + str(snr))
# To update LTE modem connected to J-Link probe at snr <snr>:
with HighLevel.IPCDFUProbe(api, snr, HighLevel.CoProcessor.CP_MODEM) as probe:
probe.program(modem_fw,
HighLevel.ProgramOptions(
verify = HighLevel.VerifyAction.VERIFY_HASH,
reset = HighLevel.ResetAction.RESET_NONE
)
)
# -> !!! RESET !!! <-
# To program J-Link probe at snr <snr>:
with HighLevel.DebugProbe(api, snr) as probe:
probe.program(board_fw,
HighLevel.ProgramOptions(
verify = HighLevel.VerifyAction.VERIFY_READ,
reset = HighLevel.ResetAction.RESET_NONE,
erase_action = HighLevel.EraseAction.ERASE_SECTOR
)
)
pynrfjprog 10.12.0
I want to perform device provisioning in multiple steps. During
Probe.programpassHighLevel.ResetAction.RESET_NONEbut its ignored in case program modem firmware: