@@ -180,9 +180,9 @@ typedef struct {
180
180
.write_status_register_split = false, \
181
181
}
182
182
183
- // Settings for the Winbond W25Q16JV 2MiB SPI flash.
183
+ // Settings for the Winbond W25Q16JV-IQ 2MiB SPI flash. Note that JV-IM has a different .memory_type (0x70)
184
184
// Datasheet: https://www.winbond.com/resource-files/w25q16jv%20spi%20revf%2005092017.pdf
185
- #define W25Q16JV {\
185
+ #define W25Q16JV_IQ {\
186
186
.total_size = (1 << 21), /* 2 MiB */ \
187
187
.start_up_time_us = 5000, \
188
188
.manufacturer_id = 0xef, \
@@ -197,6 +197,23 @@ typedef struct {
197
197
.write_status_register_split = false, \
198
198
}
199
199
200
+ // Settings for the Winbond W25Q16JV-IM 2MiB SPI flash. Note that JV-IQ has a different .memory_type (0x40)
201
+ // Datasheet: https://www.winbond.com/resource-files/w25q16jv%20spi%20revf%2005092017.pdf
202
+ #define W25Q16JV_IM {\
203
+ .total_size = (1 << 21), /* 2 MiB */ \
204
+ .start_up_time_us = 5000, \
205
+ .manufacturer_id = 0xef, \
206
+ .memory_type = 0x70, \
207
+ .capacity = 0x15, \
208
+ .max_clock_speed_mhz = 133, \
209
+ .has_sector_protection = false, \
210
+ .supports_fast_read = true, \
211
+ .supports_qspi = true, \
212
+ .has_quad_enable = true, \
213
+ .supports_qspi_writes = true, \
214
+ .write_status_register_split = false, \
215
+ }
216
+
200
217
// Settings for the Winbond W25Q32BV 4MiB SPI flash.
201
218
// Datasheet: https://www.winbond.com/resource-files/w25q32bv_revi_100413_wo_automotive.pdf
202
219
#define W25Q32BV {\
@@ -213,6 +230,22 @@ typedef struct {
213
230
.supports_qspi_writes = false, \
214
231
.write_status_register_split = false, \
215
232
}
233
+ // Settings for the Winbond W25Q32JV-IM 4MiB SPI flash.
234
+ // Datasheet: https://www.winbond.com/resource-files/w25q32jv%20revg%2003272018%20plus.pdf
235
+ #define W25Q32JV_IM {\
236
+ .total_size = (1 << 22), /* 4 MiB */ \
237
+ .start_up_time_us = 5000, \
238
+ .manufacturer_id = 0xef, \
239
+ .memory_type = 0x70, \
240
+ .capacity = 0x16, \
241
+ .max_clock_speed_mhz = 133, \
242
+ .has_sector_protection = false, \
243
+ .supports_fast_read = true, \
244
+ .supports_qspi = true, \
245
+ .has_quad_enable = true, \
246
+ .supports_qspi_writes = true, \
247
+ .write_status_register_split = false, \
248
+ }
216
249
217
250
// Settings for the Winbond W25Q64JV-IM 8MiB SPI flash. Note that JV-IQ has a different .memory_type (0x40)
218
251
// Datasheet: http://www.winbond.com/resource-files/w25q64jv%20revj%2003272018%20plus.pdf
@@ -266,7 +299,7 @@ typedef struct {
266
299
}
267
300
268
301
269
- // Settings for the Winbond W25Q128JV-SQ 8MiB SPI flash. Note that JV-IM has a different .memory_type (0x70)
302
+ // Settings for the Winbond W25Q128JV-SQ 16MiB SPI flash. Note that JV-IM has a different .memory_type (0x70)
270
303
// Datasheet: https://www.winbond.com/resource-files/w25q128jv%20revf%2003272018%20plus.pdf
271
304
#define W25Q128JV_SQ {\
272
305
.total_size = (1 << 23), /* 16 MiB */ \
0 commit comments