6 Replies Latest reply on Mar 24, 2019 11:10 PM by AnjanaM_61

    About SPI FLASH drivers

    yufac_3853381

      Dear all, regarding flash, has anyone ever encountered any similar problem?The FLASH model MX25R4035F on the official board I'm using now has a capacity of 4Mbit MXIC, which can be burned.Changed to S25FL256S capacity: 256Mbit manufacturer: cypress cannot burn, S25FL256S SPI flash, how to call this driver in the bootloader, and where to change which files, can be modified to support this flash.

        • 1. Re: About SPI FLASH drivers
          SudheeshK_26

          Hi,

           

          Could you please provide more details about the issue that you observed after migrating to our device S25FL256S?

          We have our own low level driver for our flash devices. You can use it as a reference. It is available from our website at: https://www.cypress.com/documentation/software-and-drivers/low-level-driver-spi-flash?source=search&cat=software_tools .

           

          Thanks and Regards,

          Sudheesh

          • 2. Re: About SPI FLASH drivers
            yufac_3853381

            HI Sudheeshk:

                      Below is the error message I downloaded the program to FLASH.

                   

            | Power cycle the CYW920706WCDEVAL board and retry.                                        |

            | If this problem persists, the serial flash on the board may be corrupted.                |

            | Please see Appendix D in the Kit Guide for recovery instructions.                        |

            • 3. Re: About SPI FLASH drivers
              XinghaoZ_26

              Do you have problem when program the kit?

              Could you share the information about which kit are you using? Also please share more message about download fail. Can you see any information about "can't find device"?

              Please feel free if you need to describe your problem in Chinese.

              • 4. Re: About SPI FLASH drivers
                yufac_3853381

                hi,Owen;

                          Thanks for your support, below are all the error messages I can see。Development board: CYW920706WCDEVAL WICED evaluation board

                         

                Downloading application...

                ********* Download Failure *************

                +------------------------------------------------------------------------------------------+

                | Power cycle the CYW920706WCDEVAL board and retry.                                        |

                | If this problem persists, the serial flash on the board may be corrupted.                |

                | Please see Appendix D in the Kit Guide for recovery instructions.                        |

                +------------------------------------------------------------------------------------------+

                Download failed. This WICED platform of the SDK only supports download to 20706A2 device.

                 

                 

                11:36:09 Build Finished (took 34s.875ms)

                 

                • 5. Re: About SPI FLASH drivers
                  XinghaoZ_26

                  Are you using the demo code such as hello sensor?

                   

                  1. Please make sure the SW7 in right position: 1~5 in on position, 6~8 in off position.

                   

                  2. Then try to program the kit in recovery mode:

                  (1)Press and hold the Recovery button (SW3).

                  (2) Press and hold the Reset (SW2) button for 1 second.

                  (3) Release SW2.

                  (4) Release SW3.

                  (5) Re-program the board as normal.

                  • 6. Re: About SPI FLASH drivers
                    AnjanaM_61

                    We have only verified 4Mbit SF for 20706. 256Mbit Flash is not supported for this device.

                    CYW920706 supports Cypress SPI flashS25FL256S (256Mbit)