我用TMS320VC33开发了一套系统,遇到问题如下:
.global _IMUDATA
.bss _IMUDATA,0ffh
在C中
extern int IMUDATA[256];
for(i=0;i<256;i++)
IMUDATA=i;
bss段导入到外部静态随机存储器SRAM中,_IMUDATA地址为0x20000,DP=800000h,经高手指点,可以改程序为
extern int IMUDATA[256];
for(i=0;i<256;i++)
*(int *)(IMUDATA+i)=i;仍然不行。赋值不成功,数组内容没有任何改变。请各位大侠看看问题在哪里。谢谢,我的邮箱lamb313@163.com |