Skip to content

Commit d61e147

Browse files
committed
added 1.35v csg325 build and Macronix flash
1 parent c4d4e8d commit d61e147

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design]
2+
set_property BITSTREAM.CONFIG.CONFIGRATE 16 [current_design]
3+
4+
set_property CONFIG_VOLTAGE 1.8 [current_design]
5+
set_property CFGBVS GND [current_design]
6+
7+
set_property CONFIG_MODE SPIx4 [current_design]
8+
set_property BITSTREAM.CONFIG.SPI_32BIT_ADDR NO [current_design]
9+
set_property BITSTREAM.CONFIG.SPI_BUSWIDTH 4 [current_design]
10+
set_property BITSTREAM.CONFIG.M1PIN PULLNONE [current_design]
11+
set_property BITSTREAM.CONFIG.M2PIN PULLNONE [current_design]
12+
set_property BITSTREAM.CONFIG.M0PIN PULLNONE [current_design]
13+
14+
set_property BITSTREAM.CONFIG.USR_ACCESS TIMESTAMP [current_design]
15+
set_property BITSTREAM.CONFIG.UNUSEDPIN PULLDOWN [current_design]
16+
set_property BITSTREAM.CONFIG.OVERTEMPPOWERDOWN ENABLE [current_design]
17+
18+
set_property -dict {PACKAGE_PIN L15 IOSTANDARD SSTL135_R} [get_ports csn]
19+
set_property -dict {PACKAGE_PIN K16 IOSTANDARD SSTL135_R} [get_ports sdi_dq0]
20+
set_property -dict {PACKAGE_PIN L17 IOSTANDARD SSTL135_R} [get_ports sdo_dq1]
21+
set_property -dict {PACKAGE_PIN J15 IOSTANDARD SSTL135_R} [get_ports wpn_dq2]
22+
set_property -dict {PACKAGE_PIN J16 IOSTANDARD SSTL135_R} [get_ports hldn_dq3]
23+
15.6 KB
Binary file not shown.

src/spiFlashdb.hpp

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -471,6 +471,22 @@ static std::map <uint32_t, flash_t> flash_list = {
471471
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), (1 << 5)},
472472
.quad_register = STATR,
473473
.quad_mask = (1 << 6),
474+
}},
475+
{0xc22537, {
476+
/* https://www.macronix.com/Lists/Datasheet/Attachments/8904/MX25U6432F,%201.8V,%2064Mb,%20v1.1.pdf */
477+
.manufacturer = "Macronix",
478+
.model = "MX25U6432F",
479+
.nr_sector = 128,
480+
.sector_erase = true,
481+
.subsector_erase = true,
482+
.has_extended = false,
483+
.tb_otp = true,
484+
.tb_offset = (1 << 3),
485+
.tb_register = CONFR,
486+
.bp_len = 4,
487+
.bp_offset = {(1 << 2), (1 << 3), (1 << 4), (1 << 5)},
488+
.quad_register = STATR,
489+
.quad_mask = (1 << 6),
474490
}},
475491
{0xc22817, {
476492
/* https://www.macronix.com/Lists/Datasheet/Attachments/8868/MX25R6435F,%20Wide%20Range,%2064Mb,%20v1.6.pdf */

0 commit comments

Comments
 (0)