Atmel ATSTK600 500 Starter Kit and Development System. ATSTK600 ATSTK600 Data Sheet
Product codes
ATSTK600
AVR079
41
8133A-AVR-04/08
11.2 PARAM_SW_MAJOR
The PARAM_SW_MAJOR and PARAM_SW_MINOR returns the firmware version of
the master mcu.
the master mcu.
11.3 PARAM_SW_MINOR
11.4 PARAM_VTARGET
The parameter value is voltage in volts x10, i.e. a parameter value of 42 (decimal)
corresponds to 4.2V.
corresponds to 4.2V.
Note: This parameter cannot be set when the STK600 is in programming mode.
The maximum target voltage level is dependant on what target routing/socket board is
mounted.
mounted.
To find the maximum allowable target voltage the board-id must be read before
setting a new voltage.
setting a new voltage.
The maximum voltage for the board is found in “targetboard.xml”
11.5 PARAM_STATUS_TGT_CONN
This parameter returns the same status value as
CMD_CHECK_TARGET_CONNECTION.
CMD_CHECK_TARGET_CONNECTION.
See chapter 3.9
The difference between using the command and the GET_PARAM is that bits 4-5 are
only updated after the command has been run.
only updated after the command has been run.
11.6 PARAM2_SCK_DURATION
This is a two-byte value, which sets the ISP frequency.
When using the ISP programming interface, the ISP clock frequency must not exceed
what the target device supports. (The maximum ISP clock frequency depends on the
device system clock, internal clock division etc.)
what the target device supports. (The maximum ISP clock frequency depends on the
device system clock, internal clock division etc.)
The STK600 supports ISP frequencies from 1953 Hz up to 8.0 MHz. The value for
PARAM_SCK_DURATION can be found using the following algorithm:
PARAM_SCK_DURATION can be found using the following algorithm:
unsigned int CalcSckDur(int freq)
{
sck_dur = ceil((16e6/(2*freq))-1);
return __min(4096, sck_dur);
// 4096 is an illegal value
}
11.7 PARAM_CONTROLLER_INIT
This parameter is internally set to 0 when the programmer MCU resets. The host
software can write any value it wants to this parameter, and it can be read back later.
software can write any value it wants to this parameter, and it can be read back later.