This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

W77IE58 On Chip XRAM Problem

Hi All,

I am using Winbond W77IE58 chip. When i am using xdata variable as global variable, i am getting some junk data. (i.e) I have declared a char array unsigned char xdata test[] = "TEST CHARACTERS" as global variable.

Then when, i am trying to send the same data to the serial port, i am not getting the same data. It is giving different data.

If i removed xdata, then im getting correct data.

But if i declare some array as local xdata variable, the iam getting correct data on the serial port. Only if i declared as global varible it is giving some different data.

I have enabled the DME0 bit also to enable on-chip XRAM.


Thanks in advance.

0