Accessing EEPROM of AT89S8252 using Assembly Language
Suveer G
hi!
i am using AT89S8252 microcontroller in one of my projects, where i
have to store Passwords from user in EEPROM. I am using Keil
Simulation software. I dont know how to access in-built EEPROM in
AT89S8252 in assembly language. when i am using WCON, keil simulator
gives error UNDEFINED SYMBOL. so plz help me out with example
programs using EEPROM. Thank U.
Read-Only
Author Luka Karlovic
Posted 26-Dec-2006 13:40 GMT
Toolset C51
RE: Accessing EEPROM of AT89S8252 using Assembly Language
Luka Karlovic
I've had some example code a long time ago, sorry, I can't find it
now.
If register is not defined, define it yourself!
Download MCU datasheet from atmel.com, open page with memory map, see
the address of WCON and type
WCON EQU addr
That's it! it will work, I also had to manually define it in my
code.
This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.
ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.