The ATmega406 is supported by Atmel STK500 in FW only. This means that the STK500 motherboard nor any top module supports the ATmega406 pinout. And it is only High Voltage Parallel Programming that is support as ATmega406 does not have ISP interface. The primary programming interface for ATmega406 is JTAG, supported by JTAGICE mkII. High Voltage Parallel Programming of ATmega406 is only meant to be used in the case where the JTAG interface is disabled by fuse on the ATmega406.
This section describes which pins from STK500 that must be strapped to the ATmega406 in order to be able to High Voltage Parallel Program the device.
The following jumpers on the STK500 must be mounted:
VTARGET
RESET
XTAL1
OSCSEL, between pin 1 and pin 2
BSEL2
Connect these pins from STK500 to the ATmega406:
STK500 | ATmega406 |
---|---|
PROG DATA [0..7] | PORTB [0..7] |
PROG CTRL [1..7] | PORTA [1..7] |
PA0 (PORTA) | PA0 |
RESET (PORTE/AUX) | RESET |
XTAL1 (PORTE/AUX) | XTAL1 |
VTG (4.5-5.5V) | VCC |
GND | GND |