![Adafruit Feather M4 Express Manual Download Page 174](http://html1.mh-extra.com/html/adafruit/feather-m4-express/feather-m4-express_manual_2845857174.webp)
Running bossac on the command line
If you are using the Arduino IDE, this step is not required. But sometimes you want to read/write custom binary files,
say for loading CircuitPython or your own code. We recommend using bossac v 1.7.0 (or greater), which has been
tested.
The Arduino branch is most recommended
(https://adafru.it/vQb)
.
You can download the latest builds here.
(https://adafru.it/s1B)
The
mingw32
version is for Windows,
apple-darwin
for
Mac OSX and various
linux
options for Linux. Once downloaded, extract the files from the zip and open the command
line to the directory with
bossac
For example here's the command line you probably want to run:
bossac -e -w -v -R ~/Downloads/adafruit-circuitpython-feather_m0_express-3.0.0-adafruit.5.bin
This will
-e
rase the chip,
-w
rite the given file,
-v
erify the write and
-R
eset the board. After reset, CircuitPython
should be running. Express boards may cause a warning of an early eject of a USB drive but just ignore it. Nothing
important was being written to the drive. A hard power-reset is also recommended after bossac, just in case.
© Adafruit Industries
https://learn.adafruit.com/adafruit-feather-m4-express-atsamd51
Page 179 of 183