File: avrp.def

package info (click to toggle)
avrp 1.0beta3-6
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 204 kB
  • ctags: 194
  • sloc: ansic: 2,463; makefile: 40; perl: 6; sh: 5
file content (105 lines) | stat: -rw-r--r-- 3,462 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
; For updates see: http://www.colargol.tihlde.hist.no/~jonah/el/avrp.html
; Set version of this define file. Do NOT change this line!
AVRP.DEF 2.0 (28 September 1998)

; Mark start of chip section
#CHIPS
;-----------------------------------------------------------
; Name:       | Device | Eeprom  | Signature: | Fuse  | Lock  |
;             | code:  |  Size:  |            | bits  | bits  |
;             |        |         |            | type: | type: |
;             |        | (bytes) |            |       |       |
;-----------------------------------------------------------
AT90S1200-C      0x12       64     0x1E9001       1       1
AT90S1200-D/E/F  0x13       64     0x1E9001       1       1
AT90S2313        0x20      128     0x1E9101       2       1
AT90S2323        0x48      128     0x1E9102       2       1
AT90S4414        0x28      256     0x1E9201       2       1
AT90S8515        0x38      512     0x1E9301       2       1

; Non AVR devices
AT89S8252        0x86     2048     0x1E7200       3       2
;AT89LS8252       0x     2048     0x1E8200
;AT89S53          0x        0     0x1E5300
;AT89LS53         0x        0     0x1E6300
#END ; End of CHIPS section

; Mark start of vendor section
#VENDORS
;--------------------------------------------------------------------
; Code: | Vendor: |
;--------------------------------------------------------------------
0x1E       Atmel
#END ; End of VENDORS section

; Mark start of family section
#FAMILIES
;--------------------------------------------------------------------
; Code: | Type:  | KB flash: |
;--------------------------------------------------------------------
0x90      AVR        1
0x91      AVR        2
0x92      AVR        4
0x93      AVR        8
0x72      8XC51      8
0x82      8XC51      8
0x53      8XC51     12
0x63      8XC51     12
#END ; End of FAMILIES section

#ARCHITECTURES
;--------------------------------------------------------------------
; Name: | Word  | Need
;       | size: | Flash
;       |       | erase:
;--------------------------------------------------------------------
AVR         2       1
8XC51       1       0
#END ; End of ARCHITECHTURES section

; Mark start of fuse section
#FUSES
;--------------------------------------------------------------------
; #DEFFUSE <ID>
; <short name> <Bit number> <full name>
; #DEFEND
;--------------------------------------------------------------------
#DEFFUSE 1
RCEN       0    "internal RC oscillator"
SPIEN      5    "Serial Programming Mode"
#DEFEND

#DEFFUSE 2
FSTRT      0    "short start-up time"
SPIEN      5    "Serial Programming Mode"
#DEFEND

#DEFFUSE 3
SPIEN      0    "Serial Programming Mode"
#DEFEND
#END ; END of FUSES section

; Mark start of lock section
#LOCKS
;--------------------------------------------------------------------
; #DEFLOCK <ID>
; <number of bits> <write bits> ... <read bits> ...
; <lock mode> <bit pattern> <full name>
; ...
; #DEFEND
;--------------------------------------------------------------------
#DEFLOCK 1
2 2 1 6 7
1 1 1 "No program lock"
2 1 0 "Further programming of flash disabled"
3 0 0 "Further programming and verifying of flash disabled"
#DEFEND

#DEFLOCK 2
3 5 6 7 0 1 2
1 1 1 1 "No internal memory lock"
2 1 1 0 "Further programming of flash disabled"
3 1 0 0 "Further programming and verifying of flash disabled"
4 0 0 0 "Further programming and verifying of flash disabled, and external execution is disabled"
#DEFEND
#END ; End of LOCKS section