Skip to content
Commit d6c30eea authored by Øyvind Rønningstad's avatar Øyvind Rønningstad Committed by Kumar Gala
Browse files

nrfjprog.py: Fail if hex file has UICR data and no --erase



Inspect the hex file with intelhex, and fail if the hex file has any
contents in the UICR area(s).
family == 'NRF52' still always does --sectoranduicrerase, but this
option is not available on other families.
Add --force command line option to proceed with flashing instead of
failing.

Signed-off-by: default avatarØyvind Rønningstad <oyvind.ronningstad@nordicsemi.no>
parent a84a0e66
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment