Atmel ATSTK500 500 Starter kit and development system. ATSTK500 ATSTK500 데이터 시트

제품 코드
ATSTK500
다운로드
페이지 61
Using AVR Studio
AVR STK500 User Guide
5-9
1925C–AVR–3/03
5.4
Command Line 
Software
The DOS command line version of the STK500 software is useful for programming
STK500 from external editors or for use in production programmers. Simple batch files
can be made for automatic programming. Type “STK500 -?” for help.
The program returns ERRORCODE 0 if the operation was successful, and ERROR-
CODE 1 if the operation failed.
Command Line Switches:
[-d device name] [-m s|p] [-if infile] [-ie infile] [-of outfile]
[-oe outfile] [-s] [-O] [-Sf addr] [-Seaddr] [-e] [-p f|e|b]
[-r f|e|b] [-v f|e|b] [-l value] [-L value] [-y] [-f value] [-E value]
[-F value] [-G value] [-q] [-x value] [-af start,stop] [-ae start,stop]
[-c port] [-ut value] [-ua value] [-wt] [-wa] [-b h|s] [-! freq] [-t]
[-g] [-z] [-h|?]
5.5
Parameters
Device name. Must be applied when programming the device. See list below.
Select programming mode; serial (s) or parallel/High-voltage (p).
Serial programming mode is the default, and is used if this parameter not
applied.
if 
Name of FLASH input file. Required for programming or verification of the FLASH
memory. The file format is Intel Extended HEX.
ie
Name of EEPROM input file. Required for programming or verification of the
EEPROM memory. The file format is Intel Extended HEX.
of 
Name of flash output file. Required for readout of the FLASH memory. The file
format is Intel Extended HEX.
oe 
Name of EEPROM output file. Required for readout of the EEPROM memory. The
file format is Intel Extended HEX.
Read signature bytes.
Read oscillator calibration byte.
Sf 
Write oscillator call. byte to FLASH memory. “addr” is byte address
Se 
Write oscillator call. byte to EEPROM memory. “addr” is byte address
Erase device. If applied with another programming parameter, the device will be
erased before any other programming takes place.
Program device; FLASH (f), EEPROM (e) or both (b). Corresponding input files
are required.
Read out device; FLASH (f), EEPROM (e) or both (b). Corresponding output files
are required 
Verify device; FLASH (f), EEPROM (e) or both (b). Can be used with -p or stand
alone. Corresponding input files are required.
Set lock byte. “value' is an 8-bit hex. value.
Verify lock byte. “value” is an 8-bit hex. value to verify against.
Read back lock byte.