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

How to perform a buttonless OTA DFU on nRF52832

Hello.

For My personal project , i would like to  develop a buttonless OTA DFU on my Red Bear Nano V2 (Based on nRF52832 SoC Chip) . Im using the SDK11 and i have folloawed  both of the exemple and informations provided by Nordic as decribed in the Nordic infocenter.

I have flashed the soft device 

Problems: 

1. Actualy, Im not able to use nRF Connect  App Desktop and all  Nordic Tools (nrfjprog, nrfutil, ...)  with My DAPLink Debugger (Particle Debbuger) 

2. The exemple provided by nordic in SDK11 (nRF5_SDK_11.0.0_89a8197\examples\dfu\bootloader\pca10040\dual_bank_ble_s132) perform DFU by using Button  ?

3. This exemple doesn't  take in consideration power mangement

Question :

1. How can resolve this 3 issues ?

2. Should i include 

Any Help will be appreciated 

Parents
  • Hi.

    Have you asked these questions in Red Bear's discussion fourms?

    1. Actualy, Im not able to use nRF Connect  App Desktop and all  Nordic Tools (nrfjprog, nrfutil, ...)  with My DAPLink Debugger (Particle Debbuger) 

     I cannot comment on this because I don't know how DAPLink works, it is probably not supported in nRF Connect for Desktop.

    2. The exemple provided by nordic in SDK11 (nRF5_SDK_11.0.0_89a8197\examples\dfu\bootloader\pca10040\dual_bank_ble_s132) perform DFU by using Button  ?

    3. This exemple doesn't  take in consideration power mangement

     I don't recommend that you use SDK11, it is around two years old, please use the latest SDK, 15.3.

    Best regards,

    Andreas

  • Hi AndreasF,

    Thanks for replay , i have checked  "Red Bear" Website and in there "Getting Started" they provid the same code exemple  of DFU/Bottloader as mentionned above. So they use also SDK11 to perform bootloader. 

    My Red Bear Board doesn't have button and i would like to do dfu without using the button as suggested in the PCA10040 board. 

    So where can I reset the application from Bootloader  DFU code in order to override the use of button 

    dfu_start |= ((nrf_gpio_pin_read(BOOTLOADER_BUTTON) == 0) ? true: false);

    Best regards

Reply
  • Hi AndreasF,

    Thanks for replay , i have checked  "Red Bear" Website and in there "Getting Started" they provid the same code exemple  of DFU/Bottloader as mentionned above. So they use also SDK11 to perform bootloader. 

    My Red Bear Board doesn't have button and i would like to do dfu without using the button as suggested in the PCA10040 board. 

    So where can I reset the application from Bootloader  DFU code in order to override the use of button 

    dfu_start |= ((nrf_gpio_pin_read(BOOTLOADER_BUTTON) == 0) ? true: false);

    Best regards

Children
  • Hi.

    Geek said:
    Thanks for replay , i have checked  "Red Bear" Website and in there "Getting Started" they provid the same code exemple  of DFU/Bottloader as mentionned above. So they use also SDK11 to perform bootloader. 

     This is why I asked if you have asked these questions on their discussion forums, becasue I cannot really comment on why they would say that you should use such an old SDK :-)

    Geek said:

    My Red Bear Board doesn't have button and i would like to do dfu without using the button as suggested in the PCA10040 board. 

    So where can I reset the application from Bootloader  DFU code in order to override the use of button 

    dfu_start |= ((nrf_gpio_pin_read(BOOTLOADER_BUTTON) == 0) ? true: false);

     Take a look here at the documentation, I still recommend that you use a newer SDK! :-)

    Best regards,

    Andreas

Related