Hello, May I know if it is possible to obtain more that 64K of data memory though Banking? I could use a I/O pin to switch between two external 64K memory... but this would mean that I have to manually keep track of all variables. Regards, KC
The Keil tools support xdata banking. You'll need to use the extended linker (LX51), which (if I recall) only comes with the full PK51 "professional" kit. See page 154 of the C51 manual where it talks about the "XBANKING.A51" file. Also, take a look at the L51_BANK.A51 file. App note 130 (http://www.keil.com/appnotes/files/apnt_130.pdf) looks appropriate, as well.