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

Implementing buttonless_dfu to hrs_freertos

Hi,

I am developing the 'buttonless dfu' to the 'hrs freertos' using the SDK v15.3.0.

However, after I compiled the modified code and loaded to the target broad, I got the below error.

    <info> app: nrf_sdh_ble_enable() err:0 ram_start:0x20002258
    <error> app: Fatal error

Is there any example for this application?

Thanks

Parents
  • Hi Amanda,

    I think this version is too old to support SDK 15.3 later. 

    As replied before, I have continued my testing on another PC and the version of the tool is 6.1.0.

    After you program the bootloader + SD, you should see the device advertises with the name as "DfuTarg".

    Yes, I can see that. Thus, I can program the application image through mobile APP.

    What is the application you used? Is it your application or example application?

    The application is the example "ble_app_buttonless_dfu".

  • Hi Amanda,

    Maybe my poor presentation.

    What I want to say is I have followed your instructions

    nrfutil settings generate --family NRF52 --application ble_app_buttonless_dfu_pca10040_s132.hex --application-version 1 --bootloader-version 1 --bl-settings-version 1 bootloaderSettings.hex
    
    mergehex -m ble_app_buttonless_dfu_pca10040_s132.hex bootloaderSettings.hex -o merged.hex
    
    nrfjprog --program merged.hex --sectorerase
    
    nrfjprog -r

    However, the ev board cannot run. Seems it hangs

Reply
  • Hi Amanda,

    Maybe my poor presentation.

    What I want to say is I have followed your instructions

    nrfutil settings generate --family NRF52 --application ble_app_buttonless_dfu_pca10040_s132.hex --application-version 1 --bootloader-version 1 --bl-settings-version 1 bootloaderSettings.hex
    
    mergehex -m ble_app_buttonless_dfu_pca10040_s132.hex bootloaderSettings.hex -o merged.hex
    
    nrfjprog --program merged.hex --sectorerase
    
    nrfjprog -r

    However, the ev board cannot run. Seems it hangs

Children
Related