27. NAND Flash Memory Controller (FLCTL)
Rev.1.00 Jan. 10, 2008 Page 1375 of 1658
REJ09B0261-0100
Start of command access (flash read)
FLTRCR.TREND = B'1?
End of command access (flash read)
Yes
No
Common control re
g
ister (FLCMNCR)
ACM[1:0] = B'00 (command access mode)
CE0 = B'1 (enable the chip)
TYPESEL = B'1 (select NAND-type flash memory)
Command control re
g
ister (FLCMDCR)
DOCMD1 = B'1 (execute first command sta
g
e)
DOADR = B'1 (execute address sta
g
e)
ADRMD = B'1 (address re
g
ister value is output as
memory address)
ADRCNT[1:0] = B'10 (issue 3-byte address)
DOSR = B'1 (perform status read)
Command code re
g
ister (FLCMCDR)
CMD[7:0] = H'00 (flash read command)
Address re
g
ister (FLADR)
Set addresses to ADR[7:0], ADR[15:8], and ADR[23:16]
Data counter re
g
ister (FLDTCNTR)
Specify number of bytes of read data to DTCNT[11:0]
Interrupt DMA control re
g
ister (FLINTDMACR)
Set enable bit of DMA transfer or interrupt request to 1
Transfer control re
g
ister (FLTRCR)
TRSTRT = B'1 (start flash memory access)
Perform flash memory readin
g
Issue first command
Issue address
Issue second command
Read status
End of flash memory access
FLTRCR.TREND = B'0 (clear processin
g
end fla
g
)
Read status
Check FLBSYCNT.STAT[7:0]
Figure 27.13 NAND Command Access (Flash Read)
Содержание SH7781
Страница 4: ...Rev 1 00 Jan 10 2008 Page iv of xxx REJ09B0261 0100 ...
Страница 74: ...2 Programming Model Rev 1 00 Jan 10 2008 Page 44 of 1658 REJ09B0261 0100 ...
Страница 272: ...8 Caches Rev 1 00 Jan 10 2008 Page 242 of 1658 REJ09B0261 0100 ...
Страница 376: ...10 Interrupt Controller INTC Rev 1 00 Jan 10 2008 Page 346 of 1658 REJ09B0261 0100 ...
Страница 694: ...13 PCI Controller PCIC Rev 1 00 Jan 10 2008 Page 664 of 1658 REJ09B0261 0100 ...
Страница 762: ...14 Direct Memory Access Controller DMAC Rev 1 00 Jan 10 2008 Page 732 of 1658 REJ09B0261 0100 ...
Страница 788: ...15 Clock Pulse Generator CPG Rev 1 00 Jan 10 2008 Page 758 of 1658 REJ09B0261 0100 ...
Страница 828: ...17 Power Down Mode Rev 1 00 Jan 10 2008 Page 798 of 1658 REJ09B0261 0100 ...
Страница 846: ...18 Timer Unit TMU Rev 1 00 Jan 10 2008 Page 816 of 1658 REJ09B0261 0100 ...
Страница 1292: ...24 Multimedia Card Interface MMCIF Rev 1 00 Jan 10 2008 Page 1262 of 1658 REJ09B0261 0100 ...
Страница 1326: ...25 Audio Codec Interface HAC Rev 1 00 Jan 10 2008 Page 1296 of 1658 REJ09B0261 0100 ...
Страница 1482: ...28 General Purpose I O Ports GPIO Rev 1 00 Jan 10 2008 Page 1452 of 1658 REJ09B0261 0100 ...
Страница 1538: ...30 User Debugging Interface H UDI Rev 1 00 Jan 10 2008 Page 1508 of 1658 REJ09B0261 0100 ...
Страница 1688: ...Appendix Rev 1 00 Jan 10 2008 Page 1658 of 1658 REJ09B0261 0100 ...
Страница 1691: ......
Страница 1692: ...SH7785 Hardware Manual ...