You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
)
)
The text was updated successfully, but these errors were encountered:
The documentation for NRFJPROG_program in the Highlevel dll header states:
@details Programs the provided .hex file onto the device connected to the provided debug_probe handle. By using the program_options parameter, the
* verification, pre-programming erase and post-programming reset can be configured. See the description of program_options_t for details.
The reset and verify inputs control the post-program reset and verify actions. They do not control the proogramming algorithm behavior itself.
For modem programming, it is required to reset the device during the modem programming cycle to get it into the bootloader mode.
In general, the program command does not guarantee that a reset does not occur if RESET_NONE is passed, only that we will not perform a reset at the end of the programming cycle. For example, SPU protection, MPU protection, or other runtime memory protection mechanisms will cause the program method to issue a system reset to reset the device to a proogrammable state.
We will update the documentation for the program methods to mention this in the next minor version of nrfjprog.
pynrfjprog 10.12.0
I want to perform device provisioning in multiple steps. During
Probe.program
passHighLevel.ResetAction.RESET_NONE
but its ignored in case program modem firmware:The text was updated successfully, but these errors were encountered: