Buttonless Ble DFU update via Esp32


Hello

I want to do buttonless dfu update via esp32. My previous problem persists. Attached is the link where I explained the problem.problem link.

I have a few questions;

1) While I have the problem in the link, when I put it in DFU mode, does the connection break because I do send mtu response 30 seconds after the nordic replay?

2) How should I develop the software to put the nordic device into dfu mode via esp32?

Best Regards

Parents
  • Hello,

    How should I develop the software to put the nordic device into dfu mode via esp32?

    I haven't worked with ESP modules So not sure from that side. But from the Nordic side, you can enter the DFU mode by writing to General purpose memory retention register (GPREGRET).I guess you need do this from the ESPmodule, this will trigger a device reset and nRF deice will remain in DFU mode. Take a look at the Buttonless secure DFU section in the nRF5_SDK. This section (to the end) also explains how you can add Buttonless secure DFU service to an application.

     

    I need to go through your old thread for answering the question 1 and I will get back to you after doing that.

    Kind Regards,

    Abhijith

Reply
  • Hello,

    How should I develop the software to put the nordic device into dfu mode via esp32?

    I haven't worked with ESP modules So not sure from that side. But from the Nordic side, you can enter the DFU mode by writing to General purpose memory retention register (GPREGRET).I guess you need do this from the ESPmodule, this will trigger a device reset and nRF deice will remain in DFU mode. Take a look at the Buttonless secure DFU section in the nRF5_SDK. This section (to the end) also explains how you can add Buttonless secure DFU service to an application.

     

    I need to go through your old thread for answering the question 1 and I will get back to you after doing that.

    Kind Regards,

    Abhijith

Children
No Data
Related