下面是2410的内存映射图,2410和其他的大部分的处理器一样,支持NorFlash和NANDFlash启动,而这两种启动方式内存所映射的地址不怎么相同,我的板子没有NANDFlash,所以就以从NorFlash启动为例子了:
==============================================<-------0xFFFF_FFFF
|
==============================================<-------0x6000_0000
|
==============================================<-------0x4800_0000
==============================================<-------0x4000_0FFF
|
==============================================<-------0x4000_0000
|
==============================================<-------0x3800_0000
|
==============================================<-------0x3000_0000
|
==============================================<-------0x2800_0000
|
==============================================<-------0x2000_0000
|
==============================================<-------0x1800_0000
|
==============================================<-------0x1000_0000
|
==============================================<-------0x0800_0000
|
==============================================<-------0x0000_0000
#define rBWSCON
#define rBANKCON0
#define rBANKCON1
#define rBANKCON2
#define rBANKCON3
#define rBANKCON4
#define rBANKCON5
#define rBANKCON6
#define rBANKCON7
#define rREFRESH
#define rBANKSIZE
#define rMRSRB6
#define rMRSRB7
#define rHcRevision
#define rHcControl
#define rHcCommonStatus
#define rHcInterruptStatus
#define rHcInterruptEnable
#define rHcInterruptDisable
#define rHcHCCA
#define rHcPeriodCuttendED
#define rHcControlHeadED
#define rHcControlCurrentED
#define rHcBulkHeadED
#define rHcBuldCurrentED
#define rHcDoneHead
#define rHcRmInterval
#define rHcFmRemaining
#define rHcFmNumber
#define rHcPeriodicStart
#define rHcLSThreshold
#define rHcRhDescriptorA
#define rHcRhDescriptorB
#define rHcRhStatus
#define rHcRhPortStatus1
#define rHcRhPortStatus2
#define rSRCPND
#define rINTMOD
#define rINTMSK
#define rPRIORITY
#define rINTPND
#define rINTOFFSET
#define rSUBSRCPND
#define rINTSUBMSK
#define rULCON0
#define rUCON0
#define rUFCON0
#define rUMCON0
#define rUTRSTAT0
#define rUERSTAT0
#define rUFSTAT0
#define rUMSTAT0
#define rUBRDIV0
#define rULCON1
#define rUCON1
#define rUFCON1
#define rUMCON1
#define rUTRSTAT1
#define rUERSTAT1
#define rUFSTAT1
#define rUMSTAT1
#define rUBRDIV1
#define rULCON2
#define rUCON2
#define rUFCON2
#define rUTRSTAT2
#define rUERSTAT2
#define rUFSTAT2
#define rUBRDIV2
#ifdef __BIG_ENDIAN
#define rUTXH0
#define rURXH0
#define rUTXH1
#define rURXH1
#define rUTXH2
#define rURXH2
#define WrUTXH0(ch)
#define RdURXH0()
#define WrUTXH1(ch)
#define RdURXH1()
#define WrUTXH2(ch)
#define RdURXH2()
#define UTXH0
#define URXH0
#define UTXH1
#define URXH1
#define UTXH2
#define URXH2
#else
#define rUTXH0
#define rURXH0
#define rUTXH1
#define rURXH1
#define rUTXH2
#define rURXH2
#define WrUTXH0(ch)
#define RdURXH0()
#define WrUTXH1(ch)
#define RdURXH1()
#define WrUTXH2(ch)
#define RdURXH2()
#define UTXH0
#define URXH0
#define UTXH1
#define URXH1
#define UTXH2
#define URXH2
#endif
#define rTCFG0
#define rTCFG1
#define rTCON
#define rTCNTB0
#define rTCMPB0
#define rTCNTO0
#define rTCNTB1
#define rTCMPB1
#define rTCNTO1
#define rTCNTB2
#define rTCMPB2
#define rTCNTO2
#define rTCNTB3
#define rTCMPB3
#define rTCNTO3
#define rTCNTB4
#define rTCNTO4
上一篇:基于MINI2440开发板的LED流水灯实验(含init.s)
下一篇:S3C2440 2440init.s分析第一篇(二)
推荐阅读最新更新时间:2024-03-16 14:52