diff --git a/spiOverJtag/constr_xc7a_csg325_1v35.xdc b/spiOverJtag/constr_xc7a_csg325_1v35.xdc new file mode 100644 index 0000000..dcde0d4 --- /dev/null +++ b/spiOverJtag/constr_xc7a_csg325_1v35.xdc @@ -0,0 +1,23 @@ +set_property BITSTREAM.GENERAL.COMPRESS TRUE [current_design] +set_property BITSTREAM.CONFIG.CONFIGRATE 16 [current_design] + +set_property CONFIG_VOLTAGE 1.8 [current_design] +set_property CFGBVS GND [current_design] + +set_property CONFIG_MODE SPIx4 [current_design] +set_property BITSTREAM.CONFIG.SPI_32BIT_ADDR NO [current_design] +set_property BITSTREAM.CONFIG.SPI_BUSWIDTH 4 [current_design] +set_property BITSTREAM.CONFIG.M1PIN PULLNONE [current_design] +set_property BITSTREAM.CONFIG.M2PIN PULLNONE [current_design] +set_property BITSTREAM.CONFIG.M0PIN PULLNONE [current_design] + +set_property BITSTREAM.CONFIG.USR_ACCESS TIMESTAMP [current_design] +set_property BITSTREAM.CONFIG.UNUSEDPIN PULLDOWN [current_design] +set_property BITSTREAM.CONFIG.OVERTEMPPOWERDOWN ENABLE [current_design] + +set_property -dict {PACKAGE_PIN L15 IOSTANDARD SSTL135_R} [get_ports csn] +set_property -dict {PACKAGE_PIN K16 IOSTANDARD SSTL135_R} [get_ports sdi_dq0] +set_property -dict {PACKAGE_PIN L17 IOSTANDARD SSTL135_R} [get_ports sdo_dq1] +set_property -dict {PACKAGE_PIN J15 IOSTANDARD SSTL135_R} [get_ports wpn_dq2] +set_property -dict {PACKAGE_PIN J16 IOSTANDARD SSTL135_R} [get_ports hldn_dq3] + diff --git a/spiOverJtag/spiOverJtag_xc7a50tcsg325_1v35.bit.gz b/spiOverJtag/spiOverJtag_xc7a50tcsg325_1v35.bit.gz new file mode 100644 index 0000000..fd31f15 Binary files /dev/null and b/spiOverJtag/spiOverJtag_xc7a50tcsg325_1v35.bit.gz differ diff --git a/src/spiFlashdb.hpp b/src/spiFlashdb.hpp index 9fc1f25..8a9636c 100644 --- a/src/spiFlashdb.hpp +++ b/src/spiFlashdb.hpp @@ -471,6 +471,22 @@ static std::map flash_list = { .bp_offset = {(1 << 2), (1 << 3), (1 << 4), (1 << 5)}, .quad_register = STATR, .quad_mask = (1 << 6), + }}, + {0xc22537, { + /* https://www.macronix.com/Lists/Datasheet/Attachments/8904/MX25U6432F,%201.8V,%2064Mb,%20v1.1.pdf */ + .manufacturer = "Macronix", + .model = "MX25U6432F", + .nr_sector = 128, + .sector_erase = true, + .subsector_erase = true, + .has_extended = false, + .tb_otp = true, + .tb_offset = (1 << 3), + .tb_register = CONFR, + .bp_len = 4, + .bp_offset = {(1 << 2), (1 << 3), (1 << 4), (1 << 5)}, + .quad_register = STATR, + .quad_mask = (1 << 6), }}, {0xc22817, { /* https://www.macronix.com/Lists/Datasheet/Attachments/8868/MX25R6435F,%20Wide%20Range,%2064Mb,%20v1.6.pdf */