Program Command Usage

Usage: atprogram [options] program <arguments>

Options: Execute the atprogram without arguments to list the available options.

Arguments:

-fl --flash: Program flash address space. tinyAVR, megaAVR, and AVR XMEGA only.

-ee --eeprom: Program EEPROM address space.

-us --usersignature: Program user signature.

-up --userpage: Program user page.

-fs --fuses: Program fuses.

-lb --lockbits: Program lockbits.

-f --file (file): File to be programmed. Intel® .hex, .elf, or binary.

-o --offset (offset): Input file contents will be written to this offset. Default offset is 0. Only valid for binary file format.

--format (format): Specify the file format. Supported input formats are 'elf', 'hex', and 'bin'.

-c --chiperase: Perform a chip erase before programming.

-e --erase: Erase only affected pages before programming. AVR UC3 and AVR XMEGA only. SAM devices will always do this.

--verify: Verify memory after programming.

Examples: