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

Can't flash. Merge.hex error.

Hi, all!

After updating all libs can't flash. Have this error:
Tested also with asset_tracker sample.

Using runner: nrfjprog
nrfjprog --ids
Flashing file: /home/ilya/projects/ncs/asset_tracker/build/zephyr/merged.hex
nrfjprog --program /home/ilya/projects/ncs/asset_tracker/build/zephyr/merged.hex -f NRF91 --snr 960092785 --sectorerase
Parsing hex file.
ERROR: The file specified could not be found.
ERROR: command exited with status 51: nrfjprog --program /home/ilya/projects/ncs/asset_tracker/build/zephyr/merged.hex -f NRF91 --snr 960092785 --sectorerase



Parents
  • Hi,

     

    Recent changes in ncs has introduced the ability to merge the spm (previously known as "secure_boot") and your non-secure application. This will then be merge'd to one merge.hex file.

    If you do not have mergehex (which is supplied with the nrfjprog / nRF5x command line tools) in $PATH, the above merge-process will fail.

    If you still see issues, I'd recommend that you roll back, as has suggested.

     

    Kind regards,

    Håkon

Reply
  • Hi,

     

    Recent changes in ncs has introduced the ability to merge the spm (previously known as "secure_boot") and your non-secure application. This will then be merge'd to one merge.hex file.

    If you do not have mergehex (which is supplied with the nrfjprog / nRF5x command line tools) in $PATH, the above merge-process will fail.

    If you still see issues, I'd recommend that you roll back, as has suggested.

     

    Kind regards,

    Håkon

Children
No Data
Related