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.

请教C5509A的DMA从EMIF到EMIF的一段程序



我是这样写的,但最后没有传输数据

#define CSDP 0x0c00
#define CCR 0x0c01
#define CICR 0x0c02
#define CSSAL 0x0c04
#define CSSAU 0x0c05
#define CDSAL 0x0c06
#define CDSAU 0x0c07
#define CEN 0x0c08
#define CFN 0x0c09
#define CEI 0x0c0b
#define CFI 0x0c0a

  *(unsigned volatile int*)CSDP=0x0408;
  *(unsigned volatile int*)CCR=0x40a0;
  *(unsigned volatile int*)CICR=0x0008;
  *(unsigned volatile int*)CSSAL=0x0000;
  *(unsigned volatile int*)CSSAU=0x0060;
  *(unsigned volatile int*)CDSAL=0x0000;
  *(unsigned volatile int*)CDSAU=0x0002;
  *(unsigned volatile int*)CEN=0xf000;
  *(unsigned volatile int*)CFN=0x0001;
  *(unsigned volatile int*)CEI=0x0000;
  *(unsigned volatile int*)CFI=0x0000;