Keil Logo Arm Logo

Accessing EEPROM of AT89S8252 using Assembly Language

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Details Message
Read-Only
Author
Suveer G
Posted
25-Dec-2006 07:09 GMT
Toolset
C51
New! Accessing EEPROM of AT89S8252 using Assembly Language

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
New! RE: Accessing EEPROM of AT89S8252 using Assembly Language

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.

Read-Only
Author
Andy Neil
Posted
26-Dec-2006 14:47 GMT
Toolset
C51
New! RTFM!

It's an Atmel part, so just go to the Atmel website http://www.Atmel.com

In the 'Search' box, type "AT89S8252"

The resulting page shows you the Datasheet, Errata, and the AT89S8252 Primer.

The AT89S8252 Primer contains sample assembler code for reading & writing the EEPROM.

Read-Only
Author
Suveer G
Posted
27-Dec-2006 14:16 GMT
Toolset
C51
New! thank u friends.....

hey thank u very much for ur help....

Read-Only
Author
erik malund
Posted
27-Dec-2006 16:24 GMT
Toolset
C51
New! character allergy

sinc u vidntl hv n llrg t crtin chrctrs I shll nt us thm

It is nic whn smn s thnk u

ri

Next Thread | Thread List | Previous Thread Start a Thread | Settings

Keil logo

Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.