Sir, I have two pins on my DSP Board. That has to be read data from external world. These Two pins are mapped on to CE2 spaces ( i.e 0xA0000000- OxAFFFFFFF). When i am debugging the code, each time getting different values. If it read properly, the pin connecting to one of the ED[31:0] should be high, isn't it?
ie assume one of the pin that is reading data connected to ED24, when this pin connected to Vcc, will the read data be 0x01000000?
For further clarification I have attaching my code here........
#define CHIP_6211 1
#include "c6211dsk.h"
#include <stdio.h>
#include <csl_emif.h>
#include <csl_chiphal.h>
#define OUTPUT *(volatile int *)0xA0000000
unsigned int k=0;
void main()
{
k=OUTPUT;
while(1);
}