Skip to content

Commit aeeb40e

Browse files
ladyadatannewt
authored andcommitted
Change hallowing to shipping flash type W25Q64JV-IQ. tested!
1 parent 1768057 commit aeeb40e

File tree

2 files changed

+17
-1
lines changed

2 files changed

+17
-1
lines changed

ports/atmel-samd/boards/hallowing_m0_express/mpconfigboard.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343

4444
#define EXTERNAL_FLASH_DEVICE_COUNT 2
4545

46-
#define EXTERNAL_FLASH_DEVICES W25Q64JV_IM, \
46+
#define EXTERNAL_FLASH_DEVICES W25Q64JV_IQ, \
4747
GD25Q64C
4848

4949
#include "external_flash/external_flash.h"

ports/atmel-samd/external_flash/devices.h

+16
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,22 @@ typedef struct {
217217
.supports_qspi_writes = true, \
218218
}
219219

220+
// Settings for the Winbond W25Q64JV-IQ 8MiB SPI flash. Note that JV-IM has a different .memory_type (0x70)
221+
// Datasheet: http://www.winbond.com/resource-files/w25q64jv%20revj%2003272018%20plus.pdf
222+
#define W25Q64JV_IQ {\
223+
.total_size = (1 << 23), /* 8 MiB */ \
224+
.start_up_time_us = 5000, \
225+
.manufacturer_id = 0xef, \
226+
.memory_type = 0x40, \
227+
.capacity = 0x17, \
228+
.max_clock_speed_mhz = 133, \
229+
.has_sector_protection = false, \
230+
.supports_fast_read = true, \
231+
.supports_qspi = true, \
232+
.has_quad_enable = true, \
233+
.supports_qspi_writes = true, \
234+
}
235+
220236
// Settings for the Winbond W25Q80DL 1MiB SPI flash.
221237
// Datasheet: https://www.winbond.com/resource-files/w25q80dv%20dl_revh_10022015.pdf
222238
#define W25Q80DL {\

0 commit comments

Comments
 (0)