How to Use the Software
STK100 Starter Kit User Guide
6-3
6.4.1
The Four Different
Operations
■
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).
■
Program device: Choose “Flash”, “EEPROM”, “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.
■
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, then 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.
■
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.
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:
It is 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.
6.5
Warning
Setting lockbits may mean that you will be unable to perform further verification 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.
Summary of Contents for AVR STK100
Page 1: ...R STK100 Starter Kit User Guide December 1999...
Page 5: ...Introduction 1 2 STK100 Starter Kit User Guide...
Page 15: ...Device and Jumper Information 4 6 STK100 Starter Kit User Guide...
Page 17: ...Installing the Software 5 2 STK100 Starter Kit User Guide...
Page 21: ...How to Use the Software 6 4 STK100 Starter Kit User Guide...
Page 25: ...Menu and Option Descriptions 7 4 STK100 Starter Kit User Guide...
Page 32: ...Appendix A STK100 Schematics STK100 Starter Kit User Guide 9 5...
Page 33: ...Appendix A STK100 Schematics 9 6 STK100 Starter Kit User Guide...