补充:6743有EMA_WE_DQM这个引脚吗?手册上说外接异步存储器有两种模式, Normal Mode、Select Strobe Mode ,这俩看不出有什么区别啊??
以下是我的DSP读写程序:不知道正确不,请指教
/*
* Core 6747 ' SDRAM.
* All by yanxu.
*/
#include "stdio.h"
#include "C6747.h"
#include "C6747_uart.h"
Uint32 temp[1000];
void main( void )
{
/* 初始化6747核*/
C6747_init();
/* 调用SDRAM测试程序*/
testallblock();
}
void testallblock(void)
{
Uint32 i;
Uint32 *DRAM_StartAdd;
Uint32 *temp_add;
Uint32 Length=100;
DRAM_StartAdd = (Uint32 *)0x60000000;
for(i=0;i<Length;i++)
{
temp_add = DRAM_StartAdd+i;
*(temp_add) =i;
asm(" NOP 1 ");
}
for(i=0;i<Length;i++)
{
temp[i]=*(DRAM_StartAdd+i);
asm(" NOP 1 ");
}
}