-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathxtx.ron
More file actions
165 lines (163 loc) · 7.24 KB
/
xtx.ron
File metadata and controls
165 lines (163 loc) · 7.24 KB
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
// XTX Technology SPI Flash Chips
// Ported from flashprog/flashchips.c
(
vendor: "XTX",
manufacturer_id: 0x0B,
chips: [
// XT25F series - Standard SPI flash
(
name: "XT25F02E",
device_id: 0x4012,
total_size: KiB(256),
features: (wrsr_wren: true, wrsr_ewsr: true, quad_io: true, status_reg_2: true, qe_sr2: true),
voltage: (min: 2700, max: 3600),
erase_blocks: [
(opcode: 0x20, regions: [(size: KiB(4), count: 64)]),
(opcode: 0x52, regions: [(size: KiB(32), count: 8)]),
(opcode: 0xD8, regions: [(size: KiB(64), count: 4)]),
(opcode: 0x60, regions: [(size: KiB(256), count: 1)]),
(opcode: 0xC7, regions: [(size: KiB(256), count: 1)]),
],
),
(
name: "XT25F04D",
device_id: 0x4013,
total_size: KiB(512),
features: (wrsr_wren: true, wrsr_ewsr: true, quad_io: true, status_reg_2: true, qe_sr2: true),
voltage: (min: 2700, max: 3600),
erase_blocks: [
(opcode: 0x20, regions: [(size: KiB(4), count: 128)]),
(opcode: 0x52, regions: [(size: KiB(32), count: 16)]),
(opcode: 0xD8, regions: [(size: KiB(64), count: 8)]),
(opcode: 0x60, regions: [(size: KiB(512), count: 1)]),
(opcode: 0xC7, regions: [(size: KiB(512), count: 1)]),
],
),
(
name: "XT25F08B",
device_id: 0x4014,
total_size: MiB(1),
features: (wrsr_wren: true, wrsr_ewsr: true, quad_io: true, status_reg_2: true, qe_sr2: true),
voltage: (min: 2700, max: 3600),
erase_blocks: [
(opcode: 0x20, regions: [(size: KiB(4), count: 256)]),
(opcode: 0x52, regions: [(size: KiB(32), count: 32)]),
(opcode: 0xD8, regions: [(size: KiB(64), count: 16)]),
(opcode: 0x60, regions: [(size: MiB(1), count: 1)]),
(opcode: 0xC7, regions: [(size: MiB(1), count: 1)]),
],
),
(
name: "XT25F16B",
device_id: 0x4015,
total_size: MiB(2),
features: (wrsr_wren: true, wrsr_ewsr: true, quad_io: true, otp: true, status_reg_2: true, qe_sr2: true, wp_tb: true),
voltage: (min: 2700, max: 3600),
erase_blocks: [
(opcode: 0x20, regions: [(size: KiB(4), count: 512)]),
(opcode: 0x52, regions: [(size: KiB(32), count: 64)]),
(opcode: 0xD8, regions: [(size: KiB(64), count: 32)]),
(opcode: 0x60, regions: [(size: MiB(2), count: 1)]),
(opcode: 0xC7, regions: [(size: MiB(2), count: 1)]),
],
),
(
name: "XT25F32B",
device_id: 0x4016,
total_size: MiB(4),
features: (wrsr_wren: true, wrsr_ewsr: true, quad_io: true, qpi: true, otp: true, status_reg_2: true, qe_sr2: true, wp_tb: true),
voltage: (min: 2700, max: 3600),
erase_blocks: [
(opcode: 0x20, regions: [(size: KiB(4), count: 1024)]),
(opcode: 0x52, regions: [(size: KiB(32), count: 128)]),
(opcode: 0xD8, regions: [(size: KiB(64), count: 64)]),
(opcode: 0x60, regions: [(size: MiB(4), count: 1)]),
(opcode: 0xC7, regions: [(size: MiB(4), count: 1)]),
],
),
(
name: "XT25F64B",
device_id: 0x4017,
total_size: MiB(8),
features: (wrsr_wren: true, wrsr_ewsr: true, quad_io: true, qpi: true, otp: true, status_reg_2: true, qe_sr2: true, wp_tb: true),
voltage: (min: 2700, max: 3600),
erase_blocks: [
(opcode: 0x20, regions: [(size: KiB(4), count: 2048)]),
(opcode: 0x52, regions: [(size: KiB(32), count: 256)]),
(opcode: 0xD8, regions: [(size: KiB(64), count: 128)]),
(opcode: 0x60, regions: [(size: MiB(8), count: 1)]),
(opcode: 0xC7, regions: [(size: MiB(8), count: 1)]),
],
),
(
name: "XT25F128B",
device_id: 0x4018,
total_size: MiB(16),
features: (wrsr_wren: true, wrsr_ewsr: true, quad_io: true, qpi: true, otp: true, status_reg_2: true, qe_sr2: true, wp_tb: true),
voltage: (min: 2700, max: 3600),
erase_blocks: [
(opcode: 0x20, regions: [(size: KiB(4), count: 4096)]),
(opcode: 0x52, regions: [(size: KiB(32), count: 512)]),
(opcode: 0xD8, regions: [(size: KiB(64), count: 256)]),
(opcode: 0x60, regions: [(size: MiB(16), count: 1)]),
(opcode: 0xC7, regions: [(size: MiB(16), count: 1)]),
],
),
(
name: "XT25F16F",
device_id: 0x4015,
total_size: MiB(2),
features: (otp: true, status_reg_2: true),
voltage: (min: 2700, max: 3600),
erase_blocks: [
(opcode: 0x20, regions: [(size: KiB(4), count: 512)]),
(opcode: 0x52, regions: [(size: KiB(32), count: 64)]),
(opcode: 0xD8, regions: [(size: KiB(64), count: 32)]),
(opcode: 0x60, regions: [(size: MiB(2), count: 1)]),
(opcode: 0xC7, regions: [(size: MiB(2), count: 1)]),
],
),
(
name: "XT25F32F",
device_id: 0x4016,
total_size: MiB(4),
features: (otp: true, status_reg_2: true),
voltage: (min: 2700, max: 3600),
erase_blocks: [
(opcode: 0x20, regions: [(size: KiB(4), count: 1024)]),
(opcode: 0x52, regions: [(size: KiB(32), count: 128)]),
(opcode: 0xD8, regions: [(size: KiB(64), count: 64)]),
(opcode: 0x60, regions: [(size: MiB(4), count: 1)]),
(opcode: 0xC7, regions: [(size: MiB(4), count: 1)]),
],
),
(
name: "XT25F64F",
device_id: 0x4017,
total_size: MiB(8),
features: (otp: true, status_reg_2: true),
voltage: (min: 2700, max: 3600),
erase_blocks: [
(opcode: 0x20, regions: [(size: KiB(4), count: 2048)]),
(opcode: 0x52, regions: [(size: KiB(32), count: 256)]),
(opcode: 0xD8, regions: [(size: KiB(64), count: 128)]),
(opcode: 0x60, regions: [(size: MiB(8), count: 1)]),
(opcode: 0xC7, regions: [(size: MiB(8), count: 1)]),
],
),
(
name: "XT25F128F/XT25BF128F",
device_id: 0x4018,
total_size: MiB(16),
features: (otp: true, status_reg_2: true),
voltage: (min: 2700, max: 3600),
erase_blocks: [
(opcode: 0x20, regions: [(size: KiB(4), count: 4096)]),
(opcode: 0x52, regions: [(size: KiB(32), count: 512)]),
(opcode: 0xD8, regions: [(size: KiB(64), count: 256)]),
(opcode: 0x60, regions: [(size: MiB(16), count: 1)]),
(opcode: 0xC7, regions: [(size: MiB(16), count: 1)]),
],
),
],
)