EnglishFrenchSpanish

Ad


OnWorks favicon

bossac - Online in the Cloud

Run bossac in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command bossac that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

NAME


bossac - Command line programmer for Atmel SAM ARM microcontrollers

SYNOPSIS


bossac [OPTIONS] [FILE]

DESCRIPTION


BOSSA - the Basic Open Source SAM-BA Application - is a flash programmer for Atmel SAM
microcontrollers. This is the command line interface for writing binary images to the
target microcontroller's FLASH or ROM over a USB or serial connection. Secondarily bossac
may be used to dump binary data already on the target microcontroller or display
diagnostic information about the device.

OPTIONS


-e, --erase
Erase the target's entire flash memory before performing any read or write
operations.

-w, --write
Write FILE to the target's flash memory. This operation can be expedited immensely
if used in conjunction with the --erase option.

-r, --read[=SIZE]
Read SIZE bytes from the target's flash memory and store the contents in FILE. If
SIZE is not specified the entire contents on the target's flash memory will
subsequently be read and written to disk.

-v, --verify
Verify that FILE matches the contents of flash on the target, or vice-versa if you
prefer.

-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.

-b, --boot[=BOOL]
Boot from ROM if BOOL is 0. Boot from FLASH if BOOL is 1. (The latter is default.)
This option is completely disregarded on unsupported devices.

-c, --bod[=BOOL]
Disable brownout detection if BOOL is 0. Enable brownout detection if BOOL is 1.
(The latter is default.)

-t, --bor[=BOOL]
Disable brownout reset if BOOL is 0. Enable brownout reset if BOOL is 1. (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).

-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).

-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.

-d, --debug
Print verbose diagnostic messages for debug purposes.

-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

Use bossac online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

  • 1
    Eclipse Tomcat Plugin
    Eclipse Tomcat Plugin
    The Eclipse Tomcat Plugin provides
    simple integration of a tomcat servlet
    container for the development of java
    web applications. You can join us for
    discussio...
    Download Eclipse Tomcat Plugin
  • 2
    WebTorrent Desktop
    WebTorrent Desktop
    WebTorrent Desktop is for streaming
    torrents on Mac, Windows or Linux. It
    connects to both BitTorrent and
    WebTorrent peers. Now there's no
    need to wait for...
    Download WebTorrent Desktop
  • 3
    GenX
    GenX
    GenX is a scientific program to refine
    x-ray refelcetivity, neutron
    reflectivity and surface x-ray
    diffraction data using the differential
    evolution algorithm....
    Download GenX
  • 4
    pspp4windows
    pspp4windows
    PSPP is a program for statistical
    analysis of sampled data. It is a free
    replacement for the proprietary program
    SPSS. PSPP has both text-based and
    graphical us...
    Download pspp4windows
  • 5
    Git Extensions
    Git Extensions
    Git Extensions is a standalone UI tool
    for managing Git repositories. It also
    integrates with Windows Explorer and
    Microsoft Visual Studio
    (2015/2017/2019). Th...
    Download Git Extensions
  • 6
    eSpeak: speech synthesis
    eSpeak: speech synthesis
    Text to Speech engine for English and
    many other languages. Compact size with
    clear but artificial pronunciation.
    Available as a command-line program with
    many ...
    Download eSpeak: speech synthesis
  • More »

Linux commands

Ad