Commit 6b6c84c
[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]>1 parent c81ac00 commit 6b6c84c
1 file changed
+5
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
273 | 273 | | |
274 | 274 | | |
275 | 275 | | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
276 | 281 | | |
277 | 282 | | |
278 | 283 | | |
| |||
298 | 303 | | |
299 | 304 | | |
300 | 305 | | |
301 | | - | |
302 | | - | |
303 | | - | |
304 | | - | |
305 | 306 | | |
306 | 307 | | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | 308 | | |
312 | 309 | | |
313 | 310 | | |
| |||
0 commit comments