=========================================================================================== Memory_Test实验 =========================================================================================== 本实验实现对S3C2440 Memory(SDRAM)的操作。本例程有两种运行方式,默认在SDRAM中运行。 Memory_Test IN RAM 将程序下载到SDRAM中调试。 Memory_Test IN NANDFLASH 运行在NANDFLASH中需下载.bin文件,具体操作过程请查看 2440_Run_in_NANDFLASH文件中S3C2440_bootloader及USB 下载文档。 =========================================================================================== 程序运行成功之后, 超级终端上将显示: +-----------------------------------------------------+ | S3C2440 Memory Test ver R0.08 2008 August. | First : Write the data to the Memory Second : Read the data from the Memory if the data which is written and read just now is same, Memory is ok,else is error +-----------------------------------------------------+ Memory Test(30000000h-3ff0000h):WR Memory Test(30000000h-3ff0000h):RD The Memory is O.K. =========================================================================================== 需要注意的是,在SDRAM中调试时,程序PC有可能会跳到FFFFFFE6位置处,改问题不是例程原因 解决方法:断开电源后稍等片刻后重新插上电源,再进行调试,如果还出现上述情况,可多调试几次, 一般在尝试3到4次左右,PC会正常跳转到main函数处。 ===========================================================================================