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

Buttonless DFU - LED 3 blinking after flash

With SDK 14:

If I flash in this order:

  1. softdevice_s132.hex

bootloader_secure_ble_debug_withbonds_s132.hex 3. ble_app_buttonless_dfuwith_bonds_s132_with_setting_page.hex

Then complete a DFU with this application:

ble_app_buttonless_dfu_without_bonds_s132_with_setting_page.zip

The board goes into an unrecoverable state. Holding button 4 and resetting will not get me back to DfuTest. There seems to be no way of recovering unless I erase completely and start over.

Why does this happen?

Parents
  • You're merging the settings hex with the application hex and then creating a zip file with the resulting hex file. The settings page should be merged with the bootloader hex-file and then flashed to the device along with the application that the settings file was generated from. It is not necessary to merge the settings hex with the bootloader hex when you're performing a DFU since the bootloader will update the setting page based on the information in the init packet.

    In short - Create a firmware image(.zip) with the application hex only.

Reply
  • You're merging the settings hex with the application hex and then creating a zip file with the resulting hex file. The settings page should be merged with the bootloader hex-file and then flashed to the device along with the application that the settings file was generated from. It is not necessary to merge the settings hex with the bootloader hex when you're performing a DFU since the bootloader will update the setting page based on the information in the init packet.

    In short - Create a firmware image(.zip) with the application hex only.

Children
No Data
Related