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

DFU not working from application

Hi, I loaded S110 v8 to nrf51. Then I loaded dfu_dual_bank_ble_s110_pca10028 bootloader.

With this setup, I'm able to download my application via the bootloader.

The problem is: When I trigger bootloader from my application, it almost immediately resets back to my application.

I examined that the bootloader is launched (main function of dfu_dual_bank_ble_s110_pca10028) with NRF_POWER->GPREGRET = 0xB1 which is correct.

bootloader_dfu_start() function in bootloader is called however, something inside the function causes reset almost immediatelly after the function is entered.

Can you please help?

Bootloader project: dual_bank_ble_s110.zip

Parents
  • The same procedure done with pca10028, dfu\bootloader\pca10028\dual_bank_ble_s110 bootloader and ble_peripheral\ble_app_hrs\pca10028\s110_with_dfu\ application is as expected. Can't be my problem related to my hardware, which is nrf51822 QFAAH00 on Raytac MDBT40 module? Can you please describe, how to port dfu\bootloader\pca10028\dual_bank_ble_s110 bootloader to nrf51822 and how to port ble_peripheral\ble_app_hrs\pca10028\s110_with_dfu\ application to nrf51822?

Reply
  • The same procedure done with pca10028, dfu\bootloader\pca10028\dual_bank_ble_s110 bootloader and ble_peripheral\ble_app_hrs\pca10028\s110_with_dfu\ application is as expected. Can't be my problem related to my hardware, which is nrf51822 QFAAH00 on Raytac MDBT40 module? Can you please describe, how to port dfu\bootloader\pca10028\dual_bank_ble_s110 bootloader to nrf51822 and how to port ble_peripheral\ble_app_hrs\pca10028\s110_with_dfu\ application to nrf51822?

Children
No Data
Related