Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
09/13/02 11:40
Read: times


 
#29118 - RE: Defining base address
If I have to connect a 8255 or an LCD or an external EEPROM to a AT89c51,how do I allot the base address?
It seems you are talking about memory mapped I/O intermixed with port mapped I/O

1) why, oh why are you using 8255? There are so many better solutions.
2) base address apply only for memory mapped I/O and the hardware set the base address, so if you write to something memory mapped at say 0ff00h it will be
thang equ 0ff00h
..
..
mov dptr,#thang
mov a,data_for_thang
movx @dptr,a
..

I do not know to which extent I understood your question, if this is not it, please elaborate.

Erik

List of 22 messages in thread
TopicAuthorDate
Defining base address            01/01/70 00:00      
RE: Defining base address            01/01/70 00:00      
RE: Defining base address            01/01/70 00:00      
RE: Defining base address..Thanks Eric            01/01/70 00:00      
RE: Defining base address            01/01/70 00:00      
RE: Defining base address..Thanks Eric            01/01/70 00:00      
RE: Defining base address..Thanks Eric            01/01/70 00:00      
RE: Defining base address..Thanks Eric            01/01/70 00:00      
RE: Defining base address            01/01/70 00:00      
RE: Defining base address            01/01/70 00:00      
RE: Defining base address            01/01/70 00:00      
8255 - great building block.            01/01/70 00:00      
RE: 8255 - great building block.            01/01/70 00:00      
RE: 8255 - great building block.            01/01/70 00:00      
RE: Defining base address            01/01/70 00:00      
RE: Defining base address            01/01/70 00:00      
RE: Defining base address            01/01/70 00:00      
RE: Defining base address            01/01/70 00:00      
RE: Defining base address            01/01/70 00:00      
RE: Defining base address            01/01/70 00:00      
RE: clarification (Philips reply above)            01/01/70 00:00      
RE: clarification (Philips reply above)            01/01/70 00:00      

Back to Subject List