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?
In PK51, this just works fine. Did you found in the meantime your problem (maybe the Flash is not connected to /RD & /WR lines). Reinhard