This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nrfjprog program .hex ERROR(nrf52820 OTA test)

Excuse me:

                  When I was testing the OTA of nrf52820 chip, there was a download error in the command line tool。Here are my steps in nrfjprog tool:

1、nrfutil settings generate --family NRF52 --application ble_app_hids_keyboard_pca10100_s112.hex --application-version 1 --bootloader-version 1 --bl-settings-version 2 settings.hex
pause

2、mergehex --merge secure_bootloader_ble_s112_pca10100e.hex settings.hex --output bl_temp.hex
pause
mergehex --merge bl_temp.hex ble_app_hids_keyboard_pca10100_s112.hex s112_nrf52_7.2.0_softdevice.hex --output whole.hex
pause
nrfjprog --eraseall -f NRF52
nrfjprog --program whole.hex --verify -f NRF52
nrfjprog --reset -f NRF52
pause

Finally, the following error occurred:

ERROR: The file specified is not a valid hex file, has data outside valid areas
ERROR: or does not have data in valid areas.

Attachment is my test file, please help me solve it,thank you very much.

                  nRF52820OTAbat.7z

                  

                   

Parents Reply Children
No Data
Related