| Electronic Components Datasheet Search |
|
29PL256N Datasheet(PDF) 53 Page - SPANSION |
|
|
|||||||||||||||||||||||||||||
29PL256N Datasheet(HTML) 53 Page - SPANSION |
|
53 / 74 page ![]() June 6, 2007 S29PL-N_00_A5 S29PL-N MirrorBit ™ Flash Family 53 Da ta Shee t (Prelim i nar y ) Software Functions and Sample Code The following are C functions and source code examples of using the Secured Silicon Sector Entry, Program, and exit commands. Refer to the Spansion Low Level Driver User Guide (available soon on www.spansion.com) for general information on Spansion Flash memory software development guidelines. Note Base = Base Address. /* Example: SecSi Sector Entry Command */ *((UINT16 *)base_addr + 0x555) = 0x00AA; /* write unlock cycle 1 */ *((UINT16 *)base_addr + 0x2AA) = 0x0055; /* write unlock cycle 2 */ *((UINT16 *)base_addr + 0x555) = 0x0088; /* write Secsi Sector Entry Cmd */ Note Base = Base Address. /* Once in the SecSi Sector mode, you program */ /* words using the programming algorithm. */ Note Base = Base Address. /* Example: SecSi Sector Exit Command */ *((UINT16 *)base_addr + 0x555) = 0x00AA; /* write unlock cycle 1 */ *((UINT16 *)base_addr + 0x2AA) = 0x0055; /* write unlock cycle 2 */ *((UINT16 *)base_addr + 0x555) = 0x0090; /* write SecSi Sector Exit cycle 3 */ *((UINT16 *)base_addr + 0x000) = 0x0000; /* write SecSi Sector Exit cycle 4 */ Table 10.2 Secured Silicon Sector Entry (LLD Function = lld_SecSiSectorEntryCmd) Cycle Operation Word Address Data Unlock Cycle 1 Write Base + 555h 00AAh Unlock Cycle 2 Write Base + 2AAh 0055h Entry Cycle Write Base + 555h 0088h Table 10.3 Secured Silicon Sector Program (LLD Function = lld_ProgramCmd) Cycle Operation Word Address Data Unlock Cycle 1 Write Base + 555h 00AAh Unlock Cycle 2 Write Base + 2AAh 0055h Program Setup Write Base + 555h 00A0h Program Write Word Address Data Word Table 10.4 Secured Silicon Sector Exit (LLD Function = lld_SecSiSectorExitCmd) Cycle Operation Word Address Data Unlock Cycle 1 Write Base + 555h 00AAh Unlock Cycle 2 Write Base + 2AAh 0055h Exit Cycle Write Base + 555h 0090h |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |