BOSSAC(1)
π BOSSAC(1) β the bossa girlie manual π
okay so bestie, welcome to the bossac manual page, straight out of the BOSSA manual, no cap π«Ά
β¨ NAME β¨
bossac β command line programmer for Atmel SAM ARM microcontrollers π¦
πΈ SYNOPSIS πΈ
bossac [OPTIONS] [FILE]
π DESCRIPTION π
so, BOSSA β that's the Basic Open Source SAM-BA Application β is a flash programmer for Atmel SAM microcontrollers. iconic, i know π
this is the command line interface for writing binary images to the target microcontroller's FLASH or ROM over a USB or serial connection. that's the main character job, fr fr.
secondarily (like, side quest energy) bossac may be used to dump binary data that's already chillin' on the target microcontroller, or to display diagnostic information about the device. π
π OPTIONS π
-e,--eraseβ erase the target's entire flash memory before doing any read or write operations. like a full reset of the vibe π-w,--writeβ write FILE to the target's flash memory. this operation can be expedited immensely if you use it in conjunction with the--eraseoption. dynamic duo behavior β¨-r,--read[=SIZE]β read SIZE bytes from the target's flash memory and store the contents in FILE. if SIZE isn't specified, the entire contents on the target's flash memory will subsequently be read and written to disk. give it nothing and it takes everything, periodt π-v,--verifyβ verify that FILE matches the contents of flash on the target, or vice-versa if you prefer. both directions are valid, she's flexible π-p,--port[=PORT]β use the serial port PORT to communicate with the device. by default this program will automatically scan all serial ports looking for a supported device. she'll go find her own friends π¦-b,--boot[=BOOL]β boot from ROM if BOOL is0. boot from FLASH if BOOL is1. (the latter is default.) this option is completely disregarded on unsupported devices. sorry bestie, no effect there π-c,--bod[=BOOL]β disable brownout detection if BOOL is0. enable brownout detection if BOOL is1. (the latter is default.) π§-t,--bor[=BOOL]β disable brownout reset if BOOL is0. enable brownout reset if BOOL is1. (the latter is default.) π§-l,--lock[=REGION]β lock the flash region REGION. multiple regions may be specified as a comma-separated list. all regions will be locked if no REGION is given (default). lock her down π-u,--unlock[=REGION]β unlock the flash region REGION. multiple regions may be specified as a comma-separated list. all regions will be unlocked if no REGION is given (default). freedom era β¨-s,--securityβ set the flash security flag. π‘οΈ-U,--force_usb_port[=BOOL]β enable automatic detection of the target's USB port if BOOL is false. disable USB port autodetection if BOOL is true. (the former is default.) π-R,--resetβ reset the CPU after writing FILE to the target. this option is completely disregarded on unsupported devices. π-i,--infoβ display diagnostic information identifying the target device. get to know her π-d,--debugβ print verbose diagnostic messages for debug purposes. yapper mode activated π£οΈ-h,--helpβ display short command line help information. π«Ά
π₯ EXAMPLES π₯
bossac -e -w -v -b image.bin # Erase FLASH,
write image.bin to FLASH, verify the write, and set boot from FLASH
bossac --port=ttyACM0 -U false -e -w -v -b -R image.bin # Do the same
thing as the previous example, except forceably write to the device
connected to ttyACM0 and reset the CPU after verifying the write
bossac -r0x10000 image.bin # Read 64KB
from FLASH on the target device, then write it out to image.bin on your
hard disk
like, erase FLASH, write image.bin to FLASH, verify the write, and set boot from FLASH β all in one line. ate and left no crumbs π
π AUTHOR π
this manual page was written by Karl Lenz <xorangekiller@gmail.com> for the Debian project (but may be used by others). shoutout to him π«Ά
π COPYRIGHT π
Copyright (c) 2011-2013 ShumaTech <http://www.shumatech.com>
copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.
Bossac is provided "as is" with no warranty. this program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. on Debian systems, the complete text of the GNU General Public License version 3 can be found in "/usr/share/common-licenses/GPL-3". π
β SEE ALSO β
ngl if you got this far you're literally a systems girlie now. go flash something π
okay that's the whole thing bestie β this was bossac 1.3a, from February 2014, and you read it all. so proud of you π₯Ήπβ¨
π¦ where this page comes from
- debian bookworm: bossa-cli 1.9.1-3+b2 Β· GPL-3.0-or-later
- debian trixie: bossa-cli 1.9.1-3+b6 Β· GPL-3.0-or-later
- ubuntu jammy: bossa-cli 1.9.1-2ubuntu1 Β· GPL-3.0-or-later
- ubuntu noble: bossa-cli 1.9.1-3ubuntu5 Β· GPL-3.0-or-later
- ubuntu resolute: bossa-cli 1.9.1-3ubuntu6 Β· GPL-3.0-or-later
- ubuntu stonking: bossa-cli 1.9.1-3ubuntu6 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms