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

Buttonless DFU Example broken

Hi there,

I know you guys are very busy and I appreciate your quick response on Devzone.

I'd like to make a request for a more polished example of Buttonless DFU using SDK 12.1 with nRF52.

We are nearing production and if there's anything I'd like to get in concrete, it's a reliable way to upgrade firmware in the field.

The current example is not working out of the box, and the documentation doesn't offer a complete start to finish of how to upgrade. For example, what should we do after we send a 0x01 to the characteristic?

Thanks, Paul

Parents
  • Hi Paul,

    I guess you got part of the answer from here already.

    What is exactly the issue you are having ?

    After you send 0x01 to the characteristic, would it switch to the DFU bootloader ? Have you done any test with the DFU bootloader to update a new firmware ?

    Note that bonding information is not forward from the application to the bootloader in the current bootloader and experimental buttonless application.

    There are some bug fixes in the current experimental buttonless application, please use this version made by my colleague, Vidar. nRF5_SDK_12.1.0_buttonless_dfu.zip

  • @Hung: OK, I was able to get Vidar's modified code going to bootloader mode by turning off the bluetooth and leaving it off for a couple of minutes. Then turning it back on; I guess since I'm using the same dev board and phone, there was some cached information prohibiting the service from running. I have also verified Vidar's code works for an Andriod tablet and an Ipad Air2. Although it does not work immediately; sometimes I must have to send the command to go to bootloader multiple times. Also, the Andriod tablet shows the name of the service (Experimental Buttonless DFU Service") whereas the apple products show the service as "Unknown Service".

Reply
  • @Hung: OK, I was able to get Vidar's modified code going to bootloader mode by turning off the bluetooth and leaving it off for a couple of minutes. Then turning it back on; I guess since I'm using the same dev board and phone, there was some cached information prohibiting the service from running. I have also verified Vidar's code works for an Andriod tablet and an Ipad Air2. Although it does not work immediately; sometimes I must have to send the command to go to bootloader multiple times. Also, the Andriod tablet shows the name of the service (Experimental Buttonless DFU Service") whereas the apple products show the service as "Unknown Service".

Children
No Data
Related