anchor.diff:  Note that only some of them apply to mesh-DFU, as the tool still supports the regular
   Nordic Semiconductor DFU transfer.
   
  -== 11. Transfer the DFU-file over serial with the pc-nrfutil tool.
  +== 12. Transfer the DFU-file over serial with the pc-nrfutil tool.
   
   WARNING: For this step, it is important that you close any running instance of nRFgo Studio,
   as it has been known to trip up the reset procedure for the nRF51.
  
positive.code: The bootloader verification script does not alter your setup in any way, and you may safely continue
  without it. It serves as a checkpoint and help utility in the process.
  
  == 10. Generate a DFU-file with the pc-nrfutil tool, giving arguments that match the device-page.
  To do a DFU, you need to create a DFU-file. The DFU file is really
  a .zip, which contains the application binary, along with some metadata. Matching the FWIDs in
  your device page file, call the nrfutil tool from /nRF51/bootloader/:
  
negative.code: 
  IMPORTANT: All precompiled hex-files are made for the 256k Flash/32k RAM version of the nRF51. Recompile to make them work on other hardware configurations.
  
  == LED color meanings
  - RED: Initial app, no serial
  - None: Bootloader
  - Green: New app
  
  == Steps
  
  1. Turn off mass storage driver on all devices
  2. Generate a signing key file with pc-nrfutil (optional)
  3. Paste the public key from pc-nrfutil into your device-page (optional)
  4. Generate a hex version of your device-page with the tool in /nRF51/bootloader/pc-util.
  5. Erase all chip memory including UICR on all devices.
  6. Flash the Softdevice on all devices.
  7. Flash the serial bootloader on all devices.
  8. Flash the device page on all devices.
  9. Flash the first application on all devices (serial version on the serial-gateway device).
  10. Verify your bootloader with the bootloader verification script.
  11. Generate a DFU-file with the pc-nrfutil tool, giving arguments that match the device-page.
  12. Transfer the DFU-file over serial with the pc-nrfutil tool.
  
  == 1. Turn off mass storage driver on all devices (Windows only)
  
  For this step, you'll need JLink.exe, distributed with the
  link:https://www.segger.com/jlink-software.html[Segger JLink toolchain].
  
  Open Jlink Commander (JLink.exe) and type
  
  `usb`
  
  If you have more than one device connected, you'll get a prompt to select a serial number from a
  list. Select the first device that you'd like to flash a bootloader to.
  
  Wait for the device to be connected, then type
  
  `msddisable`
  
  Repeat the procedure for all devices. To move to the next device, simply call `usb` again.
  
  == 2. Generate a signing key file with pc-nrfutil (optional)
  You need a signing key if you want to verify and sign the DFU. Use nrfutil to generate a signing
  key:
  
  