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

one of the files to merge cannot be found?

D:\nRF51822\mergehex.exe --merge D:\nRF51822\s110_nrf51822_7.0.0_softdevice.hex _build\ble_app_hrs_s110_xxaa.hex --output hrs.hex

I am doing it.But one of the files to merge cannot be found said. can you help me?

Parents
  • 1.) Open command window, type mergehex or however you are calling the executable and make sure the help screen is displayed. 2.) If the help window displaying the mergehex functions isnt displayed and you get an error you need to make sure it is installed correctly. you may need to add the full path to nrf5x tools in your path environment variable if you havent already. www.computerhope.com/.../ch000549.htm for example i added C:\Program Files (x86)\Nordic Semiconductor\nrf5x\bin; to my system variables to get nrf5x tools working.

    3.) now call merge hex as you were mergehex --merge <file1.hex> <file2.hex> --output <output.hex>

    just include the full paths for file1.hex and file2.hex to be sure they are found.

    example of a working call to mergehex...

    mergehex --merge C:/Users/michael/Desktop/s132_nrf52_1.0.0-3.alpha_softdevice.hex C:/Users/michael/Desktop/nRF52sdk/examples/ble_peripheral/ble_app_hids_keyboard/pca10036/s132/arm5_no_packs/_build/nrf52832_xxaa_s132.hex --output test_merge.hex

    hope this helps! -Mike

Reply Children
No Data
Related