Using the ATAVRAUTO100
2-11 ATAVRAUTO100 User Guide
7697B–AUTO–09/07
2.5.2 Programming with AVR ISP via SPI
Both the Flash and EEPROM memory arrays can be programmed using the serial SPI
bus while RESET is pulled to G ND. The seri al interface consists of pins SCK, MOSI
(input) and MISO (output). After RESET is set low, the Programming Enable instruction
needs to be executed first before program/ erase operations can be executed. Note that
through out the descript ion abou t Serial download ing, MOS I and M ISO are used to
describe the serial data in and serial data out respectively. For AT90CAN128 these pins
are mapped to PDI (PE0) and PDO (PE1).
To program the device using AVR ISP programmer, connect the AVR ISP to the adaptor
(ATAVRAUTO900) and connect the adaptor to the connector of the ATAVRAUTO10 0.
7 VCC
8 NC
9 TDI
10 GND
Table 2-2. ISP Connector
PIN Function
1 MISO
2 VCC
3 SCK
4 MOSI
5 NRES
6 GND
Table 2-1. ICE Connector
PIN Function