This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

latest dfu example

Hi...

Do you know how the " ble_app_hrs -> experimental_s110_with_dfu example" in SDK 7.2.0 examples works? how to switch to DFU and how to do over the air update?

i am using nRF51422 DK,with latest Softdevice v 7.1.0 and sdk 7.2.0, master control panel v 3.8.0.

i have gone through the pdf github.com/.../How to generate the INIT file for DFU.pdf

when am executing this command "nrf.exe dfu genpkg --application nrf51422_xxac.hex --application-version 0xffffffff --softdevice s110_nrf51822_7.1.0_softdevice.hex --dev-type 0xffff --dev-revision 0xffff --sd-req 0x5A myfile.zip" i got an error IOError: [Errno 13] Permission denied: 'myfile.zip' what is the reason for this?

Parents Reply Children
  • Thank you stian

    i could zip successfully ,error was due to admin privilege issue .

    i understood the working but, i am not able to switch from NORDIC_HRM to dfu_targ. First i loaded s110_nrf51822_7.1.0_softdevice.hex then nrf51422_xxac_s110.hex by using nrfgo studio.It advertises as NORDIC_HRM and connected in MCP.Then tried to switch from NORDIC_HRM to dfu_targ by writing dfu_control point cccd variable 0x0001 and dfu control point as 0x0104. But nothing is happend... not disconnected ,still advertising as NORDIC_HRM.

    Is that the method am following is correct? or a bootloader hex file is needed ?

Related