Atmel ATSTK500 500 Starter kit and development system. ATSTK500 ATSTK500 Hoja De Datos

Los códigos de productos
ATSTK500
Descargar
Página de 37
 
AVR068
 
 
35
2591C-AVR-06/06 
7.2.2 High Voltage Programming 
The sequence of commands and parameters sent from AvrStudio to the STK500 in 
order to read the device signature through High Voltage Programming is listed below. 
Note that one already have to be connected to do this. This sequence goes for both 
High Voltage Parallel Programming and High Voltage Serial Programming. 
•  CMD_GET_PARAMETER, PARAM_TOPCARD_DETECT 
•  CMD_GET_PARAMETER, PARAM_CONTROLLER_INIT 
•  CMD_SET_CONTROL_STACK 
•  CMD_GET_PARAMETER, PARAM_CONTROLLER_INIT 
•  CMD_ENTER_PROGMODE_PP (_HVSP) 
•  CMD_READ_SIGNATURE_PP (_HVSP) 
•  CMD_READ_SIGNATURE_PP (_HVSP) 
•  CMD_READ_SIGNATURE_PP (_HVSP) 
•  CMD_LEAVE_PROGMODE_ PP (_HVSP) 
7.3 STK500 Communication Logging 
For further details and examples of the communication between AvrStudio and 
STK500 one can set up logging of all communication to a text file. This can be done 
by adding a register key in the Registry as described below.  
1. Open the Registry by running “regedit”: 
Figure 7-1. The “Run” dialog box 
 
 
 
2. Browse to the path: HKEY_CURRENT_USER\Software\Atmel\AVRTools\STK500\ 
3. Make a new String Value (right-click > New > String Value) named “LogFilePath” 
4. Enter Data e.g. ”c:\STK500Com.txt” (right-click ”LogFilePath” > Modify > enter 
Value Data)