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

mergehex.exe for nrf52832

where to find the version of mergehex.exe for nrf52832, which combines softdevice, app and bootloader into a single hex.

Parents
  • 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?

Reply
  • 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?

Children
Related