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
[nrf noup] scripts: west_commands: runners: nrf: workarounds for SDFW v8.0.0
SDFW v8.0.0 introduces certain changes that require matching changes
in nrfutil device to ensure that west flash works properly on
nrf54h20dk and nrf9280pdk.
This commit adds a few temporary workarounds to ensure that west flash
works with an older nrfutil device version as well:
1. Don't erase UICR, as this tries to erase the extended UICR regions
as well, and those regions no longer exist (resulting in an error).
2. Reset after erasing domains with west flash --erase. This is needed
for the memory owned by the different domains to be freely
accessible and able to be allocated to different domains.
2. Unless doing a west flash --erase, do a RESET_VIA_SECDOM reset before
programming firmware. This ensures that all the cores are stopped
before writing firmware. Removing the UICR erase step seemed to cause
some instability when programming, which is suspected to be caused by
the firmware running while programming.
Signed-off-by: Jonathan Nilsen <[email protected]>
0 commit comments