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
Страница 4: ...Table of Contents iv...
Страница 6: ...Introduction 1 2 STK200 Starter Kit...
Страница 8: ...Getting Started 2 2 STK200 Starter Kit...
Страница 10: ...Connecting the Hardware 3 2 STK200 Starter Kit...
Страница 14: ...Installing the Software 5 2 STK200 Starter Kit...
Страница 22: ...How to use the Software 6 8 STK200 Starter Kit...
Страница 26: ...Brown Out Detector 8 2 STK200 Starter Kit...
Страница 36: ...Technical Support 11 2 STK200 Starter Kit...
Страница 38: ...Appendix II Warranty Statement 12 2 STK200 Starter Kit...
Страница 39: ...Appendix II Warranty Statement STK200 Starter Kit 12 3...