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.

通过EMIF访问外部SDRAM问题



CCS4 开发环境   TPS320VC5509A  使用的是例程程序,访问外部SDRAM时候,外部地址是0x40000至ox41000 但使用DSP中的指针只有16位int的类型,如每当执行如下程序段时: int *souraddr,*deminaddr;·········

souraddr = (int *)0x40000;
deminaddr = (int *)0x41000;

就会出现警告  

 warning: conversion from integer to smaller pointer  读出的数据也是后四位的  导致访问外部数据失败  如果就算改成long型 也会出现同样的情况 。请问如何修改程序,如何用C定义访问外部SDRAM。