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

BLE DFU Extension Issue

Hi,

I have added "DFU" functionality to my existing BLE application Test.rar.

"I am using nrf52 SDK v11.0".

I have programmed the device with softdevices (S132.hex) and application and it doesn't work. I am sure I have something wrong but don't know where....

At line 991 in the main.c where I have defined "reset_prepare" function to enter dfu mode.

Also, do I have to load bootloader file? If so where can I find "Bootloader.hex"?

If I am using bootloader do I still have to load softdevices?

It would be great if anyone can advise on this.

Regards Siva

Parents
  • Could you explain in detail what you mean when you say "it doesn't work"? Are you getting any errors when you attempt to perform DFU?

    Yes, you have to flash both the bootloader and the softdevice to your nRF5x device for OTA DFU to function properly. You have to compile the bootloader project found in nRF5_SDK_v11_0_0\examples\dfu\bootloader\pca10040\dual_bank_ble_s132and then flash it your board the same way you flash an application.

Reply
  • Could you explain in detail what you mean when you say "it doesn't work"? Are you getting any errors when you attempt to perform DFU?

    Yes, you have to flash both the bootloader and the softdevice to your nRF5x device for OTA DFU to function properly. You have to compile the bootloader project found in nRF5_SDK_v11_0_0\examples\dfu\bootloader\pca10040\dual_bank_ble_s132and then flash it your board the same way you flash an application.

Children
No Data
Related