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

Impossible to access 16Mb xdata ram with alnalog devices microconverter

I have connected a 8MB Flash on ADuc 812.
I use a modified version of the XBANKING.A51 module which allows you to access the entire 16MB space.

The option, far memory type support is enabled
Under Project -> Options for Target -> LX51 Locate -> User classes I put:
HDATA (X:0x800000-X:0xFFFFFF)

in the main program

FVAR (char, 0x80BFFF) = 0x55;
i = FVAR (char, 0x80BFFF);


FVAR (char, 0x80C000) = 0x55;
i = FVAR (char, 0x80C000);

the two first lines works fine , but the othres don't work.
What's the problem?

Parents Reply Children
No data