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

To put device in bootloader mode without pressing button

Hi all,

I am using nrf52840 with zephyr

The below link puts device in bootloader mode but with pressing button

I want to do it without pressing button

https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/device-firmware-update-dfu-with-mcuboot-bootloader

Regards

Tushar

Parents
  • Hi Tushar,

    The tutorial you liked to demonstrates the serial recovery DFU. The feature is intended to work even if (for some reason) the application is not functioning properly. In other cases, you typically let the application handle the transport by including MCUMGR support in the application. This can be used with serial, Bluetooth, or other transports (and you do not need any button press to enter DFU mode). You can see the details in Add DFU support to your application. Is this what you are looking for?

    Einar

  • Hi Einar Thorsrud,

    i have tried serial dfu with the above link you've sent but it shows like this


     38.14 KiB / 38.75 KiB [====================================================================================================>-]  98.44% 32 B/s

    it is gets freezed i have tried many times but every it gets stops at 97 or 98

    Regards

    Tushar

Reply
  • Hi Einar Thorsrud,

    i have tried serial dfu with the above link you've sent but it shows like this


     38.14 KiB / 38.75 KiB [====================================================================================================>-]  98.44% 32 B/s

    it is gets freezed i have tried many times but every it gets stops at 97 or 98

    Regards

    Tushar

Children
Related