i'm using AnalogDevicesuC 812. If i'm don't mistake, I have an external memory on this ev. board. I try do based use in this xdata but don't succsess.
memcpy (data_buffer, "DATA Buffer....", sizeof (data_buffer)); memcpy (xdata_buffer, "XDATA Buffer....", sizeof (xdata_buffer)); printf(data_buffer); printf(xdata_buffer);
data_buffer has been ok, but xdata_buffer printed garbage...
maybe I need do some change in my ADuC812 board or do a change in keil propities?
I don't know if I need to change something in my ADUC board to enable the XDATA...
Then what the heck do you think you're doing writing code using xdata memory without having figured that out first?
It's quite probable that you don't have active xdata memory --- the pattern of your output is quite typical for the virtual contents of external memory that's not actually there: the data bytes are the low-byte of their own address, since that was the last thing written to the shared A/D bus lines when the CPU tried to read them.