-
Notifications
You must be signed in to change notification settings - Fork 11
/
flash.ini
407 lines (398 loc) · 7.49 KB
/
flash.ini
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
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
// The Z-World supported flash device table. The format is:
//
// // manufacturer and device names
// [manufacturer code * 0x100 + device code]
// sector size = sector size in bytes (128 for large sector flash)
// num sectors = number of sectors on the device
// flash size = size of flash in 4KB blocks (eg: 256KB = 64)
// write mode = 1 for small sector, sector erase (0x30) byte write
// = 2 for small sector, sector write
// = 3 for small page, page erase (0x50) byte write
// = 4 for small sector, sector erase (0x20) byte write
// or
// > 0x10 for large sector, sector erase (0x30) byte write
// (see FLASHWR.LIB SectorData table flash sector layout maps)
// AMD AM29F002BB
[0134]
sector size = 128
num sectors = 7
flash size = 64
write mode = 0x16
// AMD AM29LV002BT
[0140]
sector size = 128
num sectors = 7
flash size = 64
write mode = 0x15
// AMD AM29LV001BB
[016D]
sector size = 128
num sectors = 10
flash size = 32
write mode = 0x1F
// AMD AM29F004BT
[0177]
sector size = 128
num sectors = 11
flash size = 128
write mode = 0x17
// AMD AM29F004BB
[017B]
sector size = 128
num sectors = 11
flash size = 128
write mode = 0x18
// AMD AM29F040B
[01A4]
sector size = 128
num sectors = 8
flash size = 128
write mode = 0x1A
// AMD AM29F002BT
[01B0]
sector size = 128
num sectors = 7
flash size = 64
write mode = 0x15
// AMD AM29LV004BT
[01B5]
sector size = 128
num sectors = 11
flash size = 128
write mode = 0x17
// AMD AM29LV004BB
[01B6]
sector size = 128
num sectors = 11
flash size = 128
write mode = 0x18
// AMD AM29LV002BB
[01C2]
sector size = 128
num sectors = 7
flash size = 64
write mode = 0x16
// AMD AM29LV001BT
[01ED]
sector size = 128
num sectors = 10
flash size = 32
write mode = 0x13
// Fujitsu MBM29F002BC
[0434]
sector size = 128
num sectors = 7
flash size = 64
write mode = 0x16
// Fujitsu MBM29F002TC
[04B0]
sector size = 128
num sectors = 7
flash size = 64
write mode = 0x15
// Atmel AT49F002 (non-sector-erasable 16K bottom boot block!)
[1F07]
sector size = 128
num sectors = 5
flash size = 64
write mode = 0x12
// Atmel AT49F002T (non-sector-erasable 16K top boot block!)
[1F08]
sector size = 128
num sectors = 5
flash size = 64
write mode = 0x11
// Atmel AT29LV010 / AT29BV010A
[1F35]
sector size = 128
num sectors = 1024
flash size = 32
write mode = 2
// Atmel AT29C040
[1FA4]
sector size = 256
num sectors = 2048
flash size = 128
write mode = 2
// Atmel AT29LV020 / AT29BV020
[1FBA]
sector size = 256
num sectors = 1024
flash size = 64
write mode = 2
// Atmel AT29LV040 / AT29BV040
[1FC4]
sector size = 256
num sectors = 2048
flash size = 128
write mode = 2
// Atmel AT29C010
[1FD5]
sector size = 128
num sectors = 1024
flash size = 32
write mode = 2
// Atmel AT29C020
[1FDA]
sector size = 256
num sectors = 1024
flash size = 64
write mode = 2
// STMicroelectronics M29W010B
[2023]
sector size = 128
num sectors = 8
flash size = 32
write mode = 0x20
// STMicroelectronics M29F040B
[20E2]
sector size = 128
num sectors = 8
flash size = 128
write mode = 0x1A
// STMicroelectronics M29W040B
[20E3]
sector size = 128
num sectors = 8
flash size = 128
write mode = 0x1A
// Mosel/Vitelic V29C51001T
[4001]
sector size = 512
num sectors = 256
flash size = 32
write mode = 1
// Mosel/Vitelic V29C51002T
[4002]
sector size = 512
num sectors = 512
flash size = 64
write mode = 1
// Mosel/Vitelic V29C51004T
[4003]
sector size = 1024
num sectors = 512
flash size = 128
write mode = 1
// Mosel/Vitelic V29LC51001
[4060]
sector size = 512
num sectors = 256
flash size = 32
write mode = 1
// Mosel/Vitelic V29C31004T
[4063]
sector size = 1024
num sectors = 512
flash size = 128
write mode = 1
// Mosel/Vitelic V29C31004B
[4073]
sector size = 1024
num sectors = 512
flash size = 128
write mode = 1
// Mosel/Vitelic V29LC51002
[4082]
sector size = 512
num sectors = 512
flash size = 32
write mode = 1
// Mosel/Vitelic V29C51001B
[40A1]
sector size = 512
num sectors = 256
flash size = 32
write mode = 1
// Mosel/Vitelic V29C51002B
[40A2]
sector size = 512
num sectors = 512
flash size = 64
write mode = 1
// Mosel/Vitelic V29C51004B
[40A3]
sector size = 1024
num sectors = 512
flash size = 128
write mode = 1
// Hyundai Hy29F002B
[AD34]
sector size = 128
num sectors = 7
flash size = 64
write mode = 0x16
// Hynix/Hyundai HY29F002T
[ADB0]
sector size = 128
num sectors = 7
flash size = 64
write mode = 0x15
// SST SST29EE010
[BF07]
sector size = 128
num sectors = 1024
flash size = 32
write mode = 2
// SST SST29LE010 / SST29VE010
[BF08]
sector size = 128
num sectors = 1024
flash size = 32
write mode = 2
// SST SST29EE020
[BF10]
sector size = 128
num sectors = 2048
flash size = 64
write mode = 2
// SST SST29LE020 / SST29VE020
[BF12]
sector size = 128
num sectors = 2048
flash size = 64
write mode = 2
// SST SST29SF040
[BF13]
sector size = 128
num sectors = 2048
flash size = 128
write mode = 4
// SST SST29VF040
[BF14]
sector size = 128
num sectors = 2048
flash size = 128
write mode = 4
// SST SST29SF512
[BF20]
sector size = 128
num sectors = 512
flash size = 16
write mode = 4
// SST SST29VF512
[BF21]
sector size = 128
num sectors = 512
flash size = 16
write mode = 4
// SST SST29SF010
[BF22]
sector size = 128
num sectors = 1024
flash size = 32
write mode = 4
// SST SST29VF010
[BF23]
sector size = 128
num sectors = 1024
flash size = 32
write mode = 4
// SST SST29SF020
[BF24]
sector size = 128
num sectors = 2048
flash size = 64
write mode = 4
// SST SST29VF020
[BF25]
sector size = 128
num sectors = 2048
flash size = 64
write mode = 4
// SST SST29LE512 / SST29VE512
[BF3D]
sector size = 128
num sectors = 512
flash size = 16
write mode = 2
// SST SST29EE512
[BF5D]
sector size = 128
num sectors = 512
flash size = 16
write mode = 2
// SST SST39SF512
[BFB4]
sector size = 4096
num sectors = 16
flash size = 16
write mode = 1
// SST SST39SF010
[BFB5]
sector size = 4096
num sectors = 32
flash size = 32
write mode = 1
// SST SST39SF020
[BFB6]
sector size = 4096
num sectors = 64
flash size = 64
write mode = 1
// SST SST39SF040
[BFB7]
sector size = 4096
num sectors = 128
flash size = 128
write mode = 1
// SST SST39LF512 / SST39VF512
[BFD4]
sector size = 4096
num sectors = 16
flash size = 16
write mode = 1
// SST SST39LF010 / SST39VF010
[BFD5]
sector size = 4096
num sectors = 32
flash size = 32
write mode = 1
// SST SST39LF020 / SST39VF020
[BFD6]
sector size = 4096
num sectors = 64
flash size = 64
write mode = 1
// SST SST39LF040 / SST39VF040
[BFD7]
sector size = 4096
num sectors = 128
flash size = 128
write mode = 1
// Macronix MX29F002B
[C234]
sector size = 128
num sectors = 7
flash size = 64
write mode = 0x16
// Macronix MX29F002T
[C2B0]
sector size = 128
num sectors = 7
flash size = 64
write mode = 0x15
// Winbond W29C020CT
[DA45]
sector size = 128
num sectors = 2048
flash size = 64
write mode = 2
// Winbond W29C040
[DA46]
sector size = 256
num sectors = 2048
flash size = 128
write mode = 2
// Winbond W39L020
[DAB5]
sector size = 4096
num sectors = 64
flash size = 64
write mode = 3
// Winbond W29EE011
[DAC1]
sector size = 128
num sectors = 1024
flash size = 32
write mode = 2