Section 27 NAND Flash Memory Controller (FLCTL)
Rev.1.00 Dec. 13, 2005 Page 1050 of 1286
REJ09B0158-0100
27.5
Example of Register Setting
Figure 27.8 to 28.10 show examples of register setting and processing flow in each access mode.
Command access (Block Erase)
Yes
No
Set common control register (FLCMNCR)
ACM [1:0] = 00 (command access mode)
CE0 = 1 (chip enable)
TYPESEL = 1 (select NAND type flash memory)
Command control register (FLCMDCR)
DOCMD1 = 1 (perform 1st command stage)
DOCMD2 = 1 (perform 2nd command stage)
DOADR = 1 (perform address stage)
ADRMD = 1 (address register value is output as
memory address)
ADRCNT [1:0] = 01 (issue 2-byte address)
DOSR = 1 (perform status read)
Command code register (FLCMCDR)
CMD [7:0] = H'60 (block erase command)
CMD [15:8] = H'D0 (block erase execute command)
Address register (FLADR)
Set erase address to ADR[7:0], ADR[15:8]
Transfer control register (FLTRCR)
TRSTRT = 1 (Start flash memory accessing)
Perform block erase of flash memory
Issue first command
Issue address
Issue second command
Read status
FLTRCR.TREND = 1?
End of flash memory access
FLTRCR.TREND = 0 (clear processing end flag)
Read status
Check status (FLBSYCNT.STAT [7:0])
END
Figure 27.8 NAND Flash Command Access (Block Erase)
Summary of Contents for SH7780 Series
Page 2: ...Rev 1 00 Dec 13 2005 Page ii of l ...
Page 28: ...Rev 1 00 Dec 13 2005 Page xxviii of l ...
Page 50: ...Rev 1 00 Dec 13 2005 Page l of l ...
Page 82: ...Section 1 Overview Rev 1 00 Dec 13 2005 Page 32 of 1286 REJ09B0158 0100 ...
Page 122: ...Section 3 Instruction Set Rev 1 00 Dec 13 2005 Page 72 of 1286 REJ09B0158 0100 ...
Page 146: ...Section 4 Pipelining Rev 1 00 Dec 13 2005 Page 96 of 1286 REJ09B0158 0100 ...
Page 196: ...Section 6 Floating Point Unit FPU Rev 1 00 Dec 13 2005 Page 146 of 1286 REJ09B0158 0100 ...
Page 292: ...Section 9 L Memory Rev 1 00 Dec 13 2005 Page 242 of 1286 REJ09B0158 0100 ...
Page 492: ...Section 12 DDR SDRAM Interface DDRIF Rev 1 00 Dec 13 2005 Page 442 of 1286 REJ09B0158 0100 ...
Page 674: ...Section 15 Clock Pulse Generator CPG Rev 1 00 Dec 13 2005 Page 624 of 1286 REJ09B0158 0100 ...
Page 692: ...Section 16 Watchdog Timer and Reset Rev 1 00 Dec 13 2005 Page 642 of 1286 REJ09B0158 0100 ...
Page 726: ...Section 18 Timer Unit TMU Rev 1 00 Dec 13 2005 Page 676 of 1286 REJ09B0158 0100 ...
Page 1032: ...Section 25 Audio Codec Interface HAC Rev 1 00 Dec 13 2005 Page 982 of 1286 REJ09B0158 0100 ...
Page 1150: ...Section 28 General Purpose I O GPIO Rev 1 00 Dec 13 2005 Page 1100 of 1286 REJ09B0158 0100 ...
Page 1184: ...Section 29 User Break Controller UBC Rev 1 00 Dec 13 2005 Page 1134 of 1286 REJ09B0158 0100 ...
Page 1266: ...Section 31 Electrical Characteristics Rev 1 00 Dec 13 2005 Page 1216 of 1286 REJ09B0158 0100 ...
Page 1328: ...Appendix Rev 1 00 Dec 13 2005 Page 1278 of 1286 REJ09B0158 0100 ...
Page 1336: ...Rev 1 00 Dec 13 2005 Page 1286 of 1286 REJ09B0158 0100 ...
Page 1339: ......
Page 1340: ...SH7780 Hardware Manual ...