This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
请问楼主是否用到了外扩RAM?
并且把程序放到了外部RAM?
如果是的话,需要在Code Start Branch中初始化外部Ram。
1.
要在程序中加一个SRAM的初始化程序,例如下面的:
void Sram_init( void)
{
XintfRegs.XTIMING6.bit.X2TIMING = 0;
XintfRegs.XTIMING6.bit.XRDLEAD = 1;
XintfRegs.XTIMING6.bit.XRDACTIVE = 1;
XintfRegs.XTIMING6.bit.XRDTRAIL = 0;
XintfRegs.XTIMING6.bit.XWRLEAD = 1;
XintfRegs.XTIMING6.bit.XWRACTIVE = 1;
XintfRegs.XTIMING6.bit.XWRTRAIL = 0;
XintfRegs.XINTCNF2.bit.CLKMODE = 0;
}
2. 在code start brach.asm中的修改,参考下面这个帖子: