Home

AVR STK100 Starter Kit User Guide, December 1999

image

Contents

1. rr inj ni TE t rr t SEES tz rz ISP Initialized Device 103 Hardware ATAVRISP Parallel Port Hardware Status ATAVRIS Operation Complete 4 AIMEL 6 4 1 6 5 STK100 Starter Kit User Guide The Four Different Operations Warning How to Use the Software m Erase device The device is erased and code and EEPROM memories will be empty blank value is FFh All fuse settings will be cleared to default values see data book CD ROM for device specific fuse information m Program device Choose Flash Lockbits or Fuses on the fly out menu If Flash or EEPROM is chosen then that part of the device is programmed with the contents of the Flash or EEPROM buffer window respectively If Lockbits is selected the security bits are programmed according to the security settings drop down list described above If Fuses is chosen a dialog box appears with the fuses available on the selected device Set the fuses to your requirements m Read device If Flash or EEPROM is selected the contents of the device memory selected is uploaded and displayed in the relevant buffer window If the device is blank th
2. STK100 Starter Kit User Guide December 1999 AMEL Table of Contents Section 1 0 eit OM lettre 1 1 1 1 STK 100 Starter ute reine qm Et ne TR ED 1 1 1 2 Device Support oec eere re edere eee cabe ees 1 1 Section 2 Getting Started essent bti eus usc Dcus een 2 1 2 1 Unpacking the System ssssssssssssesseseeeeeeeeeennnen nennen 2 1 2 2 System Requirements uursnsnssssnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nam nn 2 1 2 59 Power SUPPIYy len 2 1 2 4 Connecting the 2 1 Section 3 Hardware Deschpli na uesen 3 1 3 1 Hardware Specifications 244044nnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnn nn 3 1 Section 4 Device and Jumper 4 1 4 1 Device 4 1 4 2 4 2 4 3 Function of the 4 2 4 4 Headers idi E boe 4 3 4 5 User Interface 4 4 4 6 Notes on 4 5 Section 5 Installing the Software sans 5 1 5 1 Windows 95 98 amp Windows NT 5 1 Section 6 Ho
3. ia ggg ASS OSIN OVXPMOS 917 od 6 k tiz 13834 E eir L A od lead an9 71 6 SH3dWnr 9 189 2 4340v 8 9av zad ead E55 ea sav 819 lt 4 vL 29 4 99 13934 pe 1sua z 91 yy fet 8 l zaxa vie vto gi 5145 2 i ole Le d Big 14 8 3 1a 1 EN giz H oa 941 61 or 2 He 6 9a Lyd oa by sa 19 sH TASH oz sav 9vd Lad 1 ve vay zad za Fiz oa ek za ead H 2 02159 OON N9 zaas fpe 2 13534 anov anay S 99 33uav Vd fv8d clvix 1HOd 5 er 2 Guard gad 5 S c 7 6 osy Zad 6 LWX ISON ASV OVXMOS 419 sH sa ZAS um 94e e 30 sa 212 tyr AE fe 46 gny nid oz 9r Sued 82 gr 189 sq th 2 THSV Nid 8 za Syaa NI 13834 9 S ue yng ead FEL SS ivxiisow IB sav 21 sad LEE ovxhos Wa 2 2 1Suv sa ZIVIX 2 l vias fpe 13538 iix 0 sr 06 6
4. Presents the user with a list of available programmable fuses on the device and allows the user to write and read these fuses if the device supports the program All operations selected in the Auto Program Options are carried out Dialog box to set required programming operations that will be carried out sequentially when Auto Program is pressed 7 1 Menu and Option Descriptions 7 3 7 3 1 7 3 2 7 4 7 4 1 7 4 2 7 4 3 7 5 7 5 1 7 6 7 6 1 7 6 2 7 6 3 7 6 4 7 6 5 7 2 Programmer Menu Options Information View Menu Flash EEPROM Status Help Menu About Other Controls Device Selector Security Hardware Selection Window Selection Flash Buffer Window Dialog box for port selection You must choose parallel or serial port operation and the correct product STK100 first using the drop down list at the top right of the screen Shows information about the programmer state e g hardware detected which port etc The Flash Memory buffer window is displayed The EEPROM Memory buffer window is displayed The Status window is displayed This lists all operations error messages and status information that have been posted during this session Version and program information Located at the top left of the screen this drop down list is used to select the required device Make sure that this selection matches the device you have plugged into the board Obta
5. ou 2 8 dol Nd 5 9 9095 oe 680 jy 21 0 02 8 ato gt Moos 889808 LLHOd luas saw 10 eg 9092 gt unos on Su gt 9092 ot oos ddA axa X zu oa ra AS8 OSIW gt SON 3 8 Y 9 1 STK100 Starter Kit User Guide Appendix A STK100 Schematics Figure 9 2 Targets and Interfaces Schematic a 9 8 v Y p 19905 6661 81 Anr seq v v jueuinooq 9219 1HOd NOISNVdX3 euis HAV 001016 oul Eg au 92 ez 82 i pue syo aeL zz Az Nid 8 90 0 el FE zaxa 02 zi et LWX ISOW 2084 d HOLO3NNOO 481 8 gi HEL ASS OSIW Stiad ead T cav I 305 3 9H sa 5 zad vad 71 H LWX ISOW a va 2 H 1Suv f 2 OWX OS sa 0 6 Blo 13534 wunsons le 6 tS Sty ef 30 ASg OSIW
6. 1 _ _ STK100 Starter Kit User Guide 1 The first step is to choose the type of hardware connection using the drop down list at the top right of the screen Choose STK100 serial port or STK100 paral lel port depending on your requirements Ensure that the board is connected to the correct port serial or parallel 2 Now select the Programmer Options menu choice A dialog box appears where you can pick the correct port setting If parallel port had been selected in stage 1 then this dialog box gives parallel port choices LPT1 LPT2 LPT3 otherwise it gives serial port choices COM1 2 3 Next select the required device in the drop down list at the top left of the screen The memory sizes fuse availability and other device specific features are set automatically 4 Setthe level of programming security required in the third drop down list in the center of the screen 1 Toload data to be programmed choose the File Load menu choice A further menu fly out allows you to select Flash or EEPROM memory as the target for the load operation Note Only Intel hex files can be used 2 Selectthe file and it will be opened in the correct buffer window If an error occurs during the load operation because the file cannot be found the file is not Intel hex the file is too big etc then the status light at the bottom left of the screen turns red and a warning message is displayed If the operation
7. 8 9a 98d vad 4 sa v n sa za 18d 9 uM 96 um ed 30 sk 30 vv 109 H ASS OSIW sa Wd x pedAsy pxe v 2 cays pe 5 Es 2 asa od l LAS l er E a 9 8 v STK100 Starter Kit User Guide EL A 9 2 Appendix 5 100 Schematics Figure 9 3 Power Supply Schematic 8 v p z poug 6661 92 sunr Aep nes seq erm i v eu JequinN juewnooq 9219 2 m Jones YAY 001316 so gt 1599 oni OF pue A ddng S A Bi gt aoo 4 m ue ne 6 008 9001 deeem ko 13534 o HO gm wy gt is 21064 78 ius Neu Ww 12 aseem ko an ed u Lv808 doce 55 eeu bou 3nor F ieu gp 13534 gt SX 4 2 E lc p za nse anor Is ES gt gt 38 38 27 628 2 21 49
8. B7 05 06 SD 81 ji id d dd d gDDD Aa U 82 17 04 Di 00 ED 16 04 OD 00 04 AD 44 B eo 00000080 84 86 AD Ol 00 FD Ab amp 7 1 32 D Bl d 46 506 9 20 083 00000000 8 4 26 04 82 20 DC JC 82 90 82 30 AP 02 26 Er 00000000 E 10 Bl 90 16 04 00 00 FD 90 B3 81 26 11 CEU IAN n nDDuED 04 2G 02 10 04 SD 17 04 01 00 ED SC 50 26 C4 3c UTD nODDD ED 20 sn 01 84 17 04 01 OD ED 16 O4 j Anne 000000100 00 FD B 00 A4 04 27 04 AG 01 2D 02 00 HB ii Z Flash File Lost File sones STATUS INDICATOR MEMORY BUFFER ASCII PANE AND MESSAGE LINE WINDOW EDITABLE EDITABLE RED ERROR YELLOW IN PROGRESS GREEN The programmer uses three main displays Flash Memory EEPROM Memory and Status Data and information are displayed on these three screens which are selected by a mouse click on the appropriate button The main menu gives file and programmer operations and the configuration information is shown just below the menu bar A status indicator at the bottom of the screen shows whether an operation was successful a red light means that an error has occurred All menu choices can be selected by using the mouse or pressing the Alt key with the underlined letter in the menu item 6 1 How to Use the Software 6 2 Configuring the Software 6 3 Loading Data 6 4 Programming pati
9. infrared transmitter is modulated by the device and is driven directly The receiver has a built in demodulator and provides a direct digital signal to the device The keypad interface was designed for a 10 key matrixed keypad and uses the multiplexed keypad interface on the 28 pin device Ensure the jumper next to the socket being used is set to Program or Run as required Programming low voltage parts Some 3 3 volt parts may need 5V programming voltages even though they run at lower voltages We recommended that all peripheral jumpers J10 are removed to isolate user circuits before program ming the device AIMEL T Device Jumper Information 4 6 AIMEL STK100 Starter Kit User Guide AIMEL 5 1 Windows 95 98 amp Windows NT STK100 Starter Kit User Guide Section 5 Installing the Software Check web site www atmel com for the latest updates before installing the software To install the software please insert the supplied disk or CD ROM in your computer and perform the following steps Click on your Start button m Select Settings m Select Control Panel m Choose Add Remove Programs m Click the Install button m Follow on screen prompts The software will then be installed onto your computer and an icon will be added to your Start menu This software does not support Windows 3 11 as it is a 32 bit application Note Inthe unlikely event that you have any problem
10. peripherals on the System so the user can use the port pins in their circuits 4 3 6 Functions Bit 0 Bit3 Used to disable relevant switch LED combinations I O Sound Used to disable speaker circuit output only IRT Used to disable infrared transmitter output only IRR Used to disable infrared receiver input only Note Remove the jumper to disable the circuit 4 4 Headers There are various signals brought out for convenience from the circuit which the user can access These connectors are adjacent to the prototyping area Note that the pin numbers are screened onto the overlay Figure 4 5 10 pin Connector CUT CORNER SHOWN ON BOARD FOR ORIENTATION PIN 1 wi PIN 2 PIN 3 IR u PIN 4 Bi ewe gt 9 En mn PIN 10 Figure 4 6 8 pin Connector CUT CORNER SHOWN ON BOARD FOR ORIENTATION PIN 1 PIN 2 PIN 3 PIN 4 PIN 5 PIN 6 PIN 7 PIN 8 STK100 Starter Kit User Guide AIMEL 4 3 Device Jumper Information 4 5 User Interface Headers 4 5 1 J2 Matrixed Keypad Interface This is wired directly to the 28 pin device see www avr forum com for keypad details 4 5 2 J5 Miscellaneous These are miscellaneous signals that can be used in conjunction with the port headers see below The signals are Pin 1 on 28 pin part Pin 2 PA1 on 28 pin part Pin 3 Demodulated infrared receiver input on 28 pin part Pin 4 Modulated infrared transmitter output PA2 on 28 pin part Pin 5 Buffer ena
11. was successful this indicator light stays green The light is yellow when the operation is taking place this behavior is the same for all operations Clicking the mouse on the error message opens the status window where more information may be given 3 When a file has been loaded into the Flash memory and the EEPROM memory if required the programmer is ready for programming operations EEPROM data or Flash data can be typed directly into the buffer windows instead of being loaded from a file The data can be entered as ASCII characters or as hexadeci mal numbers The programming operations are listed in the Device menu The programmer must be configured before programming can be undertaken and for the program operation data must be loaded into the buffer windows Figure 6 2 Atmel AVR ISP Eile Device Programmer View Help Dey Erase BEES ecurity No Security E ATAVAISP Parallel Part Program Read gt 00 gt 00 Run nitri nnn 001 Auto Program F5 Auto Program Options 00000080 FF FF FF FF FF FF FF FF FF F 00000090 FF FF FF FF FF FF FF 000000A0 FF FF FF FF FF FF FF 00000080 FF FF FF FF FF FF FF 00000060 FF FF 00000010 FF FF FF FF FF 000000 0 FF FF FF FF FF FF FF 000000 0 FF FF FF FF FF FF FF F FF FF kaz rr Hr rr f
12. 001 H 19 9a 7 gen 9 gt gt ped gt gt aoo gt gt gt gt gt MgO anor E E 2 90 1381 34001 39001 34001 31001 34001 io 2 1 109 900 sao vao edo 20001 20001 zao tao 1 4 T 4 i i u dE any u B ES 100 owac lt 3004 2 DAATI lt Jnoz zu 2 ads MS 5 5 LOOPNL o Hu g 1 NA H 4 N Bot 9 508 1 l 4 1934 IMS 9 3 AIMEL STK100 Starter Kit User Guide Appendix A STK100 Schematics Figure 9 4 Peripheral Schematic a 19945 6661 Ze Kepung S 10 v 3 V o eu JequinN 9219 5 HAY 001016 o anu A 2 19WHiS 10808 ho 10 q 129191 T R eio 2 LSH ko z a HOE ho osu o z 6rd z 4 79 ION 99 P 4 gt gt ho NL SL SL c oua eua 9MS SMS YMS EMS Mm n eru an Jepuno
13. ble can be used to enable external isolation buffer during programming active low during programming Pin 6 Reset input from user circuit open collector or pull down only Pin 7 Ground Pin 8 Vec 4 5 3 J7 Port D These are the port D signals from 28 pin and 20 pin parts Pin 1 PDO Pin 2 PD1 Pin 3 PD2 Pin 4 PD3 Pin 5 PD4 Pin 6 PD5 Pin 7 PD6 Pin 8 PD7 Pin 9 Ground Pin 10 Vec 4 5 4 J9 Port B These are the port B signals from all parts Pin 1 PBO Pin 2 PB1 Pin 3 PB2 Pin 4 PB3 Pin 5 PB4 AD7 input on 20 pin part Pin 6 PB5 AD8 input 20 part Pin 7 PB6 AD9 input on 20 part Pin 8 PB7 AD10 input on 20 pin part Pin 9 Ground Pin 10 Vec 4 5 5 J11 Analog These are the analog inputs port A on the 20 pin part and 8 pin analog part Pin 1 PAO AD1 input on 8 pin part Pin 2 PA1 Pin 3 PA2 4 4 AIMEL STK100 Starter Kit User Guide 4 5 6 4 5 7 4 6 STK100 Starter Kit User Guide J13 J12 Notes on Usage Device and Jumper Information Pin 4 AD2 input on 8 pin part Pin 5 PA4 AD3 input on 8 pin part Pin 6 5 ADO input on 8 pin part Pin 7 6 8 A D reference input Pin 9 Analog ground Pin 10 Analog supply rail Note that additional analog inputs are available on the port B connector as shown in parentheses on the port B connection table Finally there are two expansion connectors that can be used to drive external circuits ISP Connector This
14. en all locations will read as FFh If the security lock bits are set then the data will be invalid Selecting Fuses displays the status of the fuses on the selected device in a list box m Verify device The contents of the selected memory area Flash or EEPROM on the device is compared with the contents of the equivalent buffer window and any differences are shown in red correct values are shown in green It is suggested that for most programming sessions Auto Program be used Choose Auto Program Options to set the required programming operations A list of operations Erase Program Flash fuse bits etc is displayed Figure 6 3 Auto Program ptions Erase Device Program amp Verify Flash Memory Program amp Verify EEPROM Memory Flash Verification EEPROM Verification Secure Device Lockbits lt lt Check the operations required v on and all the chosen operations will be carried out when Auto Program F5 is used If Program Fuses is checked then another dialog box will appear after this list is closed where the device specific fuses can be set Note Itis advisable to erase the device before programming unless you are adding extra data to existing data in the device You will not be able to program the device if the write lockbit has been set without first erasing it Setting lockbits may mean that you will be unable to perform further v
15. erification on the device and disable further writing to the device You will however be able to re use the device if you perform an erase AIMEL 6 3 How to Use the Software 6 4 AIMEL STK100 Starter Kit User Guide AIMEL 7 1 File Menu 7 1 1 Load 7 1 2 Save 7 1 3 Reload 7 1 4 Exit 7 2 Device Menu 7 2 1 Erase 7 2 2 Program 7 2 3 Read 7 2 4 Verify 7 2 5 Run 7 2 6 Fuses 7 2 7 Auto Program 7 2 8 Auto Program Options STK100 Starter Kit User Guide Section 7 Menu and Option Descriptions Select Memory Area buffer window to load Flash or EEPROM then open the Intel Hex file in the Open File dialog box red status warning light indicates that the file load was unsuccessful This may be because the file is not Intel hex or it is too large for the selected buffer memory Saves the contents of the selected buffer Flash or EEPROM to file Choose a filename in the File Save dialog box that appears Reloads the buffer Flash or EEPROM with the last file opened Quits the program Standard Windows close choices can also be used to exit the program The whole device is erased The selected device memory fuses or lockbits are programmed The selected device memory or fuses are read The selected device memory is verified against the buffer contents Takes target device out of programming mode and into normal run mode The user will be prompted to switch jumpers to run mode
16. forum where you can obtain help and advice from other AVR users This is not an official Atmel site but it is endorsed by Atmel In order to receive updates you must be registered See www atmel com products avrrisc register Software updates will be added to the Atmel web site and AVR forum web site as new parts become available This system has been tested to ensure that it complies with the latest regulations for susceptibility and emissions Although the system has been tested it is a demon stration board and the user will modify the board to his her requirements therefore the EMC characteristics of the board will not remain constant The board has been designed to minimize electromagnetic radiation but due to the open framework and user inter face it is not advisable to rely on an absence of EMI radiation when using this board 8 1 Technical Support 8 2 Atmel cannot be held accountable for any user supplied equipment such as power sup plies and computers used with this system If these parts do not conform to the EMC regulations then the complete system will not conform to the standards The same proviso applies to any user circuitry connected to this system such as test boards and modules If any changes are made to the hardware supplied with this sys tem such as a change in the crystal frequency or modifications to tracks or layouts then the system will not conform to the regulations A MEL STK100 Starter K
17. g 02914 M t 8095 pi 9095 9095 9095 Le ae 90 2 N vd ord X z lo A A N d Li DUE 151 S vam eam ho ho ho ho 80998 8099 8099 8099 gt 9 5 5 G 9 4 5 100 Starter Kit User Guide AIMEL MEL STK100 Starter Kit User Guide AMEL T Atmel Headquarters Atmel Operations Corporate Headquarters Atmel Colorado Springs 2325 Orchard Parkway 1150 E Cheyenne Mtn Blvd San Jose CA 95131 Colorado Springs CO 80906 TEL 408 441 0311 TEL 719 576 3300 FAX 408 487 2600 FAX 719 540 1759 Europe Atmel Rousset Atmel U K Ltd Zone Industrielle Coliseum Business Centre 13106 Rousset Cedex Riverside Way France Camberley Surrey GU15 3YL TEL 33 4 4253 6000 England FAX 33 4 4253 6001 TEL 44 1276 686 677 FAX 44 1276 686 697 Asia Atmel Asia Ltd Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimhatsui East Kowloon Hong Kong TEL 852 2721 9778 FAX 852 2722 1369 Japan Atmel Japan K K 9F Tonetsu Shinkawa Bldg 1 24 8 Shinkawa Chuo ku Tokyo 104 0033 Japan TEL 81 3 3523 3551 FAX 81 3 3523 7581 Fax on Demand North America 1 800 292 8635 International 1 408 441 0732 e mail literature atmel com Web Site http www atmel com BBS 1 408 436 4309 Atmel Corporation 1999 Atmel Co
18. gramming unit The AVR device itself has an arrow printed on it which points towards pin 1 of the device Below are the three types of sockets and their orientation Figure 4 1 8 pin Devices 8 2 Device me Figure 4 2 20 pin Devices 4 1 Device Jumper Information 4 2 4 3 4 3 1 4 3 2 4 3 3 4 2 Jumpers The Function of the Jumpers J3 J4 J6 Figure 4 3 28 pin Devices 28 Pin Device ee There is another method of checking that the device is inserted the right way and that is to check the notches on both the device and the programming socket At the end of the device a notch is cut out There is also a notch cut out on the device socket which is also printed on the board The notch on the device must correspond with the notch in the socket The orientation of the device is vitally important If you insert the device in the wrong way it may be damaged Do not plug a device in with the power switched on it may damage it Similarly never remove the device while the power is on Note Do not insert a device in more than one socket at a time Otherwise program ming errors will occur In addition to the sockets there are user accessible jumpers J3 J4 J6 and J8 are used to enable the additional I O
19. hese messages are listed in the Status window AIMEL 73 Menu and Option Descriptions 7 4 AIMEL STK100 Starter Kit User Guide AIMEL 8 1 General 8 2 Registration 8 3 EMC Regulations STK100 Starter Kit User Guide Section 8 Technical Support A variety of technical support and user help is available to support the STK100 and AVR devices in general When contacting Technical Support please specify which starter kit you require support on STK100 in this case You may be asked for your registration details so please register the product See below for registration details Telephone Number 44 0 1970 621049 Fax Number 44 0 1970 621040 e mail stk_support atmel com We recommend that unless your query is very simple or urgent you use e mail as the preferred method of contacting Technical Support This allows you to supply us with full details of the problem If your problem is related to the PC connections then please advise us of the PC type e g laptop desktop speed and operating system software version shown in About menu choice and whether you are using the serial or parallel port For general information on Atmel AVR devices or other Atmel products log on to www atmel com For information on AVR devices code examples application notes frequently asked questions FAQs distributor lists and AVR resources log on to www avr forum com This web site also features the AVR chat
20. in upgrades to support new devices as they are released Located in the center of the screen security is used to select type of access to the device once it has been programmed This is done by programming the lockbits so ensure that the lockbits are checked in the Device Auto Program Options if you want security set on the device or choose Device Program Lockbits for manual programming Located at the top right of the screen the hardware selection must be set to one of the STK100 options serial or parallel port Which serial or parallel port is used is set in the Programmer Options menu Ensure that the STK100 board is connected to the cor rect port Located below the device selector these three buttons indicate which display is visible Flash buffer window EEPROM buffer window or the Status window Whichever display is active can also be selected using the View menu Displays the Flash memory in a buffer window The code to be programmed into the device is loaded into this buffer by the File Load Flash option or read from the device by the Device Read Flash option The size of the buffer changes to mirror the Flash memory size on the selected device If Device Verify Flash is used the con tents of this buffer are compared with the contents of the Flash code memory on the device Locations that match are shown in green mis matches are shown in red The data in this buffer window can be changed o
21. it User Guide AIMEL D Section 9 Appendix A STK100 Schematics Figure 9 1 Main Logic Schematic 3 Y 7 08 19945 666172 oun Kepuns EIER v v sequiny wewnoog ezg savers HAV 001716 lejered C Sr 0 PL TTEN ovo Eu ts Tu dee ad z BOIS o glo 2 2199896 1 WMWPYZOHVLNW ERR 095 Ho 1VXIISOW gt B X 0 ted av to 9099 gt zn bE a o gt EAZ we 512 eve ZZ sls g I ave Kor 5 sa VAL ive 510 z Zt LL 1095 ZAL evi 8 ato um ia on 3 0 bs 82 H Ho 50 gt 7 ree 1 97 Em Div P Sn 2 axa 2222289x 85858825 siu 58898 SE Ge taa sod n ES I 62 5 9dxa Lod 5 A gt zg 8190 TI F Iw 5158506 1 8098
22. ports that are available on some devices The jumper next to each socket should be set towards pin 1 marked on the schematic for programming a device using the socket and then moved across towards pin 3 to run Figure 4 4 STK100 Starter Kit Programming Interface Parallel Connector o o B SE Q gt 5 a This jumper is adjacent to Socket 3 8 pin digital part and is used to select program set towards pin 1 or run set towards pin 3 When in run mode it will enable Port PB5 and will route it to the port B 10 pin header This jumper is adjacent to Socket 4 8 pin analog part and is used to select program set towards pin 1 or run set towards pin 3 When in run mode it will enable Port PB5 and will route it to the port B 10 pin header This jumper is adjacent to Socket 2 20 pin part and is used to select the system clock during programming when set towards pin 1 To run set it towards pin 3 which will allow the port pin to be used as I O bit PB5 ADC8 A MEL STK100 Starter Kit User Guide Device Jumper Information 4 3 4 48 This jumper is adjacent to Socket 2 20 pin part and is used to select program set towards pin 1 or run set towards 3 When in run mode it will enable Port PB7 ADC10 and will route it to the port B 10 pin header There are also additional jumpers that can be used for special functions 4 3 5 J10 Isolation jumpers These jumpers are used to isolate the on board
23. r entered as either hexadecimal numbers or A MEL STK100 Starter Kit User Guide 7 6 6 EEPROM Buffer Window 7 6 7 Status Window 7 6 8 Status Indicator STK100 Starter Kit User Guide Menu and Option Descriptions ASCII characters Holding the mouse cursor over a value brings up a fly out that gives the address and the value in decimal binary hexadecimal and ASCII Displays the EEPROM memory in a buffer window The code to be programmed into the device is loaded into this buffer by the File Load EEPROM option or read from the device by the Device Read EEPROM option The size of the buffer changes to mir ror the EEPROM memory size on the selected device If Device Verify EEPROM is used the contents of this buffer are compared with the contents of the EEPROM mem ory on the device Locations that match are shown in green mis matches are shown in red The data in this buffer window can be changed or entered as either hexadecimal numbers or ASCII characters Holding the mouse cursor over a value brings up a fly out that gives the address and the value in decimal binary hexadecimal and ASCII This window lists all the operations status and error messages that have happened dur ing the current session Gives a visual result of the current operation red means that the operation failed yellow means it is in progress and green means it was successful Further information is given in the accompanying message T
24. rporation makes no warranty for the use of its products other than those expressly contained in the Company s standard war ranty which is detailed in Atmel s Terms and Conditions located on the Company s web site The Company assumes no responsibility for any errors which may appear in this document reserves the right to change devices or specifications detailed herein at any time without notice and does not make any commitment to update the information contained herein No licenses to patents or other intellectual prop erty of Atmel are granted by the Company in connection with the sale of Atmel products expressly or by implication Atmel s products are not authorized for use as critical components in life support devices or systems Marks bearing and or are registered trademarks and trademarks of Atmel Corporation Printed recycled paper Terms and product names in this document may be trademarks of others 1481A 12 99 1M
25. s installing the software or suspect that you have faulty media please contact our technical support department for advice Please make sure you have the latest version of the software installed before contacting the support line See Section 8 Technical Support for more information 5 1 Installing the Software 5 2 AIMEL STK100 Starter Kit User Guide AMEL 6 1 Overview STK100 Starter Kit User Guide Section 6 How to Use the Software The programmer software is shown below Figure 6 1 WINDOWS MAIN DEVICE SECURITY HARDWARE SELECTION MENU SELECTION RATINGS SELECTION ISF Poit Wares as 00000000 FF FF FF FF EF FF FF FF FF FF EF FF FF FF 00000020 FF FF FF FF FF EF FF FF FF FF FF FF FF FF FF VEVTVYVVFTTVTFEV 00000020 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF OO000000 FF FF FF FF FF FF FF FF FF EF FF EF FF FF FF 00000040 FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF 00000050 FE FE FF FF DF EF ED FE vrYYYTYY DDD eU FF FF FF FF FF EF FF FF EF FF FF EF FF FF FF 00000070 FF FF FF FF FF EF FF FF EF FF FF EF EF FF FF FF Vy TE YEN 00000020 FF FF FF FF FF EF FF FF EF FF FF EF FF FF FEW DDD sD aC 80 SF 20 09
26. s of the board are shown in the diagram below Figure 3 1 ANALOG J3 8 PIN SOCKET USER PROTOTYPING AREA J4 PORT D MISC HEADER J6 AND J8 28 PIN SOCKET 20 PIN SOCKET 3 684MHz CRYSTAL 4 SWITCHES EXPANSION 4 LEDs ON PORT B HEADER AT90S8515 INFRARED TRANSMITTER RESET SWITCH PIEZO SPEAKER ISP INTERFACE ON OFF INFRARED SWITCH RECEIVER POWER INPUT PARALLEL PORT SERIAL PORT 3 1 Hardware Serial Port Full duplex 8 bits no parity running at 9600 baud Specifications Parallel Port Buffered synchronous interface Supply Rail Fully variable from 0 4 7 volts set from PC Analog Supply Rail As above but isolated and filtered STK100 Starter Kit User Guide 3 1 Hardware Description 3 2 Supply Current Limit Vpp Supply Brownout Supply Oscillator General User Infrared Interface Sound Size User Matrix Area Keypad Connector ISP Connector Expansion Connector Device Sockets Port Headers AIMEL 150 mA approx independent of Voc setting 12 volts up to 10 mA Tracking brownout triggers when Vec drops below 0 4V of previous setting 29 5 volts DC input center positive gt 7 volts AC Max supply 15 or 13V4c Input via 3 5 mm barrel connector 3 684 MHz crystal Four low current LEDs connected together with four user switches Receiver demodulator with digital output 30 m range Transmitter modulated by AVR ATtiny28 only active current limi
27. s removed The system has two separate connections to the PC either of which may be used for running or programming Tiny AVR devices on the STK100 The connectors for serial and parallel port are next to each other on the STK100 board The two connections are serial 9 pin D connector connecting to the serial port or paral lel 25 pin D connector connecting to the parallel printer port The programmer software must be configured for the correct connection This is described in Section 6 How to Use the Software Note that in order to update the internal firmware on the STK100 for new device support the system must be connected to the parallel port In order to receive free updates register at www atmel com products avrrisc register 2 1 Getting Started Updates will be added to the Atmel web site as new parts become available A parallel port cable is supplied with the system to allow this port to be used for upgrades If you prefer to use the serial port a straight through serial cable is required Do not use a null modem cable with crossed connections The software must be configured for either serial or parallel port operation and the correct port chosen LPT1 COM1 etc See Section 6 How to Use the Software for details Please read the next section Hardware Description before using the programmer in STK100 2 2 AIMEL STK100 Starter Kit User Guide AMEL Section 3 Hardware Description The main feature
28. sers to get started designing with AVR Microcontrollers The STK100 incorporates an In System Programming unit and an applications board For late breaking news and any manual errata always check the README TXT file included with the software or check the Atmel web site for any updates The system software currently has support for the following devices m ATtinyi0 m ATtiny11 m ATtiny12 m ATtiny15 m ATtiny22 m ATtiny28 m AT90S2343 Upgrades for new devices will be available via the Internet at www atmel com 1 1 Introduction 1 2 AIMEL STK100 Starter Kit User Guide AIMEL 2 1 Unpacking the System 2 2 System Requirements 2 3 Power Supply 2 4 Connecting the System STK100 Starter Kit User Guide Section 2 Getting Started You will find the following items in the pack m STK100 main board m 1 disk set Parallel printer port cable m ATtiny11 sample AT90S2343 Atmel CD ROM The minimum computer hardware and software requirements are m 80486 processor or above m 16 MB RAM 2 MB free hard disk space m Windows 95 98 or Windows NT 9 5 15 volt DC power supply with 3 5 mm barrel connector center positive or 7 13 volt AC power supply with 3 5 mm barrel connector Note f the regulator or other IC runs too hot reduce the input voltage The specially formulated ink used on the STK100 will turn darker if subjected to heat to indi cate hot spots It will turn lighter when the heat source i
29. ted Piezo speaker with transistor amplification AC coupled Standard Eurocard size 160 mm x 100 mm to enable installation in a standard case 0 1 pitched holes in a 35 x 21 hole pattern 10 key matrixed keypad connection Standard Atmel In System Programming interface For connection of external programming systems Four 1 x 28 pin 1 x 20 pin and 2 x 8 pin Three 2 x 10 pin and 1 x 8 pin STK100 Starter Kit User Guide AIMEL 4 1 Device Orientation STK100 Starter Kit User Guide Section 4 Device and Jumper Information Please refer to Figure 9 2 Targets and Interfaces Schematic found in Section 9 Appendix A STK100 Schematics The system has four sockets for devices m 28 pin socket m 20 pin analog socket m 8 pin digital socket m 8 pin analog socket These sockets have been configured to accept all of the current and future AVR Tiny devices Please choose the correct socket for the device to program The STK100 features two types of programming It will use either low voltage In System Programming ISP or high voltage parallel programming depending on the part There fore it is essential that the user inserts the device into the correct socket and chooses the correct device type from the programming menu on the PC Failure to do so may result in damage to the device and possibly the system Before programming a device using the programming module the device must be inserted correctly into the pro
30. w to Use the Software cuiii eri putres te ee te torto 6 1 6 1 Overview sedare 6 1 6 2 Configuring the 6 2 6 9 Loading Data iier e i ER e brc b BRE EG 6 2 6 4 neue 6 2 6 5 E eis ee tad 6 3 Section 7 Menu and Option Descriptions coo rore bii doi cu t i up inu uer 7 1 TA Fle ete ep este aus 7 1 AIMEL Table of Contents 7 2 Device Menu een t ee dain A 7 1 7 3 Programmer 7 1 TA MIOW MOU is io PR REDE IESU UD EUER 7 2 1 9 eite i P e te euch diede sexta 7 2 7 6 Other e eg 7 2 Section 8 Technical SUP POM 8 1 8 1 Generali riesige ERE 8 1 82 Registration iiem elegant Ben 8 1 8 3 Regulations sse nennen entes 8 1 Section 9 Appendix A STK100 9 1 AIMEL AIMEL 1 1 AVR STK100 Starter Kit 1 2 Device Support STK100 Starter Kit User Guide Section 1 Introduction The STK100 Starter Kit is designed to support the AVR Microcontroller from Atmel Cor poration The system will help tiny AVR u
31. will be used to enable the user to program external devices in cir cuit using the system It conforms to the standard Atmel ISP pinout Expansion Connector For future use It is advisable to disconnect all user circuitry when attempting to program as it may override the programming control signals and prevent a successful pro gramming session Attempting to draw more than 150 mA of current from Vec will invoke the current limiting circuit Users are advised not to input signals larger than the Voc setting to any device pin as it may damage the device and or the starter kit hardware In order to supply the maximum flexibility the LEDs and switches have been connected together The design is such that if the port DDRx register is set to input 0 then the LED will be turned off and the input will be a 1 If the switch is pressed then the LED will light for as long as the switch is pressed and will extin guish when released When the switch is pressed the input on the port will be a 0 If the DDRx register bit is set to output 1 then sending a 0 out on the port will turn the LED on and a 1 will turn it off Note that the circuit is arranged so the LED is brighter when the switch is pressed than when it is pulled low by the device It is possible to both read the switch and write to the LED by careful manipulation of the DDRx register set it to output for most of the time and briefly switch to input when a switch read is required The

Download Pdf Manuals

image

Related Search

Related Contents

AGB65-SAC取扱説明書  Installation and Service Manual Clamshell Heater Design  38669 BLH nQX RTF_MULTI  自転車のリスクを低減するために  Schlüter®-DIADEC - Schlüter  【あんしん修理サポート】のご案内    Katun 36869  RD-S301 - 取扱説明書ダウンロード  Manual de instalación Efie  

Copyright © All rights reserved.
Failed to retrieve file