blob: c827c6e3f6eaf9f052461ecbd03f1cea4da63cc2 (
plain)
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
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
|
<?xml version="1.0" encoding="UTF-8"?>
<!--************************************************************************-->
<!--* Copyright (C) 2005-2007 Nicolas Hadacek <[email protected]> *-->
<!--* *-->
<!--* This program is free software; you can redistribute it and/or modify *-->
<!--* it under the terms of the GNU General Public License as published by *-->
<!--* the Free Software Foundation; either version 2 of the License, or *-->
<!--* (at your option) any later version. *-->
<!--************************************************************************-->
<device name="16F874A" status="IP" memory_technology="FLASH" self_write="no" architecture="16X" id="0x0E60"
xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'
xsi:noNamespaceSchemaLocation='pic.xsd'>
<!--* Documents ************************************************************-->
<documents webpage="010238" datasheet="39582" progsheet="39589" erratas="80128 80133 80240 80276" />
<!--* Checksums ************************************************************-->
<!-- <checksums>
<checksum protected="Off" bchecksum="0x1FCF" cchecksum="0xEB9D" />
<checksum protected="All" bchecksum="0x4F9E" cchecksum="0x1B6C" />
</checksums>
-->
<!--* Operating characteristics ********************************************-->
<frequency_range name="industrial" special="low_power" >
<frequency start="0" end="4" vdd_min="2" vdd_max="5.5" />
<frequency start="4" end="10" vdd_min="2.5" vdd_max="5.5" vdd_min_end="3" />
</frequency_range>
<frequency_range name="extended" >
<frequency start="0" end="20" vdd_min="4" vdd_max="5.5" />
</frequency_range>
<voltages name="vpp" min="10" max="13.5" nominal="13" />
<voltages name="vdd_prog" min="4.5" max="5.5" nominal="5" />
<voltages name="vdd_prog_write" min="2.2" max="5.5" nominal="5" />
<!--* Memory ***************************************************************-->
<memory name="code" start="0x0000" end="0x0FFF" />
<memory name="user_ids" start="0x2000" end="0x2003" rtqmask="0x007F" />
<memory name="device_id" start="0x2006" end="0x2006" />
<memory name="config" start="0x2007" end="0x2007" />
<memory name="eeprom" start="0x0000" end="0x007F" hexfile_offset="0x2100" />
<memory name="debug_vector" start="0x2004" end="0x2004" />
<!--* Configuration bits ***************************************************-->
<config offset="0x0" name="" wtqmask="0x3FFF" bvalue="0x2FCF" >
<tqmask name="FOSC" value="0x0003" >
<value value="0x0000" name="LP" cname="_LP_OSC" />
<value value="0x0001" name="XT" cname="_XT_OSC" />
<value value="0x0002" name="HS" cname="_HS_OSC" />
<value value="0x0003" name="EXTRC_CLKOUT" cname="_RC_OSC" />
</tqmask>
<tqmask name="WDT" value="0x0004" >
<value value="0x0000" name="Off" cname="_WDT_OFF" />
<value value="0x0004" name="On" cname="_WDT_ON" />
</tqmask>
<tqmask name="PWRTE" value="0x0008" >
<value value="0x0000" name="On" cname="_PWRTE_ON" />
<value value="0x0008" name="Off" cname="_PWRTE_OFF" />
</tqmask>
<tqmask name="BODEN" value="0x0040" >
<value value="0x0000" name="Off" cname="_BODEN_OFF" />
<value value="0x0040" name="On" cname="_BODEN_ON" />
</tqmask>
<tqmask name="LVP" value="0x0080" >
<value value="0x0000" name="Off" cname="_LVP_OFF" />
<value value="0x0080" name="On" cname="_LVP_ON" />
</tqmask>
<tqmask name="CPD" value="0x0100" >
<value value="0x0000" name="All" cname="_CPD_ON" />
<value value="0x0100" name="Off" cname="_CPD_OFF" />
</tqmask>
<tqmask name="WRT" value="0x0600" >
<value value="0x0000" name="0000:07FF" cname="_WRT_HALF" />
<value value="0x0200" name="0000:03FF" cname="_WRT_1FOURTH" />
<value value="0x0400" name="0000:00FF" cname="_WRT_256" />
<value value="0x0600" name="Off" cname="_WRT_OFF" />
</tqmask>
<tqmask name="DEBUG" value="0x0800" >
<value value="0x0000" name="On" cname="_DEBUG_ON" />
<value value="0x0800" name="Off" cname="_DEBUG_OFF" />
</tqmask>
<tqmask name="CP" value="0x2000" >
<value value="0x0000" name="All" cname="_CP_ALL" />
<value value="0x2000" name="Off" cname="_CP_OFF" />
</tqmask>
</config>
<!--* Packages *************************************************************-->
<package types="pdip" nb_pins="40" >
<pin index="1" name="" />
<pin index="2" name="" />
<pin index="3" name="" />
<pin index="4" name="" />
<pin index="5" name="" />
<pin index="6" name="" />
<pin index="7" name="" />
<pin index="8" name="" />
<pin index="9" name="" />
<pin index="10" name="" />
<pin index="11" name="" />
<pin index="12" name="" />
<pin index="13" name="" />
<pin index="14" name="" />
<pin index="15" name="" />
<pin index="16" name="" />
<pin index="17" name="" />
<pin index="18" name="" />
<pin index="19" name="" />
<pin index="20" name="" />
<pin index="21" name="" />
<pin index="22" name="" />
<pin index="23" name="" />
<pin index="24" name="" />
<pin index="25" name="" />
<pin index="26" name="" />
<pin index="27" name="" />
<pin index="28" name="" />
<pin index="29" name="" />
<pin index="30" name="" />
<pin index="31" name="" />
<pin index="32" name="" />
<pin index="33" name="" />
<pin index="34" name="" />
<pin index="35" name="" />
<pin index="36" name="" />
<pin index="37" name="" />
<pin index="38" name="" />
<pin index="39" name="" />
<pin index="40" name="" />
</package>
<package types="qfn" nb_pins="44" >
<pin index="1" name="" />
<pin index="2" name="" />
<pin index="3" name="" />
<pin index="4" name="" />
<pin index="5" name="" />
<pin index="6" name="" />
<pin index="7" name="" />
<pin index="8" name="" />
<pin index="9" name="" />
<pin index="10" name="" />
<pin index="11" name="" />
<pin index="12" name="" />
<pin index="13" name="" />
<pin index="14" name="" />
<pin index="15" name="" />
<pin index="16" name="" />
<pin index="17" name="" />
<pin index="18" name="" />
<pin index="19" name="" />
<pin index="20" name="" />
<pin index="21" name="" />
<pin index="22" name="" />
<pin index="23" name="" />
<pin index="24" name="" />
<pin index="25" name="" />
<pin index="26" name="" />
<pin index="27" name="" />
<pin index="28" name="" />
<pin index="29" name="" />
<pin index="30" name="" />
<pin index="31" name="" />
<pin index="32" name="" />
<pin index="33" name="" />
<pin index="34" name="" />
<pin index="35" name="" />
<pin index="36" name="" />
<pin index="37" name="" />
<pin index="38" name="" />
<pin index="39" name="" />
<pin index="40" name="" />
<pin index="41" name="" />
<pin index="42" name="" />
<pin index="43" name="" />
<pin index="44" name="" />
</package>
<package types="plcc" nb_pins="44" >
<pin index="1" name="" />
<pin index="2" name="" />
<pin index="3" name="" />
<pin index="4" name="" />
<pin index="5" name="" />
<pin index="6" name="" />
<pin index="7" name="" />
<pin index="8" name="" />
<pin index="9" name="" />
<pin index="10" name="" />
<pin index="11" name="" />
<pin index="12" name="" />
<pin index="13" name="" />
<pin index="14" name="" />
<pin index="15" name="" />
<pin index="16" name="" />
<pin index="17" name="" />
<pin index="18" name="" />
<pin index="19" name="" />
<pin index="20" name="" />
<pin index="21" name="" />
<pin index="22" name="" />
<pin index="23" name="" />
<pin index="24" name="" />
<pin index="25" name="" />
<pin index="26" name="" />
<pin index="27" name="" />
<pin index="28" name="" />
<pin index="29" name="" />
<pin index="30" name="" />
<pin index="31" name="" />
<pin index="32" name="" />
<pin index="33" name="" />
<pin index="34" name="" />
<pin index="35" name="" />
<pin index="36" name="" />
<pin index="37" name="" />
<pin index="38" name="" />
<pin index="39" name="" />
<pin index="40" name="" />
<pin index="41" name="" />
<pin index="42" name="" />
<pin index="43" name="" />
<pin index="44" name="" />
</package>
<package types="tqfp" nb_pins="44" >
<pin index="1" name="" />
<pin index="2" name="" />
<pin index="3" name="" />
<pin index="4" name="" />
<pin index="5" name="" />
<pin index="6" name="" />
<pin index="7" name="" />
<pin index="8" name="" />
<pin index="9" name="" />
<pin index="10" name="" />
<pin index="11" name="" />
<pin index="12" name="" />
<pin index="13" name="" />
<pin index="14" name="" />
<pin index="15" name="" />
<pin index="16" name="" />
<pin index="17" name="" />
<pin index="18" name="" />
<pin index="19" name="" />
<pin index="20" name="" />
<pin index="21" name="" />
<pin index="22" name="" />
<pin index="23" name="" />
<pin index="24" name="" />
<pin index="25" name="" />
<pin index="26" name="" />
<pin index="27" name="" />
<pin index="28" name="" />
<pin index="29" name="" />
<pin index="30" name="" />
<pin index="31" name="" />
<pin index="32" name="" />
<pin index="33" name="" />
<pin index="34" name="" />
<pin index="35" name="" />
<pin index="36" name="" />
<pin index="37" name="" />
<pin index="38" name="" />
<pin index="39" name="" />
<pin index="40" name="" />
<pin index="41" name="" />
<pin index="42" name="" />
<pin index="43" name="" />
<pin index="44" name="" />
</package>
</device>
|