Welcome to our site! EDAboard.com is an international Electronic 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.
It sounds like that you are trying to use memory-mapped IO technique
for external registers (not SFR) to control your chip. This method
is used widely for 8051 derivatives, such as monitor controllers.
It is because the standard 8051 ICE with vendor's special adaptor
could be used for debugging.
For application of this kind, you could use PBYTE or XBYTE
(I suppose you are using K_e_i_l C51 compiler) to access external
registers and control your chips. For more detail, check user's
manual of the compiler you use.
Recently, I used a chip with only 7 external registers.
I mapped these registers to 0xxxh, 1xxxh, 2xxxh, ~ 6xxxh.
That is I used XBYTE[0x0000], XBYTE[0x1000],... to have access
to this chip. So I did not put 373 on the board. However, not all
applications could use this scheme. Also remember to connect /WR and /RD to your chip for write and read.
Dear Waterman :lol:
Pobably i can help you ...Start designing from basics(the kind of I/o you have on the 8051 or its peripheral and the kind of memory you wanna interface.
work out the pin configuration and the memory details and then definitely u wil be able to understand how many latches(definitely one for add and data) u need if u wanna multiplex the pins and use them.