S25FS128S Zynq Issue

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

cross mob
Anonymous
Not applicable

We have a PicoZed board with the S25FS128S QSPI that uses Xilinx FSBL, u-boot, etc. and everything worked perfectly until we had some event that cause the OTP bits in the configuration register to be set.  By default, the FSBL uses the Zynq QSPI controller interface to read from the S25FS128S.  However, the S25FS128S is in some sort of state that causes the linear read (memcpy from mapped addressed) from the QSPI to skip the first 32-bit word and thus fail to boot.  I modified the FSBL to use the S25FS128S Quad Read command directly and that works fine (does not skip the first word).  Any idea what state the S25FS128S chip is in that would cause the Zynq QSPI controller to not function correctly?

Thanks!

0 Likes
1 Solution
BacemD_61
Employee
Employee
50 replies posted 50 sign-ins 25 replies posted

Hello,

A power loss during a register write operation is a plausible explanation to the phenomenon you're observing. This can cause corruption to the status and configuration registers, and could even lead to OTP bits being set in these registers.

The reason for this is that these registers are also stored in a NV memory area and this area needs to be erased and reprogrammed in some cases.

Therefore, it is highly recommended to avoid programming the device registers on every boot as detailed in the following Application Note: http://www.cypress.com/file/207641/download

Best regards,

Bacem

---

Bacem Daassi

Cypress Semiconductor Corp.

Customer Application Engineering

View solution in original post

0 Likes
1 Reply
BacemD_61
Employee
Employee
50 replies posted 50 sign-ins 25 replies posted

Hello,

A power loss during a register write operation is a plausible explanation to the phenomenon you're observing. This can cause corruption to the status and configuration registers, and could even lead to OTP bits being set in these registers.

The reason for this is that these registers are also stored in a NV memory area and this area needs to be erased and reprogrammed in some cases.

Therefore, it is highly recommended to avoid programming the device registers on every boot as detailed in the following Application Note: http://www.cypress.com/file/207641/download

Best regards,

Bacem

---

Bacem Daassi

Cypress Semiconductor Corp.

Customer Application Engineering

0 Likes