Skip to content

Latest commit

 

History

History
52 lines (26 loc) · 1.64 KB

DFU_User_Guide.md

File metadata and controls

52 lines (26 loc) · 1.64 KB

DFU User Guide

For Blend2 and Nano2


Bootloader Version

  • SoftdeviceS132-2.0-SDK11-Bootloader-20161221.hex

Features

  • This bootloader is made up of softdevice, DFU_bootloader.
  • Softdevice version : S132_2.0.
  • DFU bootloader is based on DFU example in nordic SDK11.0.
  • Memory range of bootloader : 0x0007A000~0x0007F000

How to enter DFU mode:

In DFU mode, LED should blink in 100ms.If no any operations, will exit after 30s.

1. Booloader Button

    Bootloader Button is P0_04.Connecting to GND, then power on or reset.

2. DFU service

    Add dfu service to application(Refer to official examples).

How to create .zip:

Tools

    nrfutil.exe. Get this by installing the "Master Control Panel".

Command Line

nrfutil.exe dfu genpkg --application [app_file_name].hex --application-versio   [app_version] --softdevice [sd_file_name].hex --bootloader [bootloader_name].hex --    dev-type [dev-type] --dev-revision [dev-revision] --sd-req [supported-softdevice-ids] [name of distribution packet].zip

Note : app_version use default 0xFFFFFFFF,dev-type use default 0xFFFF, dev-revision use default 0xFFFF, supported-softdevice-ids use default 0xFFFE.

e.g. : create a application zip

nrfutil.exe dfu genpkg --application D:\Blink.hex --application-version 0xFFFFFFFF --dev-type 0xFFFF --dev-revision 0xFFFF --sd-req 0xFFFE D:\Blink.zip

e.g. : create softdevice+bootloader zip

nrfutil.exe dfu genpkg --application-version 0xFFFFFFFF --softdevice D:\softdevice.hex --bootloader D:\bootloader.hex --dev-type 0xFFFF --dev-revision 0xFFFF --sd-req 0xFFFE D:\Softdevice_bootloader.zip