blob: f898f991e02dacbe42b9d4fe3fd7af09c49c16ff (
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
|
<?xml version="1.0" encoding="UTF-8"?>
<!--************************************************************************-->
<!--* Copyright (C) 2005-2007 Nicolas Hadacek <hadacek@kde.org> *-->
<!--* *-->
<!--* 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="18F2431" document="010271" status="IP" memory_technology="FLASH" self_write="yes" architecture="18F" id="0x08C0" >
<!--* Checksums ************************************************************-->
<checksums>
<checksum protected_blocks="0" bchecksum="0xC488" cchecksum="0xC3DE" />
<checksum protected_blocks="1" bchecksum="0xC668" cchecksum="0xC61D" />
<checksum protected_blocks="2" bchecksum="0xE465" cchecksum="0xE41A" />
<checksum protected_blocks="3" bchecksum="0x0459" cchecksum="0x0463" />
</checksums>
<!--* Operating characteristics ********************************************-->
<frequency_range name="industrial" >
<frequency start="0" end="40" vdd_min="4.2" vdd_max="5.5" />
</frequency_range>
<frequency_range name="industrial" special="low_power" >
<frequency start="0" end="4" vdd_min="2" vdd_max="5.5" />
<frequency start="4" end="40" vdd_min="2" vdd_max="5.5" vdd_min_end="4.2" />
</frequency_range>
<frequency_range name="extended" >
<frequency start="0" end="25" vdd_min="4.2" vdd_max="5.5" />
</frequency_range>
<voltages name="vpp" min="9" max="13.25" nominal="13" />
<voltages name="vdd_prog" min="4.5" max="5.5" nominal="5" />
<voltages name="vdd_prog_write" min="2" max="5.5" nominal="5" />
<!--* Memory ***************************************************************-->
<memory name="code" start="0x000000" end="0x003FFF" word_write_align="4" word_erase_align="32" />
<memory name="user_ids" start="0x200000" end="0x200007" rmask="0x0F" />
<memory name="device_id" start="0x3FFFFE" end="0x3FFFFF" />
<memory name="config" start="0x300000" end="0x30000D" />
<memory name="eeprom" start="0x000000" end="0x0000FF" hexfile_offset="0xF00000" />
<memory name="debug_vector" start="0x200028" end="0x200037" />
<!--* Configuration bits ***************************************************-->
<config offset="0x0" name="CONFIG1L" wmask="0xFF" bvalue="0x00" />
<config offset="0x1" name="CONFIG1H" wmask="0xFF" bvalue="0xCF" >
<mask name="FOSC" value="0x0F" >
<value value="0x00" name="LP" cname="_OSC_LP" />
<value value="0x01" name="XT" cname="_OSC_XT" />
<value value="0x02" name="HS" cname="_OSC_HS" />
<value value="0x04" name="EC_CLKOUT" cname="_OSC_EC" />
<value value="0x05" name="EC_IO" cname="_OSC_ECIO" />
<value value="0x06" name="H4" cname="_OSC_HSPLL" />
<value value="0x07" name="EXTRC_IO" cname="_OSC_RCIO" />
<value value="0x08" name="INTRC_IO" cname="_OSC_IRCIO" />
<value value="0x09" name="INTRC_CLKOUT" cname="_OSC_IRC" />
<value value="default" name="EXTRC_CLKOUT" cname="_OSC_RC" />
</mask>
<mask name="FCMEN" value="0x40" >
<value value="0x00" name="Off" cname="_FCMEN_OFF" />
<value value="0x40" name="On" cname="_FCMEN_ON" />
</mask>
<mask name="IESO" value="0x80" >
<value value="0x00" name="Off" cname="_IESO_OFF" />
<value value="0x80" name="On" cname="_IESO_ON" />
</mask>
</config>
<config offset="0x2" name="CONFIG2L" wmask="0xFF" bvalue="0x0F" >
<mask name="PWRTE" value="0x01" >
<value value="0x00" name="On" cname="_PWRTEN_ON" />
<value value="0x01" name="Off" cname="_PWRTEN_OFF" />
</mask>
<mask name="BODEN" value="0x02" >
<value value="0x00" name="Off" cname="_BOREN_OFF" />
<value value="0x02" name="On" cname="_BOREN_ON" />
</mask>
<mask name="BORV" value="0x0C" >
<value value="0x00" name="4.5" cname="_BORV_45" />
<value value="0x04" name="4.2" cname="_BORV_42" />
<value value="0x08" name="2.7" cname="_BORV_27" />
<value value="0x0C" name="2.0" cname="_BORV_20" />
</mask>
</config>
<config offset="0x3" name="CONFIG2H" wmask="0xFF" bvalue="0x3F" >
<mask name="WDT" value="0x01" >
<value value="0x00" name="Off" cname="_WDTEN_OFF" />
<value value="0x01" name="On" cname="_WDTEN_ON" />
</mask>
<mask name="WDTPS" value="0x1E" >
<value value="0x00" name="1:1" cname="_WDPS_1" />
<value value="0x02" name="1:2" cname="_WDPS_2" />
<value value="0x04" name="1:4" cname="_WDPS_4" />
<value value="0x06" name="1:8" cname="_WDPS_8" />
<value value="0x08" name="1:16" cname="_WDPS_16" />
<value value="0x0A" name="1:32" cname="_WDPS_32" />
<value value="0x0C" name="1:64" cname="_WDPS_64" />
<value value="0x0E" name="1:128" cname="_WDPS_128" />
<value value="0x10" name="1:256" cname="_WDPS_256" />
<value value="0x12" name="1:512" cname="_WDPS_512" />
<value value="0x14" name="1:1024" cname="_WDPS_1024" />
<value value="0x16" name="1:2048" cname="_WDPS_2048" />
<value value="0x18" name="1:4096" cname="_WDPS_4096" />
<value value="0x1A" name="1:8192" cname="_WDPS_8192" />
<value value="0x1C" name="1:16384" cname="_WDPS_16384" />
<value value="0x1E" name="1:32768" cname="_WDPS_32768" />
</mask>
<mask name="WINEN" value="0x20" >
<value value="0x00" name="On" cname="_WINEN_ON" />
<value value="0x20" name="Off" cname="_WINEN_OFF" />
</mask>
</config>
<config offset="0x4" name="CONFIG3L" wmask="0xFF" bvalue="0x3C" >
<mask name="PWMPIN" value="0x04" >
<value value="0x00" name="On" cname="_PWMPIN_ON" />
<value value="0x04" name="Off" cname="_PWMPIN_OFF" />
</mask>
<mask name="LPOL" value="0x08" >
<value value="0x00" name="low" cname="_LPOL_LOW" />
<value value="0x08" name="high" cname="_LPOL_HIGH" />
</mask>
<mask name="HPOL" value="0x10" >
<value value="0x00" name="low" cname="_HPOL_LOW" />
<value value="0x10" name="high" cname="_HPOL_HIGH" />
</mask>
<mask name="T1OSCMX" value="0x20" >
<value value="0x00" name="Legacy" cname="_T1OSCMX_OFF" />
<value value="0x20" name="Low Power" cname="_T1OSCMX_ON" />
</mask>
</config>
<config offset="0x5" name="CONFIG3H" wmask="0xFF" bvalue="0x9D" >
<mask name="MCLRE" value="0x80" >
<value value="0x00" name="Internal" cname="_MCLRE_OFF" />
<value value="0x80" name="External" cname="_MCLRE_ON" />
</mask>
</config>
<config offset="0x6" name="CONFIG4L" wmask="0xFF" bvalue="0x85" >
<mask name="STVREN" value="0x01" >
<value value="0x00" name="Off" cname="_STVREN_OFF" />
<value value="0x01" name="On" cname="_STVREN_ON" />
</mask>
<mask name="LVP" value="0x04" >
<value value="0x00" name="Off" cname="_LVP_OFF" />
<value value="0x04" name="On" cname="_LVP_ON" />
</mask>
<mask name="DEBUG" value="0x80" >
<value value="0x00" name="On" cname="_DEBUG_ON" />
<value value="0x80" name="Off" cname="_DEBUG_OFF" />
</mask>
</config>
<config offset="0x7" name="CONFIG4H" wmask="0xFF" bvalue="0x00" />
<config offset="0x8" name="CONFIG5L" wmask="0xFF" bvalue="0x0F" >
<mask name="CP_0" value="0x01" >
<value value="0x00" name="0200:0FFF" cname="_CP0_ON" />
<value value="0x01" name="Off" cname="_CP0_OFF" />
</mask>
<mask name="CP_1" value="0x02" >
<value value="0x00" name="1000:1FFF" cname="_CP1_ON" />
<value value="0x02" name="Off" cname="_CP1_OFF" />
</mask>
</config>
<config offset="0x9" name="CONFIG5H" wmask="0xFF" bvalue="0xC0" >
<mask name="CPB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_CPB_ON" />
<value value="0x40" name="Off" cname="_CPB_OFF" />
</mask>
<mask name="CPD" value="0x80" >
<value value="0x00" name="All" cname="_CPD_ON" />
<value value="0x80" name="Off" cname="_CPD_OFF" />
</mask>
</config>
<config offset="0xA" name="CONFIG6L" wmask="0xFF" bvalue="0x0F" >
<mask name="WRT_0" value="0x01" >
<value value="0x00" name="0200:0FFF" cname="_WRT0_ON" />
<value value="0x01" name="Off" cname="_WRT0_OFF" />
</mask>
<mask name="WRT_1" value="0x02" >
<value value="0x00" name="1000:1FFF" cname="_WRT1_ON" />
<value value="0x02" name="Off" cname="_WRT1_OFF" />
</mask>
</config>
<config offset="0xB" name="CONFIG6H" wmask="0xFF" bvalue="0xE0" >
<mask name="WRTC" value="0x20" >
<value value="0x00" name="All" cname="_WRTC_ON" />
<value value="0x20" name="Off" cname="_WRTC_OFF" />
</mask>
<mask name="WRTB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_WRTB_ON" />
<value value="0x40" name="Off" cname="_WRTB_OFF" />
</mask>
<mask name="WRTD" value="0x80" >
<value value="0x00" name="All" cname="_WRTD_ON" />
<value value="0x80" name="Off" cname="_WRTD_OFF" />
</mask>
</config>
<config offset="0xC" name="CONFIG7L" wmask="0xFF" bvalue="0x0F" >
<mask name="EBTR_0" value="0x01" >
<value value="0x00" name="0200:0FFF" cname="_EBTR0_ON" />
<value value="0x01" name="Off" cname="_EBTR0_OFF" />
</mask>
<mask name="EBTR_1" value="0x02" >
<value value="0x00" name="1000:1FFF" cname="_EBTR1_ON" />
<value value="0x02" name="Off" cname="_EBTR1_OFF" />
</mask>
</config>
<config offset="0xD" name="CONFIG7H" wmask="0xFF" bvalue="0x40" >
<mask name="EBTRB" value="0x40" >
<value value="0x00" name="0000:01FF" cname="_EBTRB_ON" />
<value value="0x40" name="Off" cname="_EBTRB_OFF" />
</mask>
</config>
<!--* Packages *************************************************************-->
<package types="sdip soic" nb_pins="28" >
<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="" />
</package>
</device>
|