Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

multi-data reading and writing from EEPROM of T89C51RD2

Status
Not open for further replies.

john2020

Full Member level 5
Joined
Nov 13, 2005
Messages
292
Helped
12
Reputation
24
Reaction score
8
Trophy points
1,298
Activity points
4,911
hi all

Now I can read and write single data correctly from eeprom of T89C51,which through calling my single eeprom read and write functions.

Because my emulator can't support the chip's eeprom rd/wr,so I must download my code to chip for testing.

When I want rd/wr some datas from eeprom,I found that,when I several call the write function for writing some data,the first function will play role,and the writing data is correct,and the other called writing function will running,but has not role for writing,through my read eeprom functions and the led display, I can know it.

I have considered all kinds of problem, the writing starting addrss,the writing address is different,and call the wrting function for some delay time:20ms or 2s,and the keil environment is considered,but I have the same problem. I don't know where is wrong? or,how can I get the right values? could you give me some advice?

regards
john
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top