[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

3.1 Terminal Mode Commands

The following commands are implemented:

dump memtype addr nbytes

Read nbytes from the specified memory area, and display them in the usual hexadecimal and ASCII form.


Continue dumping the memory contents for another nbytes where the previous dump command left off.

write memtype addr byte1byteN

Manually program the respective memory cells, starting at address addr, using the values byte1 through byteN. This feature is not implemented for bank-addressed memories such as the flash memory of ATMega devices.


Perform a chip erase.

send b1 b2 b3 b4

Send raw instruction codes to the AVR device. If you need access to a feature of an AVR part that is not directly supported by AVRDUDE, this command allows you to use it, even though AVRDUDE does not implement the command. When using direct SPI mode, up to 3 bytes can be omitted.


Display the device signature bytes.


Enter direct SPI mode. The pgmled pin acts as slave select. Only supported on parallel bitbang programmers.


Display the current part settings and parameters. Includes chip specific information including all memory types supported by the device, read/write timing, etc.


Return to programming mode (from direct SPI mode).

verbose [level]

Change (when level is provided), or display the verbosity level. The initial verbosity level is controlled by the number of -v options given on the command line.


Give a short on-line summary of the available commands.


Leave terminal mode and thus AVRDUDE.

In addition, the following commands are supported on the STK500 and STK600 programmer:

vtarg voltage

Set the target’s supply voltage to voltage Volts.

varef [channel] voltage

Set the adjustable voltage source to voltage Volts. This voltage is normally used to drive the target’s Aref input on the STK500 and STK600. The STK600 offers two reference voltages, which can be selected by the optional parameter channel (either 0 or 1).

fosc freq[M|k]

Set the master oscillator to freq Hz. An optional trailing letter M multiplies by 1E6, a trailing letter k by 1E3.

fosc off

Turn the master oscillator off.

sck period

STK500 and STK600 only: Set the SCK clock period to period microseconds.

JTAG ICE only: Set the JTAG ICE bit clock period to period microseconds. Note that unlike STK500 settings, this setting will be reverted to its default value (approximately 1 microsecond) when the programming software signs off from the JTAG ICE. This parameter can also be used on the JTAG ICE mkII/3 to specify the ISP clock period when operating the ICE in ISP mode.


STK500 and STK600 only: Display the current voltage and master oscillator parameters.

JTAG ICE only: Display the current target supply voltage and JTAG bit clock rate/period.

[ << ] [ < ] [ Up ] [ > ] [ >> ]

This document was generated on December 16, 2021 using texi2html 5.0.