We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
My external EEPROM (I2C) is AT24C32. In our code the XDATA is about 400Bytes. How to seperate the Code (program) memory and Data memory, how to access the XDATA.
The Standard 8051 architecture has two distinct address spaces for CODE (read-only, executable) and XDATA (read+write, non-executable).
Commonly, CODE is mapped to ROM nad XDATA to RAM.
If your specific chip has some special features that allow mapping CODE and/or XDATA onto different parts of its physical memory, then you are going to have to look at the specific Datasheet for details.
As far as the Keil tools (or any other tools) are concerned, it all just appears as CODE or XDATA in the normal way