Part Number Hot Search : 
KD108407 HSC276 227M004 RB551 HSC276 SPN5001 3NM60N R0554B00
Product Description
Full Text Search
 

To Download ATSTK505 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  1 table of contents table of contents .................................................................... 1 stk505 user guide ......................................................................................... 2 introduction .............................................................................................. 2 features .........................................................................................................................2 getting started .................................................................................. 3 hardware overview .........................................................................................3 zif socket ............................................................................................................................... ....3 dip socket ............................................................................................................................... ...3 low voltage programming connectors ................................................................3 high voltage programming connectors ...............................................................3 port configuration switches ..........................................................................................3 crystal sockets .......................................................................................................................3 mounting the stk505 ....................................................................................4 clock sources and reset .............................................. 5 the clock switch ................................................................................................5 the reset/portb switch ............................................................................................. 5 programming the avr ........................................................ 6 introduction .................................................................................................................6 in-system programming .............................................................................6 high voltage programming ....................................................................7 high voltage programming the attiny24 .........................................................7 high voltage programmi ng the attiny26..................................................................................8 troubleshooting guide ..................................................... 10 programming problems .............................................................................10 general problems ........................................................................................................ 11
2 stk505 user guide introduction the stk505 board is a top module to the stk500 development board from atmel corporation. it adds support for the 14-pin and 20-pin avr microcontrollers listed in the feature list below. stk505 includes connectors and hardware allo wing full utilizatio n of the features of these devices. this user guide is a general getting start ed guide as well as a complete technical reference for advanced users. included in the kit is sample s of attiny24 and attiny26. figure 1-1: the stk505 starter kit features ? supports the attiny24 and attiny26 ? supported by avr studio 4 ? zero insertion force (zif) socket for 14-pin soic packages ? dip socket for 20-pin pdip packages ? supports high voltage programming through stk500 ? supports low voltage programming through stk500 ? switch to select between different clock sources ? switch to select between reset and i/o functionality for the reset pin ? on board crystal sockets
3 getting started this section describes how to connect the stk505 onto the stk500, and connect cables to different peripherals. hardware overview the stk505 is divided into two colored sections: the green section that supports the attiny24 and the blue secti on that supports the attiny26. note: only one avr device should be inserted in the sockets at a time. zif socket the zif socket is for the attiny24, in soic package. pin1 on the socket is indicated with t he white triangle beside the lower right corner. dip socket the dip socket is for the attiny26. pin1 on the socket is indicated with t he white triangle beside the lower right corner. low voltage programming connectors the avr can be programmed in serial mo de by using a 6-pin cable between the isp6pin on the stk500 and t he sprog headers on the stk505. high voltage programming connectors the attiny26 can be programmed in paral lel high voltage m ode by using 10-pin cables between stk500 and stk505. the attiny24 can be programmed in se rial high voltage mode be using 10-pin cables between stk500 and stk505. port configuration switches the xtal1, xtal2 and the reset pin on both attiny24 and attiny26 can also be used as regular i/o port pins when not used as clock inputs or reset. the pin configuration switches connects the pins to different components/signals dependant on their usage. this is described in more detail in the chapter clock sources and reset crystal sockets the clock crystal sockets are placed clos e to each target socket to make it possible to use high frequency crystals. when crystals are used to generate the tar get clock signal the clock selection switch must be in position "xtal".
4 mounting the stk505 the first thing you should do is to mount the stk505 onto the stk500. 1. turn off the power on stk500. 2. remove any other top card from the stk500. 3. remove any avr mounted in any of the sockets on the stk500. 4. place the stk505 on top of the stk500. make sure the expand0 and expand1 connectors on both cards align properly.
5 clock sources and reset the clock switch the stk505 has support to easily configure the hardware to support three different clock configurations ? external clock ? on board crystal ? internal oscillator the xtal1 and xtal2 pins are configur ed as regular i/o port pins when not used as clock input/output. the clock selection switch is used to connect the pins to different components dependant on whether it is used as clock pins or i/o pins. note: the device fuses must be programm ed to use the selected clock source. see the device datasheet for more details. position function xtal xtal1 and xtal2 pins connected to the xtal socket ext clk xtal1 pin connected to the stk500 clock source xtal2 pin connected to portb header int rc xtal1 and xtal2 pins connected to the portb header the reset/portb switch the reset/portb switch connects the rese t pin to either the reset signal from stk500, or to the portb header on stk500 to make it accessible for use as a regular i/o pin. note: the rstdisbl fuse must be progr ammed to disable reset functionality and use the pin as a regular i/o port pi n. se the device datasheet for further details.
6 programming the avr introduction there are two different ways of programming the avr on stk505: 1. low voltage programming (als o called in-system programming) 2. high-voltage programming (serial mode for tiny24 or parallel mode for tiny26) from now on low voltage programming will be described as in-system programming. the following sections will describe how to connect the appropriate cables. see the stk500 user guide for how to use the avr studio programming dialog . in-system programming to program the device on the stk505 us ing the in-system programming (isp) mode, connect a 6-pin cable between the isp6pin connector on stk500 and the sprog connector on stk505 colored section corresponding to the device used. i.e. if programming attiny24, connect the 6-pin cable to the sprog header on the green section, as shown in figure 2-1. if programming attiny26 connect the 6- pin cable to the sprog header on the blue section, as shown in figure 2-2. then start the programming dialog in avr studio figure 2-1: in-system programming of the attiny24
7 figure 2-2: in-system programming of the attiny26 note: to be able to isp program t he avr, the isp programming enable fuse must be set. the isp programming enable fuse can be programmed by high- voltage programming . please consult the fuses section in the stk500 documentation. high voltage programming high-voltage programming requires the ta rget voltage to be set to between 4.5 and 5.5v. if you have any external hardware connected to stk505/stk500 that does not tolerate these levels, it mu st be disconnected before you high-voltage program the avr. high voltage programming the attiny24 to program the attiny24 mounted on st k505 using high-volt age programming, follow these steps: 1. turn off the stk500 power switch 2. disconnect from stk500 and stk505 any hardware that does not tolerate 5v. 3. connect the progdata on st k500 to hvsprog on stk505, as shown on figure 2-3. 4. connect the progctrl on stk500 to the porta header on stk500, as shown on figure 2-3. 5. set jumpers and switches according to table 2-1. 6. turn on stk500 power. 7. start the programming dialog in avr studio
8 figure 2-3: high voltage programming of the attiny24 table 2-1: high-voltage programmi ng jumper settings for attiny24 stk500 vtarget mounted aref optional reset mounted xtal1 mounted oscsel mounted, pin 1 and 2 bsel2 mounted pjump open stk505 reset switch reset position xtal switch ext clk position high voltage programming the attiny26 to program the attiny26 mounted on st k505 using high-volt age programming, follow these steps: 1. turn off the stk500 power switch. 2. disconnect from stk500 and stk505 any hardware that does not tolerate 5v. 3. connect progctrl on stk500 to progctrl on stk505, as shown on figure 2-4. 4. connect progdata on stk500 to progdata on stk505, as shown on figure 2-4. 5. set jumpers and switches according to table 2-2. 6. turn on stk500 power. 7. start the programming dialog in avr studio
9 figure 2-4: high voltage programming of the attiny26 table 2-2: high-voltage programming jumper settings for the attiny26 stk500 vtarget mounted aref optional reset mounted xtal1 mounted oscsel mounted, pin 1 and 2 bsel2 not mounted pjump open stk505 reset switch reset position xtal switch ext clk position
10 troubleshooting guide programming problems problem cause solution isp programming does not work isp cable is not connected connect a 6-pin cable between the isp6pin connector on stk500 and the isp connector on stk505 on the selected target section. see also programming the avr. isp programming does not work the avr is running at too low clock frequency. make sure the clock switch on stk500 is in the right position. in the board page of the programming dialog in avr studio, try reducing the clock frequency so less or equal to the frequency the avr is running at. isp programming does not work the spi enable fuse is not programmed. program the spi enable fuse using high voltage programming. isp programming does not work the reset disable fuse is programmed. unprogram the reset disable fuse using high voltage programming. isp programming does not work the debugwire fuse is programmed. unprogram the debugwire fuse using high voltage programming. high-voltage programming does not work. the 10-pin cables are not connected correctly. see the programming the avr chapter for setup. high-voltage programming does not work. the (bsel2), oscsel, reset and vtarget jumpers on stk500 are not set correctly. see the programming the avr chapter for setup. high-voltage programming does not work. the stk505 clock switch is in the wrong position. set the switch to the ext clk position. see also programming the avr. high-voltage programming does not work. the stk505 reset switch is in portb position set the switch to the reset position.
11 general problems problem cause solution some of the port pins are not working. the avr is not properly mounted in the zif socket. make sure the chip is properly aligned in the socket. when the spring-loaded latch is depressed, the chip should fit nicely into the bottom of the socket. the code isn't running. the avr has no/wrong clock source. according to the clock fuse setting, select the appropriate clock source on stk500 and stk505. check the oscsel jumper on stk500 and clock switch on stk505. if you are using a crystal in one of the sockets, check that it is firmly mounted in its socket. the avr will not run on x mhz, but works ok on lower frequencies. the clock frequency is exceeding the clock rate of the avr (at a certain operating voltage). check that you are running the avr within specifications. check the speed grade of the avr and consult the datasheet for operating frequencies and voltages. the avr will not run on x mhz, but works ok on lower frequencies. i have a x mhz crystal mounted on stk500 crystals should be placed in the crystal socket on stk505. place the crystal in the socket on stk505. set the clock switch to the hf position. disclaimer: the information in this document is pr ovided in connection with atmel products. no license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of atmel products. except as set forth in atmel?s terms and conditions of sale locate d on atmel?s web site, atmel assumes no liability whatsoever and disclaims any express, implied or statutory warranty rela ting to its products including, but not limited to, the implie d warranty of merchantability, fitness for a particular purpose, or non-infringement. in no event sh all atmel be liable for any direct, indirect, consequential, punitive, special or incidental damages (including, without limitation, damages for loss of profits, business interruption, or loss of information) arising out of the use or inability to use this document, even if atmel has been advised of the possibility of such damages. atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and p roduct descriptions at any time wit hout notice. atmel does not make any commitment to update the information contained herein. unless specifically provided otherwise, atmel products are not suit able for, and shall not be used in , automotive applications. atmel? s products are not intended, authorized, or warranted for use as com ponents in applications intended to support or sustain life. ? atmel corporation 2005. all rights reserved . atmel?, logo and combinations thereof, everywhere you are?, avr?, avr studio? and others, are the registered tr ademarks or trademarks of atmel corporation or its subsidiaries. other terms and product names may be trademarks of others.


▲Up To Search▲   

 
Price & Availability of ATSTK505

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X