Table 98. AVR8 SET/GET parameters

ContextIDDescription / valuesAccessSize
AVR8_CTXT_CONFIG AVR8_CONFIG_VARIANT

AVR8_VARIANT_LOOPBACK

AVR8_VARIANT_TINYOCD

AVR8_VARIANT_MEGAOCD

AVR8_VARIANT_XMEGA

AVR8_VARIANT_NONE

W1 byte
AVR8_CONFIG_FUNCTION

AVR8_FUNC_NONE

AVR8_FUNC_PROGRAMMING

AVR8_FUNC_DEBUGGING

W1 byte
AVR8_CTXT_PHYSICALAVR8_PHY_PHYSICAL

AVR8_PHY_INTF_NONE

AVR8_PHY_INTF_JTAG

AVR8_PHY_INTF_DW

AVR8_PHY_INTF_PDI

W1 byte
AVR8_PHY_JTAG_DAISY

Devices before << 24

Devices after << 16

IR-bits before << 8

IR-bits after << 0

Note that daisy chain settings must be written before activating the JTAG physical.

RW4 bytes
AVR8_PHY_DW_CLK_DIVdebugWIRE clock division factorW1 byte
AVR8_PHY_MEGA_PRG_CLK

JTAG clock frequency (kHz) for programming megaAVR

Note: this frequency is limited by the target silicon itself

W2 bytes
AVR8_PHY_MEGA_DBG_CLK

JTAG clock frequency (kHz) for debugging megaAVR

Note: this frequency must be less than a quarter of the active target clock

W2 bytes
AVR8_PHY_XM_JTAG_CLK

JTAG clock frequency (kHz) for programming and debugging AVR XMEGA

Note: this frequency is limited by the target silicon itself

W2 bytes
AVR8_PHY_XM_PDI_CLK

PDI clock frequency (kHz) for programming and debugging AVR XMEGA

Note: this frequency is limited by the target silicon itself

W2 bytes
AVR8_CTXT_DEVICE see tables below for family specific contextsW 
AVR8_CTXT_OPTIONSAVR8_OPT_RUN_TIMERSRun timers in stopped mode. This option allows timers to continue to run even when the device has entered stopped mode. This is especially useful for maintaining PWM output values for example in motor control applications. Note that timer interrupts will NOT be serviced until RUN mode is entered. (Not available in AVR XMEGA) W1 byte
AVR8_OPT_DISABLE_DBPDisables data breaks when resetting. Used internally to prevent variable initialisation routines from triggerring data breakpoints.W1 byte
AVR8_OPT_ENABLE_IDREnables messages from the target core. IDR messages can be sent from some target types by writing to the OCD data register during RUN mode. When this option is enabled, these data values will be routed to USB EVENT messages.W1byte
AVR8_OPT_POLL_INTAdjusts how often the debugger polls the target's state. Value given as polling interval in ms. Possible values: 1, 5, 10, 20, 50 and 100.W1byte
AVR8_CTXT_SESSIONAVR8_SESS_MAIN_PC (deprecated)Program counter value [word address] of main() functionW4 bytes
AVR8_CTXT_TESTAVR8_TEST_TGT_RUNNING

Actively polls the targets RUN/STOP state.

0x00 = STOPPED

0x01 = RUNNING

R1 byte