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
    ExpressLuke GSI
    ExpressLuke GSI
    This SourceForge download page was to
    grant users to download my source built
    GSIs, based upon phhusson's great
    work. I build both Android Pie and
    Android 1...
    Download ExpressLuke GSI
  • 2
    PyQt
    PyQt
    PyQt is the Python bindings for
    Digia's Qt cross-platform
    application development framework. It
    supports Python v2 and v3 and Qt v4 and
    Qt v5. PyQt is avail...
    Download PyQt
  • 3
    garlic3
    garlic3
    Gambas3* coding tools and examples for
    use in SMB or other organizations that
    make internal programs. E.g. from
    database fields to class sourcecode with
    DbInfo...
    Download garlic3
  • 4
    Sardi
    Sardi
    Sardi is a complete restyling and
    optimisation of svg code. 6 choices for
    your applications and 10 kind of folders
    to use in your file manager. The sardi
    icons...
    Download Sardi
  • 5
    LMMS Digital Audio Workstation
    LMMS Digital Audio Workstation
    LMMS is a free cross-platform software
    which allows you to produce music with
    your computer. If you like this project
    consider getting involved in the project
    h...
    Download LMMS Digital Audio Workstation
  • 6
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS Real Time Kernel (RTOS)
    FreeRTOS is a market-leading real-time
    operating system (RTOS) for
    microcontrollers and small
    microprocessors. Distributed freely
    under the MIT open source lice...
    Download FreeRTOS Real Time Kernel (RTOS)
  • 7
    Avogadro
    Avogadro
    Avogadro is an advanced molecular
    editor designed for cross-platform use
    in computational chemistry, molecular
    modeling, bioinformatics, materials
    science and ...
    Download Avogadro
  • More »

Linux commands

Ad