If you have a BBC micro:bit, or other mbed hardware, and it is connecting as a drive called MAINTENANCE instead of MICROBIT, then you are in the maintenance mode provided for updating the DAPLink software (see below).
The way you access maintenance mode is by pluging in your board to your computer's USB port while holding down the reset button. If you are in maintenance mode by mistake, this might be how it happened.
To leave maintenance mode, unplug the board from USB, make sure the Reset button is not pressed, and plug the board back in.
The board should now show up with the correct name (for example, MICROBIT). If this fails to work, please follow the steps outlined in “Updating your DAPLink firmware” below
What is DAPLink?
DAPlink is the software that runs on the interface chip of an mbed-enabled board. It provides the USB interface that allows you to drag-and-drop binaries onto the target microcontroller.
Updating your DAPLink firmware
Note: Firmware on your micro:bit should be up-to-date. You can find the version in the 'version.txt' file on the micro:bit. The latest release is:
For commercially purchased micro:bits: 0241-pf: Update the URL so that it doesn't point to microbit.co.uk, use the newest version of DAPLink as a base
For micro:bits from the BBC free drop: 0234: Reject hex files with incorrect vectors or memory layouts
If your micro:bit will not leave maintenance mode, then you may need to update or replace the firmware on the board by following these steps:
To update the firmware:
- Download the newest firmware:
- Unplug the micro:bit.
- Press and hold down the reset button next to the USB connector.
- The micro:bit will power on. Your computer's file browser will list it as a mass storage device called "MAINTENANCE".
- Copy the firmware hex file you downloaded in step 1 to the "MAINTENANCE" device.
- Wait until the drive dismounts and the system (orange) LED is flashing continuously.
- Unplug the micro:bit and plug in again, and the board should enumerate as a MICROBIT.
Changelog and previous versions
0241-pf: Update the URL so that it doesn't point to microbit.co.uk, use the newest version of DAPLink as a base
0234: Reject hex files with incorrect vectors or memory layouts
0231: Automatically run downloaded hex file: (full changelog below)
0230: Don't accept Nordic hex files on the DAPLink drive
0229: change URLs to BBC from mbed.org