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

Download flash

I have BLE Nitrogen. It is defined as a disk on which it can be dropped hex and it is loaded. Please explain in detail how to make hex which can be dropped on the device. I followed the instructions devzone.nordicsemi.com/.../ and I get heh but it does not load device

Parents
  • I don't understand.

    1. Did the method in your link solve your problem?
    2. Do you want to execute scripts from within your Makefile? If you look in the Makefiles in our SDKs you can see how it can be done. The code below for example, programs the output hex file to your device:

    flash: $(OUTPUT_DIRECTORY)/nrf52832_xxaa.hex

    @echo Flashing: $<
    
    nrfjprog -f nrf52 --program $< --sectorerase
    
    nrfjprog -f nrf52 --reset
    

    Now just use a similar syntax with merghex to merge your files.

Reply
  • I don't understand.

    1. Did the method in your link solve your problem?
    2. Do you want to execute scripts from within your Makefile? If you look in the Makefiles in our SDKs you can see how it can be done. The code below for example, programs the output hex file to your device:

    flash: $(OUTPUT_DIRECTORY)/nrf52832_xxaa.hex

    @echo Flashing: $<
    
    nrfjprog -f nrf52 --program $< --sectorerase
    
    nrfjprog -f nrf52 --reset
    

    Now just use a similar syntax with merghex to merge your files.

Children
No Data
Related