Atmel Studio Command Line Interface Copyright (C) 2015 Atmel Corporation. Usage: atprogram [options] [arguments] [ [arguments] ...] Options: -t --tool Tool name: avrdragon, avrispmk2, avrone, jtagice3, jtagicemkii, qt600, stk500, stk600, samice, edbg, atmelice, powerdebugger, megadfu or flip. -s --serialnumber The programmer/debugger serialnumber. Must be specified when more than one debugger is connected. -c --comport The com port to use for the programmer/debugger. e.g. -c COM1 or -c 1 -i --interface Physical interface: aWire, debugWIRE, HVPP, HVSP, ISP, JTAG, PDI, TPI or SWD. -d --device Device name. E.g. atxmega128a1 or at32uc3a0256. -v --verbose Verbose output (debug). -h --host Target host which runs the backend process. -p --port Specify which port to use for the backend process. Ignored if the host option is not given. -l --logfile Log file for atpbackend output. -f --force Force command even if firmware is not up to date. -cl --clock The frequency to use for communication with a device (hz, khz, mhz, default hz). E.g. -cl 10mhz -mb --max-baudrate The maximum baud rate for communication on awire (bps). -xr --externalreset Apply external reset when starting a session. -dc --daisychain Set up a JTAG daisychain. Arguments are . -dca --daisychain_auto Set up a JTAG daisychain. Arguments are for automatically selecting device in jtag chain - Auto selection is supported only for SAM devices. -sa --snippet_addr Address where flash programming ram snippet should be loaded. -nr --no_ram Do not use ram snippet to program flash. -tv --target-voltage Set the STK600, STK500 or Powerdebugger target voltage (float value). -a0 --aref0 Set the STK600 Aref0 or STK500 aref generator voltage (float value). -a1 --aref1 Set the STK600 Aref1 generator voltage (float value). -cg --clock-generator Set the STK600 or STK500 clock generator frequency (hz, khz, mhz, default hz). --timeout Set the timeout value in seconds for commands. The default is 180 seconds. Set to 0 for no timeout. -q --quiet Do not display activity indicator. -? --help Display help information. -V --version Display version information. -cf --configfile Set the configuration setting file name with path. Commands: calibrate Performs the oscillator calibration procedure. chiperase Full erase of chip. dwdisable Disable debugWIRE interface. erase Erase the specified memory. exitcodes Display possible exit codes for atprogram. help Displays help for a specific command. info Display information about a device. interactive Run in interactive mode. list Detect and print information about connected Atmel Tools. migration Display help for migration from old command line utilities. panel Pops-up Tool's settings Dialog. parameters Sets given parameters on the given tool without doing anything else. powercalibration Performs the calibration procedure for the Powerdebugger. program Program device with data from . read Read the contents of the memory on the device. reset Reset all domains and jump to the reset vector. secure Set the security bit on UC3 and ARM devices. selftest Performs the selftest procedure on Atmel-ICE. verify Verify content of memory based on a file. version Display the version. write Write to the memory with values entered on the command line. Arguments: Use atprogram help to get available attributes. Example: atprogram -t jtagice3 -i jtag -d at32uc3b0512 program -f e:\file.elf atprogram -t avrone -i pdi -d atxmega128a1 chiperase For command specific help, use atprogram help