Transfer problems?
Transfer not working? See some troubleshooting tips.
While you’re writing and testing your programs, you’ll mostly be running them in the simulator, but once you’ve finished your program you can compile it and run it on your micro:bit.
With Chrome (version 79 and newer), you can transfer your program to the micro:bit with a single click. If your browser supports WebUSB, you can use the one-click download feature to send your programs to the micro:bit. See the WebUSB page to learn how to pair your micro:bit with a computer and transfer your programs with a single click.
The basic steps are:
.hex
file.hex
file from your computer onto the micro:bit driveFirst, connect the micro:bit:
Connect the small end of the USB cable to the micro USB port on your micro:bit.
Connect the other end of the USB cable to a USB port on your computer.
Your computer should recognise your micro:bit as a new drive. On computers
running Windows, MICROBIT
appears as a drive under Devices and drives. On a Mac
it appears as a new drive under Devices.
You only need to do this once.
.hex
file,
so save it into the MICROBIT
drive.
Otherwise, continue with one of the options in Step 4 below.If the file was saved onto your computer, you will need to transfer it to the micro:bit.
Your .hex
file (created in Step 3 above) appears as a download at the bottom of the browser.
Click on the arrow next to the name of the file and then click Show in folder.
In File Explorer, drag and drop the .hex
file from the download folder onto the MICROBIT
drive.
Alternatively, right-click on the hex file, choose Send to, and then MICROBIT.
MICROBIT
drive, you have programmed it into the
flash memory on the micro:bit, which means even after you unplug the micro:bit,
your program will still run if the micro:bit is powered by battery.