Skip to content

Upgrading the DAPLink Firmware

Introduction

M.2 Dock can be easily upgraded via the on-chip bootloader software over USB. An update ensures you have the most recent features and improvements for your current version of DAPLink firmware.

This section describes how to upgrade to the latest DAPLink firmware.

What you'll need

  • M.2 Dock
  • macOS, Linux, or Windows 7 or newer
  • 1x USB-C Cable

Prepare the firmware

The current release DAPLink firmware is hosted on GitHub Release Site with the name m2_dock_<target>_<version>.bin.

Update the firmware

To update the firmware, follow these steps:

  1. Enter DFU mode by pressing DFU/RST button during connecting to the Debugger USB port. The board should mount as a disk drive called CRP DISABLD.
  2. Open CRP DISABLD, and remove the file called firmware.bin.
  3. Copy the new firmware (.bin-format file prepared above) onto CRP DISABLD:
    • On Windows, replace firmware.bin with the new firmware.
    • On Linux/macOS, use dd command:
      dd if={new_firmware.bin} of={firmware.bin} conv=notrunc
      
  4. Unplug your M.2 Dock, and plug it back in. It should now appear as a disk drive called M.2 Dock.

Verify the update

Check the DETAILS.TXT file in M.2 Dock drive to verify the Interface Version.

Create an Issue

Interested in contributing to this project? Want to report a bug? Feel free to click here: