BOSSAC(1)

NAME
bossac - Command line programmer for Atmel SAM ARM microcontrollers

SYNOPSIS
bossac [OPTION...] [FILE]

DESCRIPTION
Basic Open Source SAM-BA Application (BOSSA) Version 1.3a Flash programmer for Atmel SAM devices. Copyright © 2011-2012 ShumaTech (http://www.shumatech.com)

OPTIONS

-e, --erase
    erase the entire flash

-w, --write
    write FILE to the flash; accelerated when combined with erase option

-r, --read[=SIZE]
    read SIZE from flash and store in FILE; read entire flash if SIZE not specified

-v, --verify
    verify FILE matches flash contents

-p, --port=PORT
    use serial PORT to communicate to device; default behavior is to auto-scan all serial ports

-b, --boot[=BOOL]
    boot from ROM if BOOL is 0; boot from FLASH if BOOL is 1 [default]; option is ignored on unsupported devices

-c, --bod[=BOOL]
    no brownout detection if BOOL is 0; brownout detection is on if BOOL is 1 [default]

-t, --bor[=BOOL]
    no brownout reset if BOOL is 0; brownout reset is on if BOOL is 1 [default]

-l, --lock[=REGION]
    lock the flash REGION as a comma-separated list; lock all if not given [default]

-u, --unlock[=REGION] unlock the flash REGION as a comma-separated list;
    unlock all if not given [default]

-s, --security
    set the flash security flag

-i, --info
    display device information

-d, --debug
    print debug messages

-h, --help
    display this help text

EXAMPLES

bossac -e -w -v -b image.bin
    # Erase flash, write flash with image.bin, # verify the write, and set boot from flash

bossac -r0x10000 image.bin
    # Read 64KB from flash and store in image.bin

REPORTING BUGS
Report bugs to <bugs@shumatech.com>