Document Number: 002-00833 Rev. *L
Page 38 of 74
S29VS256R
S29VS128R
S29XS256R
S29XS128R
Software Functions and Sample Code
Note:
Base = Base Address.
The following is a C source code example of using the reset function. Refer to the
Cypress Low Level Driver User’s Guide
(available
on
) for general information on Cypress Flash memory software development guidelines.
/* Example: Reset (software reset of Flash state machine) */
*( (UINT16 *)bas 0x000 ) = 0x00F0;
Table 37. Reset
Cycle
Operation
Byte Address
Word Address
Data
Reset Command
Write
Base + xxxh
Base + xxxh
00F0h