初始化存储器时代码如下:
LDR r1, =rEXTDBWTH EXTDBWTH
LDR r2, =rROMCON0 ROMCON0 @ 0M ~ 2M
LDR r3, =rROMCON1 ROMCON1 @ DISABLED
LDR r4, =rROMCON2 ROMCON1 @ DISABLED
LDR r5, =rROMCON3 ROMCON1 @ DISABLED
LDR r6, =rROMCON4 ROMCON1 @ DISABLED
LDR r7, =rROMCON5 ROMCON1 @ DISABLED
LDR r8, =rSDRAMCON0 SDRAMCON0 @ 2M ~ 18M
LDR r9, =rSDRAMCON1 SDRAMCON1 @ DISABLED
LDR r10,=rSDRAMCON2 SDRAMCON2 @ DISABLED
LDR r11,=rSDRAMCON3 SDRAMCON3 @ DISABLED
LDR r12,=rSREFEXTCON
LDR r0, =ARM7_EXTDBWTH
STMIA r0, {r1-r12}
而当rROMCON0=0x02000060 时他怎么实现0到2M的呢 |