How to DFU nRF52832 via BLE using ESP32

Hi,

I'm a beginner to this kind of problem. I am trying to update firmware for nRF52832 through BLE using ESP32. I am using 17.1 SDK and Softdevice 7.2.0 with Keil.

I have gone through some thread related but cant figure out the way to deal with the problem. I have tested the BLE secure Bootloader DFU example as well as the Buttonless DFU Template Application.

My question is

1. The Buttonless DFU example does the regular application until it enters the DFU mode by nRF connect app right?

2. How to implement the DFU master code on a microcontroller with BLE?

I'm looking forward to hear from all of you who are interested and have expertises on this!

Parents
  • Hi,

    1. The Buttonless DFU example does the regular application until it enters the DFU mode by nRF connect app right?

    Yes, this examples implements the buttonless DFU service on BLE and allows you to enter the bootloader to perform DFU from the application/over BLE.

    2. How to implement the DFU master code on a microcontroller with BLE?

    Unfortunately, we do not have any examples showing how to perform DFU over BLE from an external BLE DFU server. We do have an unofficial example of serial DFU master in this blog post, and you can find the documentation for the DFU protocol in the SDK documentation. A customer have also posted some instructions on how to do this in this ticket, which might help you get started with your own implementation. Our main BLE DFU master solution can be found in python in pc-nrfutil source code.

    Best regards,
    Jørgen

Reply
  • Hi,

    1. The Buttonless DFU example does the regular application until it enters the DFU mode by nRF connect app right?

    Yes, this examples implements the buttonless DFU service on BLE and allows you to enter the bootloader to perform DFU from the application/over BLE.

    2. How to implement the DFU master code on a microcontroller with BLE?

    Unfortunately, we do not have any examples showing how to perform DFU over BLE from an external BLE DFU server. We do have an unofficial example of serial DFU master in this blog post, and you can find the documentation for the DFU protocol in the SDK documentation. A customer have also posted some instructions on how to do this in this ticket, which might help you get started with your own implementation. Our main BLE DFU master solution can be found in python in pc-nrfutil source code.

    Best regards,
    Jørgen

Children
No Data
Related