Hi I need some one to help me how to program external memory (code and data). I am using 64KB (27C512) of EPROM and 8KB of Data memory(IC is 6164. I am good at programming 8051 using KEIL C51. But I am new to program external memory through C. Can anyone provide sample program for external memor.
What exactly is your doubt here?
Some 8051-derivates need some configuration (SFRs, etc) to control external memory access - is that it? If so, you need to state what chip you're using!
Or do you mean how to design the hardware? That's in the so-called "bible", plus any specifics from the documentation for your particular chip.
Otherwise, it's just a matter of using CODE and/or XDATA space - you can look that up in the C51 manual
http://www.keil.com/forum/docs/thread8410.asp#msg39176