where to find the version of mergehex.exe for nrf52832, which combines softdevice, app and bootloader into a single hex.
where to find the version of mergehex.exe for nrf52832, which combines softdevice, app and bootloader into a single hex.
I tried it as blow
mergehex.exe -m s332_pca10040.hex nrf52832_bootloader_s332.hex -o app.hex
mergehex.exe -m ANT_s332_nrf52_0.9.1.alpha.hex app.hex -o test.hex
nrfjprog.exe --eraseall
nrfjprog.exe --program test.hex
nrfjprog.exe --verify test.hex
nrfjprog.exe -r
the version of mergehex.exe is 8.2.0, nrfjprog.exe is the same
but it keeps at bootloader after programed. I must do dfu app the let the app works. Is there something wrong?
I tried it as blow
mergehex.exe -m s332_pca10040.hex nrf52832_bootloader_s332.hex -o app.hex
mergehex.exe -m ANT_s332_nrf52_0.9.1.alpha.hex app.hex -o test.hex
nrfjprog.exe --eraseall
nrfjprog.exe --program test.hex
nrfjprog.exe --verify test.hex
nrfjprog.exe -r
the version of mergehex.exe is 8.2.0, nrfjprog.exe is the same
but it keeps at bootloader after programed. I must do dfu app the let the app works. Is there something wrong?
As a sanity check, have you verified that all these work when programmed separately?
Are you sure the app is compiled with the correct IRAM and IROM values with respect to the bootloader and SoftDevice?
Finally, when flashing your bootloader normally, does it not hang there?
Thanks, it is settled!