内存控制寄存器:
1 共有8个BANK,描述如下:
The S3C2440A has the following features:
— Little/Big endian (selectable by a software)
— Address space: 128Mbytes per bank (total 1GB/8 banks)
— Programmable access size (8/16/32-bit) for all banks except bank0 (16/32-bit)
— Total 8 memory banks
Six memory banks for ROM, SRAM, etc.
Remaining two memory banks for ROM, SRAM, SDRAM, etc .
— Seven fixed memory bank start address
— One flexible memory bank start address and programmable bank size
— Programmable access cycles for all memory banks
— External wait to extend the bus cycles
— Supporting self-refresh and power down mode in SDRAM
Bank7 的开始地址是灵活的,BANK6/7可以片远SDRAM,但其大小应该一样
2 OM[1:0] 引脚决定启动方式
BANK0如果是8位,则地址线从A0开始,如果为16位则地址线从A1开始,如果为32位则地址线从A2开始
且内存的BANK_LOGIC引脚与CPU哪个地址线相连手册中也是有规定的。
3 某些引脚需要对比原理图来决定,相关时序也要仔细看,不过可以