Hi I tried to write program in C for AT89s8252. But i am not able to write the program for EEPROM. How to Write The Data To the EEPROM of 89s8252 using C Language.How we can give the address. When i am trying it with the Pointers then it is writing the data to the RAM. And I am Facing A problem with the Serial Communication using AT89s8252. Please Send me some example codes. Please consider the above mentioned things and please do the needful. Regards Mithun
You need to start by reading the uVision Getting Started Guide, and working through the example projects in it. This will give you a proper introduction to the tools, how they work, and how to use them - rather than just jumping-in blindly at the deep end. (The uVision Getting Started Guide is available on the 'Books' tab in the 'Project' Window; The 'Books' window is also available via the 'Help' menu; failing all that, search for GS51.PDF in your Keil folder) For details about the 8051 chip itself, you need to read the following documents - commonly referred to as "the bible" for the 8051: http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_ARCH_1.pdf http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_PROG_GUIDE_1.pdf http://www.semiconductors.philips.com/acrobat/various/80C51_FAM_HARDWARE_1.pdf You will also need to read the Datasheet for specific details about the particular chip (eg, how to use its EEPROM) Unless you understand the chips, how the tools work, and how to use them, examples won't make much sense! Once you've done the groundwork, here are some examples: http://www.keil.com/appnotes/c51.asp http://www.keil.com/download/list/c51.htm See also your Keil\C51\Examples folder.