About SPI FLASH drivers

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

cross mob
yufac_3853381
Level 1
Level 1

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.

0 Likes
1 Solution
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

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

CYW920706 supports Cypress SPI flashS25FL256S (256Mbit)

View solution in original post

0 Likes
6 Replies
SudheeshK
Moderator
Moderator
Moderator
250 sign-ins First question asked 750 replies posted

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&... .

Thanks and Regards,

Sudheesh

0 Likes

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.                        |

0 Likes

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.

0 Likes

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)

0 Likes

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.

0 Likes
AnjanaM_61
Moderator
Moderator
Moderator
5 comments on KBA First comment on KBA 5 questions asked

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

CYW920706 supports Cypress SPI flashS25FL256S (256Mbit)

0 Likes