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.

How to read and write,and how to see the data in 6264 by MEDWIN?

Status
Not open for further replies.

eg_cwkab

Newbie level 3
Joined
Nov 24, 2006
Messages
4
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,302
I use UT-CPC6264-70LL

I don't know how to read and write,and how to see the data in 6264 by MEDWIN.

For read,I just need to MOVX A,@DPTR?
 

IanP

Advanced Member level 5
Joined
Oct 5, 2004
Messages
7,942
Helped
2,309
Reputation
4,620
Reaction score
531
Trophy points
1,393
Location
West Coast
Activity points
66,432
Re: About 8051 and 6264

To connect this memory to 8051 microcontroler you need 8-bitt address latch on A/D0, .., A/D7 (74373) .. Do you have it?

The CE1 pin can be connected to 0V, CE2 to +5V, OE to µC RD and WR to µC WR ..

Once you have all the above connction in place you can use MOVX instructions to read data from and write data to this RAM ..

Regards,
IanP
 

eg_cwkab

Newbie level 3
Joined
Nov 24, 2006
Messages
4
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,302
Re: About 8051 and 6264

THX
I have the latch 74HC373

Do I need to SETB WE and CLR RE,before i write data?
 

IanP

Advanced Member level 5
Joined
Oct 5, 2004
Messages
7,942
Helped
2,309
Reputation
4,620
Reaction score
531
Trophy points
1,393
Location
West Coast
Activity points
66,432
Re: About 8051 and 6264

No, you don't need to ..
If you use the MOVX instruction all is done automatically be the microcntroller ..

The /CE1 pin can be connected to 0V, CE2 to +5V, /OE to µC /RD and /WE to µC /WR ..

Regards,
IanP
 

eg_cwkab

Newbie level 3
Joined
Nov 24, 2006
Messages
4
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,302
Re: About 8051 and 6264

Thanks a lot

And how can I see what data is inside the 6264 by using MEDWIN?
 

eg_cwkab

Newbie level 3
Joined
Nov 24, 2006
Messages
4
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Activity points
1,302
Re: About 8051 and 6264

i write as the follow

org 00h

mov a,#11h
mov dptr,#0001h
movx @dptr,a
clr a
movx a,@dptr


but at the end,i just get a=00h,but not 11h

i do not know why...please help

thanks a lot
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top