S25FL128SAGBHI210 vs S25FL128SAGBHI200

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
saozc_3963041
Level 1
Level 1

Hello,

We have been using S25FL128SAGBHI200 for developing a Zynq application with Petalinux. So far we have not faced a considerable issue. However, due to it became out of stock, we've had to switch to S25FL128SAGBHI210 in our new designs. Actually the only difference we could see was their sector sizes (S25FL128SAGBHI200 has 64, S25FL128SAGBHI210 has 256KB sectors). Additionally, according to Xilinx's website, all of the S25FL.. family is supported.

The problem we are facing with S25FL128SAGBHI210 is Petalinux cannot boot for a second time from the QSPI flash. We are programming the flash using Xilinx SDK and then we turn off the power of the board. After turning it on, Petalinux successfully boots from QSPI flash. If we perform a reboot of POR, nothings shows up and it needs to be programmed again. We have never had an issue like these with S25FL128SAGBHI200 before. All binaries are the same and nothing has changed except the QSPI chip model.

What's more, we have booted the device on jtag mode and dumped the S25FL128SAGBHI210's contents. We compared it with the binary we are flashing and nothing was different. I mean, even if it cannot boot for a second time, the contents of it are the same and nothing gets corrupt after power off.

We would became appreciate if you could help us.

0 Likes
1 Solution

Hi Ahmet,

Thanks for sending your status. I understood what's wrong in the spi-nor.c.

The correct ID entries for FL128S(64KB) and FL128S(256KB) should be:

{ "s25fl128s0",  INFO6(0x012018, 0x4d0080, 256 * 1024, 64, SPI_NOR_QUAD_READ) },

{ "s25fl128s1",  INFO6(0x012018, 0x4d0180, 64 * 1024, 256, SPI_NOR_QUAD_READ) },

Please try above.

Thanks,

Takahiro

View solution in original post

0 Likes
5 Replies