summaryrefslogtreecommitdiffstats
path: root/src/devices/pic/xml_data/30F6010.xml
blob: 1038327f181ae209e4ccf31c317f7d4903db9a2f (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
<?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="30F6010" document="010330" status="Mature" alternative="30F6010A" memory_technology="FLASH" architecture="30F" id="0x0188" >

<!--* Operating characteristics ********************************************-->
  <frequency_range name="industrial" >
    <frequency start="0"   end="7.5" vdd_min="2.5"  vdd_max="5.5" />
    <frequency start="7.5" end="15"  vdd_min="3"    vdd_max="5.5" />
    <frequency start="15"  end="30"  vdd_min="4.75" vdd_max="5.5" />
  </frequency_range>
  <frequency_range name="extended"   >
    <frequency start="0"  end="10" vdd_min="3"    vdd_max="5.5" />
    <frequency start="10" end="20" vdd_min="4.75" 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.5" max="5.5"   nominal="5"  />

<!--* Memory ***************************************************************-->
  <memory name="code"           start="0x000000" end="0x017FFF" />
  <memory name="device_id"         start="0xFF0000" end="0xFF0004" />
  <memory name="config"            start="0xF80000" end="0xF8000D" />
  <memory name="eeprom"            start="0x7FF000" end="0x7FFFFF" />
  <memory name="user_ids"          start="0x8005C0" end="0x8005FF" rtqmask="0xFFFFFF" />
  <memory name="debug_vector"      start="0x800000" end="0x800007" />
  <memory name="program_executive" start="0x800000" end="0x80053F" />

<!--* Configuration bits ***************************************************-->
  <config offset="0x0" name="FOSC"      wtqmask="0xC30F" bvalue="0xC30F" ctqmask="0xC10F" >
    <tqmask name="FPR"   value="0x000F" >
      <value value="0x0000" name="XTL"          cname="XTL"        />
      <value value="0x0001" name="XTL"          cname="XTL"        />
      <value value="0x0002" name="HS"           cname="HS"         />
      <value value="0x0003" name="HS"           cname="HS"         />
      <value value="0x0004" name="XT"           cname="XT"         />
      <value value="0x0005" name="XT4"          cname="XT_PLL4"    />
      <value value="0x0006" name="XT8"          cname="XT_PLL8"    />
      <value value="0x0007" name="XT16"         cname="XT_PLL16"   />
      <value value="0x0008" name="EXTRC_IO"     cname="ERCIO"      />
      <value value="0x0009" name="EXTRC_CLKOUT" cname="ERC"        />
      <value value="0x000A" name="invalid" />
      <value value="0x000B" name="EC_CLKOUT"    cname="EC"         />
      <value value="0x000C" name="EC_IO"        cname="ECIO"       />
      <value value="0x000D" name="EC4"          cname="ECIO_PLL4"  />
      <value value="0x000E" name="EC8"          cname="ECIO_PLL8"  />
      <value value="0x000F" name="EC16"         cname="ECIO_PLL16" />
    </tqmask>
    <tqmask name="FOS"   value="0x0300" >
      <value value="0x0000" name="TMR1"     cname="EXT" />
      <value value="0x0100" name="INTRC_F"  cname="FRC" />
      <value value="0x0200" name="INTRC_LP" cname="LP"  />
      <value value="0x0300" name="PRIM"     cname="_"    />
    </tqmask>
    <tqmask name="FCKSM" value="0xC000" >
      <value value="0x0000" name="Switching on, monitor on"   cname="CSW_FSCM_ON"     />
      <value value="0x4000" name="Switching on, monitor off"  cname="CSW_ON_FSCM_OFF" />
      <value value="0x8000" name="Switching off, monitor off" cname="CSW_FSCM_OFF"    />
      <value value="0xC000" name="Switching off, monitor off" cname="CSW_FSCM_OFF"    />
    </tqmask>
  </config>

  <config offset="0x2" name="FWDT"      wtqmask="0x803F" bvalue="0x803F" >
    <tqmask name="FWPSB"  value="0x000F" >
      <value value="0x0000" name="1:1"  cname="WDTPSB_1"  />
      <value value="0x0001" name="1:2"  cname="WDTPSB_2"  />
      <value value="0x0002" name="1:3"  cname="WDTPSB_3"  />
      <value value="0x0003" name="1:4"  cname="WDTPSB_4"  />
      <value value="0x0004" name="1:5"  cname="WDTPSB_5"  />
      <value value="0x0005" name="1:6"  cname="WDTPSB_6"  />
      <value value="0x0006" name="1:7"  cname="WDTPSB_7"  />
      <value value="0x0007" name="1:8"  cname="WDTPSB_8"  />
      <value value="0x0008" name="1:9"  cname="WDTPSB_9"  />
      <value value="0x0009" name="1:10" cname="WDTPSB_10" />
      <value value="0x000A" name="1:11" cname="WDTPSB_11" />
      <value value="0x000B" name="1:12" cname="WDTPSB_12" />
      <value value="0x000C" name="1:13" cname="WDTPSB_13" />
      <value value="0x000D" name="1:14" cname="WDTPSB_14" />
      <value value="0x000E" name="1:15" cname="WDTPSB_15" />
      <value value="0x000F" name="1:16" cname="WDTPSB_16" />
    </tqmask>
    <tqmask name="FWPSA"  value="0x0030" >
      <value value="0x0000" name="1:1"   cname="WDTPSA_1"   />
      <value value="0x0010" name="1:8"   cname="WDTPSA_8"   />
      <value value="0x0020" name="1:64"  cname="WDTPSA_64"  />
      <value value="0x0030" name="1:512" cname="WDTPSA_512" />
    </tqmask>
    <tqmask name="FWDTEN" value="0x8000" >
      <value value="0x0000" name="Off" cname="WDT_OFF" />
      <value value="0x8000" name="On"  cname="WDT_ON"  />
    </tqmask>
  </config>

  <config offset="0x4" name="FBORPOR"   wtqmask="0x87B3" bvalue="0x87B3" >
    <tqmask name="FPWRT"  value="0x0003" >
      <value value="0x0000" name="0"  cname="PWRT_OFF" />
      <value value="0x0001" name="4"  cname="PWRT_4"   />
      <value value="0x0002" name="16" cname="PWRT_16"  />
      <value value="0x0003" name="64" cname="PWRT_64"  />
    </tqmask>
    <tqmask name="BORV"   value="0x0030" >
      <value value="0x0000" name="4.5" cname="BORV_45" />
      <value value="0x0010" name="4.2" cname="BORV_42" />
      <value value="0x0020" name="2.7" cname="BORV_27" />
      <value value="0x0030" name="2.0" cname="BORV_20" />
    </tqmask>
    <tqmask name="BODEN"  value="0x0080" >
      <value value="0x0000" name="Off" cname="PBOR_OFF" />
      <value value="0x0080" name="On"  cname="PBOR_ON"  />
    </tqmask>
    <tqmask name="LPOL"   value="0x0100" >
      <value value="0x0000" name="low"  cname="PWMxL_ACT_LO" />
      <value value="0x0100" name="high" cname="PWMxL_ACT_HI" />
    </tqmask>
    <tqmask name="HPOL"   value="0x0200" >
      <value value="0x0000" name="low"  cname="PWMxH_ACT_LO" />
      <value value="0x0200" name="high" cname="PWMxH_ACT_HI" />
    </tqmask>
    <tqmask name="PWMPIN" value="0x0400" >
      <value value="0x0000" name="On"  cname="RST_PWMPIN" />
      <value value="0x0400" name="Off" cname="RST_IO"     />
    </tqmask>
    <tqmask name="MCLRE"  value="0x8000" >
      <value value="0x0000" name="Internal" cname="MCLR_DIS" />
      <value value="0x8000" name="External" cname="MCLR_EN"  />
    </tqmask>
  </config>

  <config offset="0x6" name="RESERVED1" wtqmask="0x310F" bvalue="0x0000" ctqmask="0x310F" />

  <config offset="0x8" name="RESERVED2" wtqmask="0x330F" bvalue="0x0000" ctqmask="0x330F" />

  <config offset="0xA" name="FGS"       wtqmask="0x0007" bvalue="0x0003" ctqmask="0x0007" >
    <tqmask name="GWRP" value="0x0001" >
      <value value="0x0000" name="All" cname="0xFFFE" />
      <value value="0x0001" name="Off" cname="_" />
    </tqmask>
    <tqmask name="GCP"  value="0x0002" >
      <value value="0x0000" name="All" cname="CODE_PROT_ON"  />
      <value value="0x0002" name="Off" cname="CODE_PROT_OFF" />
    </tqmask>
  </config>

  <config offset="0xC" name="ICD"       wtqmask="0xC003" bvalue="0xC003" >
    <tqmask name="ICS"   value="0x0003" >
      <value value="0x0000" name="EMUC3, EMUD3"       cname="0xFFFC" />
      <value value="0x0001" name="EMUC2, EMUD2"       cname="0xFFFD" />
      <value value="0x0002" name="EMUC1, EMUD1"       cname="0xFFFE" />
      <value value="0x0003" name="PGC/EMUC, PGD/EMUD" cname="_" />
    </tqmask>
    <tqmask name="COE"   value="0x4000" >
      <value value="0x0000" name="On"  cname="0xBFFF" />
      <value value="0x4000" name="Off" cname="_" />
    </tqmask>
    <tqmask name="DEBUG" value="0x8000" >
      <value value="0x0000" name="On"  cname="0x7FFF" />
      <value value="0x8000" name="Off" cname="_" />
    </tqmask>
  </config>

<!--* Packages *************************************************************-->
  <package types="tqfp" nb_pins="80" >
    <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="" />
    <pin index="45" name="" />
    <pin index="46" name="" />
    <pin index="47" name="" />
    <pin index="48" name="" />
    <pin index="49" name="" />
    <pin index="50" name="" />
    <pin index="51" name="" />
    <pin index="52" name="" />
    <pin index="53" name="" />
    <pin index="54" name="" />
    <pin index="55" name="" />
    <pin index="56" name="" />
    <pin index="57" name="" />
    <pin index="58" name="" />
    <pin index="59" name="" />
    <pin index="60" name="" />
    <pin index="61" name="" />
    <pin index="62" name="" />
    <pin index="63" name="" />
    <pin index="64" name="" />
    <pin index="65" name="" />
    <pin index="66" name="" />
    <pin index="67" name="" />
    <pin index="68" name="" />
    <pin index="69" name="" />
    <pin index="70" name="" />
    <pin index="71" name="" />
    <pin index="72" name="" />
    <pin index="73" name="" />
    <pin index="74" name="" />
    <pin index="75" name="" />
    <pin index="76" name="" />
    <pin index="77" name="" />
    <pin index="78" name="" />
    <pin index="79" name="" />
    <pin index="80" name="" />
  </package>

</device>