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

DFU Bootloader SDK9.0.0: App does not start after update

Hello,

I am switching my environment form SKD6.1 to SDK9.0.0. Finally I'd like to integrate a buttonless bootloader into my BLE application. I am using:

  • nRF51822 QFAAG20 (0x0057)
  • IAR Embedded Workbench
  • s110_nrf51_8.0.0_softdevice.hex
  • dfu_dual_bank_ble_s110_pca10028.ewp (chip changed to nrf51822)
  • ble_app_hts (chip changed to nrf51822)

First I started to flash a sample app OTA, but here I faced a problem. After the application is flashed via DFU the app does not start up. Instead I still can receive the DFU advertising. It seems as there is something wrong with the app, because updating the Softdevice via DFU is working. Are there any other changes needed concerning the chip change? Thanks, Mathias

  • I have the OTA DFU working with nRF51822 QFAAG20 (0x0057). Using SD 8 and SDK 9.0

    However, I am not using the "buttonless" option. I added code to my app that checked for a switch being closed for a long time, and then wrote the appropriate value into the GPREGRET reg and executed a software reset. I did have to tweak the bootloader slightly, as my app did this before the SD stack was set up.

    I only mention this to reassure you that the DFU with SD8 and SDK9 will work on the nRF51822 QFAAG20 (0x0057). Your app, however, may or may not. It depends on which peripheral devices you are using and how they might have changed.

  • Finally I got it working. I installed Keil µVision and transferred the project options of DFU and HRS project to the IAR projects line by line. I cannot tell the reason why it did not run before. Maybe wrong include pathes or an error in the linker command file. Thanks for the answers anyway.

Related