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

nRF Connect for Desktop to download hex file error

I use nRF Connect for Desktop to download hex file(nrf52810).

Use the following example:

nRF5_SDK_15.3.0_59ac345\examples\dfu\secure_bootloader\pca10040e_ble +
nRF5_SDK_15.3.0_59ac345\examples\ble_peripheral\ble_app_buttonless_dfu\pca10040e+
nRF5_SDK_15.3.0_59ac345\components\softdevice\s112\hex\s112_nrf52_6.1.1_softdevice.hex

merge generation SDK_APP.hex.

Download prompt error,Only SDK_APP.hex , the other will not go wrong.
But i use nRfgo Studio download successful.

Parents
  • Do I understand you correctly?

    • If you program an other hex file (e.g. nRF5_SDK_15.3.0..\examples\peripheral\blinky\hex\blinky_pca10040.hex) using the nRF Connect Programmer app, it works fine
    • If you program the SDK_APP.hex file using nRfgo studio, you don't experience any problems?

    Some more questions:

    • Could you explain how you created the hex files? Did you follow the steps in BLE Secure DFU Bootloader?
    • Could you upload the SDK_APP.hex file as well? Then I can try to recreate your issue.
    • What version of the Programmer app are you using?

    Best regards,

    Simon

  • yes,If program the SDK_APP.hex file using nRfgo studio, that is no problems.

    Programmer  version V3.2.0.

    SDK_APP.hex generation step:

    nrfutil settings generate --family NRF52810 --application nrf52810_xxaa.hex --application-version 1 --bootloader-version 1 --bl-settings-version 1 bootloader_setting.hex


    mergehex --merge s112_nrf52_6.1.1_softdevice.hex nrf52810_xxaa.hex nrf52810_xxaa_s112.hex -o output3to1.hex


    mergehex --merge output3to1.hex bootloader_setting.hex --output sdk_app.hex

    3716.sdk_app.hex

    Do you have \ble_app_buttonless_dfu test_images(nrf52810)?

    Thanks!

Reply
  • yes,If program the SDK_APP.hex file using nRfgo studio, that is no problems.

    Programmer  version V3.2.0.

    SDK_APP.hex generation step:

    nrfutil settings generate --family NRF52810 --application nrf52810_xxaa.hex --application-version 1 --bootloader-version 1 --bl-settings-version 1 bootloader_setting.hex


    mergehex --merge s112_nrf52_6.1.1_softdevice.hex nrf52810_xxaa.hex nrf52810_xxaa_s112.hex -o output3to1.hex


    mergehex --merge output3to1.hex bootloader_setting.hex --output sdk_app.hex

    3716.sdk_app.hex

    Do you have \ble_app_buttonless_dfu test_images(nrf52810)?

    Thanks!

Children
Related