2017-07-24 23:12:59 +02:00
# Uploading programs to your @boardname@
2016-03-26 00:47:20 +01:00
2017-07-24 23:12:59 +02:00
Most of the time you'll be writing and testing your programs in the [simulator ](/device/simulator ). Once you've finished your program though, you can **compile** it and run it on your @boardname @. Transferring your program to the @boardname @ is as simple as saving a file to a drive on your computer.
2016-03-26 00:47:20 +01:00
2017-07-24 23:12:59 +02:00
When you plug your @boardname @ into USB, a new drive is created with the ** @drivename @** label. This is where you'll save your program.
![](/static/mb/device/usb-thin.jpg)
2016-09-06 10:49:08 +02:00
2017-07-24 23:12:59 +02:00
The basic steps are:
2017-03-24 15:39:59 +01:00
2017-08-18 16:43:50 +02:00
1. Connect your @boardname @ to your computer with a USB cable.
2017-07-24 23:12:59 +02:00
2. Click **Download** to download the `.hex` file.
3. Move the `.hex` file from your computer onto the ** @drivename @** drive. The next section has instructions for the browser that you're using.
2017-03-24 15:39:59 +01:00
2017-07-24 23:12:59 +02:00
## How to transfer the program with your browser
2017-03-24 15:39:59 +01:00
2017-07-24 23:12:59 +02:00
Here are instructions for different browsers on Windows and Mac computers. Choose the one you're using:
2016-03-26 00:47:20 +01:00
2017-09-07 22:42:08 +02:00
### Windows browsers
2016-03-26 00:47:20 +01:00
2017-07-24 23:12:59 +02:00
* [Microsoft Edge ](/device/usb/windows-edge )
* [Internet Explorer ](/device/usb/windows-ie )
* [Chrome ](/device/usb/windows-chrome )
* [Firefox ](/device/usb/windows-firefox )
2016-03-26 00:47:20 +01:00
2017-09-07 22:42:08 +02:00
### Mac browsers
2016-03-26 00:47:20 +01:00
2017-07-24 23:12:59 +02:00
* [Safari ](/device/usb/mac-safari )
* [Chrome ](/device/usb/mac-chrome )
* [Firefox ](/device/usb/mac-firefox )
2016-03-26 00:47:20 +01:00
2017-09-07 22:42:08 +02:00
## ~hint
2016-03-26 00:47:20 +01:00
2016-09-15 17:35:01 +02:00
Transfer not working? See some [troubleshooting tips ](/device/usb/troubleshooting ).
2016-03-26 00:47:20 +01:00
2017-09-07 22:42:08 +02:00
## ~