background image

How to use the Software

6-2

STK200 Starter Kit

Note that the AVR Assembler which accompanies this program will produce the correct
files for you ready to load into the buffers. You can save the buffer in Binary, Intel Hex,
or Atmel Generic formats, so you can use the buffer for code conversion.

Similarly, it will load the data into the Program Memory if that is the window that is on
top. The program will not allow you to load data if the project manager window is on top.
To change which window is on top, you can either click your mouse on any part of the
window that is showing, go to the “Window” menu using Alt-W or the mouse and select
the window of your choice, or press Ctrl-F6. Note that the loaded data will show up in
blue text where the default, empty text color is black.

Once your data files are loaded you can start your programming session.

6.3

Editing Data

Once a project has been started, you can either load a data file or you can insert your
own data in Hex or ASCII directly into the Program or EEPROM data windows.

With a new project, the data windows called buffers will contain FF in every location.
This is also what a new or erased device will contain.

You can move around in the current window by using the cursor keys. In order to see
memory further down the window, use the “Page Up” and “Page Down” keys on the key-
board.

You may change the data at any memory location by clicking on that location and typing
in the required hex values. Any changes you make will be reflected by the data changing
to green text. The ASCII character of the hex value will be shown alongside the data
window.

If you wish to edit the buffer in ASCII, either click on the right area of the window or
press Ctrl-A.

Once you have entered the required data, then you can save the contents of the current
window by using either the “Save” icon on the toolbar or by pressing F2 (on the key-
board) or by choosing the “Save” function in the “File” menu. 

6.4

Programming

Read the section on “Device Programming” on page 7-1 or “In-System Programming”
on page 10-1
 before programming parts.

Before you can start programming a device you must have a project open on the desk-
top.

6.5

Auto-Program

The easiest and quickest method of programming a device is to use the “Auto-Program”
option which is available in either the “Program” menu or by using the “Auto-Program”
icon on the toolbar. If you use this option, then you will be presented with a series of
check boxes to select which features you want to enable or disable during the program-
ming session. You can enable or disable any of the options by clicking on them or using
“Arrow” and “Space” keys. If the option has a check mark next to it, then it is enabled, if
not, then it is disabled. Note that the default is for all the options to be enabled. Further
note that you should not disable the erase function under normal circumstances.

If the Dongle is not plugged into your printer port, you may get an error. If you get the
“Dongle Not Found” error and it has been inserted into the printer port, make sure that
you have selected the correct printer port. You can change the printer port setting by
going to the “Options” menu and choosing “Change Printer Port”. Simply choose the
correct one for your system.

The programmer then attempts to read the device signature bytes. If they are not found
because you are using an old version of the device, no device is plugged in, the module
is switched off or the lock bits are set, a message box informs you of this. You have the
option of Abort, Retry or Ignore.

Содержание STK200

Страница 1: ...Functions 4 2 4 2 External Connections 4 2 Section 5 Installing the Software 5 1 5 1 Windows 95 5 1 5 2 Windows 3 1 5 1 Section 6 How to use the Software 6 1 6 1 Projects 6 1 6 2 Files 6 1 6 3 Editing...

Страница 2: ...tage Selection 7 2 7 3 Power and Lead Connections 7 2 7 4 Programming 8 Pin Parts 7 2 Section 8 Brown Out Detector 8 1 Section 9 Board Applications 9 1 9 1 Using Switches and LEDs 9 1 9 1 1 Using 8 Pi...

Страница 3: ...ction 10 In System Programming 10 1 10 1 ISP Lead Layout 10 1 10 2 ISP Header Layout 10 2 10 3 Interface Using Resistors 10 2 10 4 Using an Analog Multiplexer IC 10 2 Section 11 Technical Support 11 1...

Страница 4: ...Table of Contents iv...

Страница 5: ...rmation on this product and any manual errata please read the AVR_ISR_REL TEX file included with the software or on the Atmel web site 1 1 Device Support The system software currently has support for...

Страница 6: ...Introduction 1 2 STK200 Starter Kit...

Страница 7: ...ion Board Disk set including Atmel AVR ISP software In System Programming ISP Dongle ISP Ribbon Cable AT90S8515 8PC Microcontroller 2 2 System Requirements The minimum hardware and software requiremen...

Страница 8: ...Getting Started 2 2 STK200 Starter Kit...

Страница 9: ...o the Dongle case and the other end is inserted into the programming interface on the board as shown The Dongle case is connected to one of the printer ports on the PC If this is not LPT1 then you wil...

Страница 10: ...Connecting the Hardware 3 2 STK200 Starter Kit...

Страница 11: ...CONTRAST ADJUSTMENT LCD CONNECTOR ANALOG REFERENCE VOLTAGE ADJUSTMENT 28 PIN A D PARTS FUTURE 40 PIN A D PARTS LK1 CUT FOR A D EXTERNAL REFERENCE ANALOG I P PORT A DIGITAL SOCKET FOR 40 PIN DIGITAL PA...

Страница 12: ...load cannot exceed 100 mA for all headers combined See Using External Connections on page 9 1 and Using Analog Parts on page 9 3 for details Jumper Function Open Closed Default JP1 Voltage select 5V...

Страница 13: ...EXE as the filename Press the OK button and the software installation program will begin The software will then be installed onto your computer and an icon and Program Group will be added to Program M...

Страница 14: ...Installing the Software 5 2 STK200 Starter Kit...

Страница 15: ...this information together for you so you do not have to remem ber and reload all of the files every time you use the programmer It will also allow you to store information such as the project name and...

Страница 16: ...k on the right area of the window or press Ctrl A Once you have entered the required data then you can save the contents of the current window by using either the Save icon on the toolbar or by pressi...

Страница 17: ...ou to open an existing project all associated files and settings Choose Open Project from the Project menu or use the speed button 6 8 Save Project It is available on the Project menu and the toolbar...

Страница 18: ...ected value is larger than the buffer size you are informed Note The buffer size changes depending on the device selected 6 15 Find It is available on the Buffer menu Find is used to search for a hex...

Страница 19: ...e appropriate location in the device Note This function will only verify the Program Memory In devices which also have EEPROM Memory available you must use the Verify EEPROM command The Speed button w...

Страница 20: ...anager Warning Setting Lockbits may mean that you will be unable to perform further verifica tion on the device and disable further writing to the device However you will be able to re use the device...

Страница 21: ...if you use a lot of pre production devices which may not have signature information included or you are using an unsupported device which has the same pro gramming algorithm Use with care 6 29 Edit a...

Страница 22: ...How to use the Software 6 8 STK200 Starter Kit...

Страница 23: ...er method of checking to see if it is inserted correctly is to check the notches on both the device and the programming socket At the end of the device you will notice a notch cut out There is a notch...

Страница 24: ...the Hardware on page 3 1 The power supply 9 15V DC or 7 12V AC is plugged into the power connector 5 5 2 1 Barrel The Power On Off switch is located next to the power connector Insert the device befo...

Страница 25: ...jumper JP2 must be removed jumper open and for 5V operation it must be closed These values are approximate and may vary with temperature and other factors If the brown out detector voltage is set to 5...

Страница 26: ...Brown Out Detector 8 2 STK200 Starter Kit...

Страница 27: ...shed by setting the direction control registers to 0 for input and 1 for output Typical set up code would be ldi r16 ff load immediate into temp storage register out DDRB r16 PORTB LED s is all output...

Страница 28: ...it needs a heat sink to supply this current If your circuit will draw more than 1 Amp you may need a separate power supply 9 3 1 20 Pin and 40 Pin Digital Sockets The ports on the 40 pin digital socke...

Страница 29: ...witches and the LEDs can be disconnected from the processor To isolate the LEDs remove the jumper set labeled Port B To isolate the switches remove the jumper set labeled Port D 9 4 Using Analog Parts...

Страница 30: ...d 9 5 1 RAM Recommendations A low power 62256 SRAM is suggested with an access time of 70 ns If a very fast RAM is required the crystal frequency may need to be increased If a much slower SRAM is used...

Страница 31: ...ons needed are not included and the power supply will not supply the current required The LCD can be driven in Memory Mapped or I O Mode see data sheet If the crystal has been changed to a faster crys...

Страница 32: ...equired As this board has a 4 MHz crystal the percentage error on the Baud Rate will be between 0 2 and 7 8 Replacing the crystal with a 3 6846 MHz or 4 608 MHz crystal will reduce this error to zero...

Страница 33: ...system 5 Volts and Ground need to be connected to the programming lead Do not exceed 5 volts or you may damage your computer 4 75 to 5 25 volts is allowed This warning applies to any ISP system 10 1 I...

Страница 34: ...sing an Analog Multiplexer IC The multiplexer select can be driven from the LED connection on the programming lead as can a low power LED with its cathode connected to the LED connection via a suitabl...

Страница 35: ...customer support As soon as we are aware of the problem we can solve it and send you an update very quickly via e mail If you wish to communicate via telephone the number is listed below Tel 44 1970...

Страница 36: ...Technical Support 11 2 STK200 Starter Kit...

Страница 37: ...r pursuant to this Section Buyer shall afford Atmel the opportunity to inspect such goods at Buyer s location and any such goods so inspected shall not be returned to Atmel without its prior written c...

Страница 38: ...Appendix II Warranty Statement 12 2 STK200 Starter Kit...

Страница 39: ...Appendix II Warranty Statement STK200 Starter Kit 12 3...

Страница 40: ...trademarks of Atmel Corporation Terms and product names in this document may be trademarks of others Atmel Headquarters Atmel Operations Corporate Headquarters 2325 Orchard Parkway San Jose CA 95131 T...

Отзывы: