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

How to upgrade firmware using dfu first time?

HI, I am using sdk 8 and pca10028 dk. I follow following procedure,

  • Program the softdevice using nrfgo
  • Program the test_bootloader using nrfgo
  • Program the application using keil. My problem is that on startup it goes into bootloader mode and start advertising as dfuTest but I want it should go into application and start working with it. Please provide solution on how I should achieve it. Regards , Abhinav.
Parents Reply
  • Have a look at the project ble_app_hrs_s110_with_dfu(this can be found in ..\SDK_8.1\examples\ble_peripheral\ble_app_hrs\pca10028\s110_with_dfu\arm5_no_packs), here you will find the file dfu_app_handler.c. In this file there is a function called bootloader_start, this function shows how to enter bootloader mode. The line err_code = sd_power_gpregret_set(BOOTLOADER_DFU_START); is where we set the GPREGRET flag.

    Best regards,

    Øyvind

Children
No Data
Related