You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
488 B
8 lines
488 B
copy ..\app\_build\app.hex .
|
|
nrfutil settings generate --family NRF52 --application app.hex --application-version 1 --bootloader-version 1 --bl-settings-version 2 settings.hex
|
|
mergehex --merge bootloader.hex settings.hex --output bl_temp.hex
|
|
mergehex --merge bl_temp.hex app.hex s140_nrf52_7.2.0_softdevice.hex --output whole.hex
|
|
nrfjprog --eraseall -f NRF52
|
|
nrfjprog --program whole.hex --verify -f NRF52
|
|
nrfjprog -f nrf52 --memwr 0x10001080 --val 0x00000011
|
|
nrfjprog --reset -f NRF52
|