MachineQ Developer Documentation logo DOCS

DFU Instructions

Use this procedure to do a Device Firmware Upgrade (DFU) on the device with nRF Connect for Mobile.

Before You Begin

  • A mobile phone with nRF Connect for Mobile.
  • The firmware file for the device.

Note: The firmware file must be a .zip file.

DFU Procedure

  1. Download nRF Connect for Mobile to your phone.
  2. Download the firmware to your phone. Open the firmware in nRF Connect.
  3. Activate DFU mode. Use one of these methods:
    • Button (recommended): Push the button 3 times with a short press. Then push the button 1 time with a long press. The device gives 3 fast green blinks.
    • LoRaWAN: Send a downlink on port 133 with the payload 0x4D524553.
    • 2.4 GHz Low Energy: Write 0x537061636568616D to the 0x00000BEE9 characteristic.
  4. Connect to Update XXXXXX. XXXXXX is the last 3 bytes of the 2.4 GHz Low Energy MAC address.
  5. Go to the DFU tab of the device.
  6. Select the firmware that you want to flash into the device.
  7. Click Start. Wait until the firmware flash is complete. When the flash is complete, the procedure is complete.

Note: You have about 2 minutes to do steps 4 through 7. After 2 minutes, the device starts the current firmware. If this occurs, do step 3 again.

Button: 3 short presses and 1 long press

LoRaWAN: downlink on port 133, payload 0x4D524553

2.4 GHz Low Energy: write 0x537061636568616D to 0x00000BEE9

Yes

No

1. Download nRF Connect for Mobile

2. Download the .zip firmware and open it in nRF Connect

3. Activate DFU mode

Device gives 3 fast green blinks

DFU mode is active

4. Connect to Update XXXXXX

5. Go to the DFU tab

6. Select the firmware

7. Click Start and wait for the flash

Steps 4 through 7 complete in about 2 minutes?

Firmware update is complete

Device starts the current firmware

What's Next?