UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Participant brandnj20
Participant
2,017 Views
Registered: ‎02-12-2016

Winbond 25Q128JVS Program Flash Failure

We are using Vivado 2014.4 and the only flash part that is not obsolete and is listed in UG 908 (2014.4) is QSPI Winbond W25Q128 128 x4 (single).

 

This part fails to flash on our custom board that was working fine with S25FL127S. 

 

We have tried multiple versions of Vivado as well as Lab tools. With the board set to boot in JTAG and QSPI mode. 

 

MIOs set for QSPI:

SF: Unsupported flash IDs: manuf ef, jedec 7018, ext_jedec 0000

MIOs set for JTAG:

SF: Unsupported flash IDs: manuf ff, jedec ffff, ext_jedec ffff

 

This is what I get from SDK:

U-Boot 2014.01 (Aug 01 2014 - 11:00:52)

I2C:   ready
Memory: ECC disabled
DRAM:  256 KiB
WARNING: Caches not enabled
Using default environment

In:    serial
Out:   serial
Err:   serial
zynq-uboot> sf probe 0 10000000 0

SF: Unsupported flash IDs: manuf ef, jedec 7018, ext_jedec 0000
Failed to initialize SPI flash at 0:0
zynq-uboot> sf erase 0 410000

No SPI flash selected. Please run `sf probe'
zynq-uboot> sf read FFFC0000 0 10000

No SPI flash selected. Please run `sf probe'
zynq-uboot> .......cmp.b FFFC0000 FFFD0000 10000

byte at 0xfffc0000 (0x0) != byte at 0xfffd0000 (0xff)
Total of 0 byte(s) were the same
zynq-uboot>
ERROR: Blank Check Operation Error

 

0 Kudos
2 Replies
Participant brandnj20
Participant
1,989 Views
Registered: ‎02-12-2016

Re: Winbond 25Q128JVS Program Flash Failure

From the latest version of U-boot
https://github.com/mathworks/xilinx-uboot/blob/master/drivers/mtd/spi/sf_params.c
#ifdef CONFIG_SPI_FLASH_WINBOND  /* WINBOND */
 {"W25P80",    0xef2014, 0x0, 64 * 1024,    16, RD_NORM,             0},
 {"W25P16",    0xef2015, 0x0, 64 * 1024,    32, RD_NORM,             0},
 {"W25P32",    0xef2016, 0x0, 64 * 1024,    64, RD_NORM,             0},
 {"W25X40",    0xef3013, 0x0, 64 * 1024,     8, RD_NORM,       SECT_4K},
 {"W25X16",    0xef3015, 0x0, 64 * 1024,    32, RD_NORM,       SECT_4K},
 {"W25X32",    0xef3016, 0x0, 64 * 1024,    64, RD_NORM,       SECT_4K},
 {"W25X64",    0xef3017, 0x0, 64 * 1024,   128, RD_NORM,       SECT_4K},
 {"W25Q80BL",    0xef4014, 0x0, 64 * 1024,    16, RD_FULL,     WR_QPP | SECT_4K},
 {"W25Q16CL",    0xef4015, 0x0, 64 * 1024,    32, RD_FULL,     WR_QPP | SECT_4K},
 {"W25Q32BV",    0xef4016, 0x0, 64 * 1024,    64, RD_FULL,     WR_QPP | SECT_4K},
 {"W25Q64CV",    0xef4017, 0x0, 64 * 1024,   128, RD_FULL,     WR_QPP | SECT_4K},
 {"W25Q128BV",    0xef4018, 0x0, 64 * 1024,   256, RD_FULL,     WR_QPP | SECT_4K},
 {"W25Q256",    0xef4019, 0x0, 64 * 1024,   512, RD_FULL,     WR_QPP | SECT_4K},
 {"W25Q80BW",    0xef5014, 0x0, 64 * 1024,    16, RD_FULL,     WR_QPP | SECT_4K},
 {"W25Q16DW",    0xef6015, 0x0, 64 * 1024,    32, RD_FULL,     WR_QPP | SECT_4K},
 {"W25Q32DW",    0xef6016, 0x0, 64 * 1024,    64, RD_FULL,     WR_QPP | SECT_4K},
 {"W25Q64DW",    0xef6017, 0x0, 64 * 1024,   128, RD_FULL,     WR_QPP | SECT_4K},
 {"W25Q128FW",    0xef6018, 0x0, 64 * 1024,   256, RD_FULL,     WR_QPP | SECT_4K},
#endif

 

The chip I have reports 0xef7018. looks like the difference is 1.8 vs 3.3

Options:
1)Modify Uboot and add 0xef7018. Hope my FSBL will work with this chip.
2)Make my own flash programmer from soem modifed FSBL code. Hope my FSBL will work with this chip.

3)????

0 Kudos
Xilinx Employee
Xilinx Employee
1,936 Views
Registered: ‎10-30-2017

Re: Winbond 25Q128JVS Program Flash Failure

Hi @brandnj20,

 

It seems your understanding right. the only difference is 1.8V and 3.3 V

you can add this new device in u-boot and make it work. to do this there is no need to modify the FSBL.

follow the below guide and try:

https://www.xilinx.com/Attachment/QSPI_FLASH_support_guide_rev1.0.pdf

 

Best Regards,
Srikanth
----------------------------------------------------------------------------------------------
Kindly note- Please mark the Answer as "Accept as solution" if information provided is helpful.

Give Kudos to a post which you think is helpful and reply oriented.

 

0 Kudos