Atmel STK502 manual Programming the ATmega169, In-System

Page 10

Using the STK502 Top Module

2.3Programming the ATmega169

The ATmega169 can be programmed using both SPI and High-voltage Parallel Pro- gramming. This section will explain how to connect the programming cables to successfully use one of these two modes. The AVR Studio STK500 software is used in the same way as for other AVR parts as described in the STK500 User Guide.

 

 

Note: The ATmega169 also support Self Programming, See AVR109 application note

 

 

for more information on this topic.

 

 

 

 

 

 

 

Note: The jumper for the Reset-signal on PORTG/RST must be mounted before any

 

 

programming can take place. See Section 2.2.2.2

2.3.1

In-System

Figure 2-6.In-System Programming

 

Programming

 

 

 

To program the ATmega169 using ISP Programming mode, connect the 6-wire cable between the ISP6PIN connector on the STK500 board and the ISP connector on the STK502 board as shown in Figure 2-6.The device can be programmed using the Serial Programming mode in the AVR Studio4 STK500 software.

Note: See STK500 User Guide for information on how to use the STK500 front-end software for ISP Programming.

2-4

STK502 User Guide

2528A–AVR–11/02

Image 10
Contents STK502 User Guide Page Table of Contents Technical Support Section Introduction STK502 Top Module for STK500Features Supports the ATmega169 with Built-in LCD ControllerPlacing an Section Using the STK502 Top ModuleConnecting the STK502 to the STK500 Starter Kit ATmega169 onAre not duplicated on the STK502 ConnectorsSTK502 must be used 2.1 PG0 PG5 2.2In-System Programming the ATmega169Programming High-voltage High-voltage Parallel ProgrammingJtag Connector STK502-PCB or in Complete Schematics ConfigurationLCD Display 11.Pin out for LCD Headers On the Display12.Jumper to connect COL1 to COL2 AVR Sensor 1.2 PF10 Switch ATmega169Section Troubleshooting Guide Troubleshooting GuideTroubleshooting Guide Operating Conditions Section Technical SpecificationsSystem Unit LCD-displayLayout for the STK502 LCD-display Number Three STK502 LCD Bit MappingsNumber Two Number FourNumber Seven Number SixBit Mappings for LCD Alphanumeric Digit Number Six Bit Mappings for LCD Alphanumeric Digit Number SevenSection Technical Support Technical Support Section Complete Schematics Schematics, 1 Schematics FigureSchematics Assembly Drawing, 1 Complete Schematics Atmel Headquarters