Document Number: 002-00886 Rev. *B
S29GL01GP
S29GL512P
S29GL256P
S29GL128P
Note
Base = Base Address.
/* Example: Program Command */
*( (UINT16 *)bas 0x555 ) = 0x00AA; /* write unlock cycle 1 */
*( (UINT16 *)bas 0x2AA ) = 0x0055; /* write unlock cycle 2 */
*( (UINT16 *)bas 0x555 ) = 0x00A0; /* write program setup command */
*( (UINT16 *)pa ) = data; /* write data to be programmed */
/* Poll for program completion */
Note
Base = Base Address.
/* Example: SecSi Sector Exit Command */
*( (UINT16 *)bas 0x555 ) = 0x00AA; /* write unlock cycle 1 */
*( (UINT16 *)bas 0x2AA ) = 0x0055; /* write unlock cycle 2 */
*( (UINT16 *)bas 0x555 ) = 0x0090; /* write SecSi Sector Exit cycle 3 */
*( (UINT16 *)bas 0x000 ) = 0x0000; /* write SecSi Sector Exit cycle 4 */
Secured Silicon Sector Program
(LLD Function = lld_ProgramCmd)
Cycle
Operation
Byte Address
Word Address
Data
Unlock Cycle 1
Write
Base + AAAh
Base + 555h
00AAh
Unlock Cycle 2
Write
Base + 555h
Base + 2AAh
0055h
Program Setup
Write
Base + AAAh
Base + 555h
00A0h
Program
Write
Word Address
Word Address
Data Word
Secured Silicon Sector Exit
(LLD Function = lld_SecSiSectorExitCmd)
Cycle
Operation
Byte Address
Word Address
Data
Unlock Cycle 1
Write
Base + AAAh
Base + 555h
00AAh
Unlock Cycle 2
Write
Base + 555h
Base + 2AAh
0055h
Exit Cycle 3
Write
Base + AAAh
Base + 555h
0090h
Exit Cycle 4
Write
Base + XXXh
Base + XXXh
0000h