C-Man
Advanced Member level 4
TechToys said:Hi Help
The question is:
Do we get data RAM larger than 256Mbyte by declaring data to be xdata alone?
Data sheet on 89S52 states that there is 256MB RAM on-chip. Without external RAM chip, do we get data ram more than that by declaring
xdata unsigned char a[50]?
If we can answer this question, we would solve the problem, I think.
John
The answer is a simple NO
You can not use xdata if you do not have ram physically in xdata space.
I wrote earlier that you can use a derivate which has a little bit of xdata ram internally for example 1K.
So again if your cpu does not have external ram you can NOT use xdata.
hope this helps