//F2812 读取XINTF ZONE2 ram程序
#define ram_addr 0x00080000
Uint16 tmp;
Uint16 * rambase;
rambase=(Uint16 *)ram_addr;
tmp=*rambase;
/////////////////////////////
此句rambase=(Uint16 *)ram_addr; 把ram_addr强制转化成uint16指针 ,rambase指向的地址岂不是0x0000;变成芯片内部存储地址了????
求好汉指点??? |