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.
If you know how to connect one 64kB Eprom to 8051 then connecting more 64kB memory banks should not be a problem for you ..
512kB -> 8 banks of 64kB
1MB --> 2 x 512kB --> 2 x (8x64kB) ..
Connect the following:
P1.0 to A16
P1.1 to A17
P1.2 to A18 .. and so on ..
When any of the control bits, P1.0, P1.1, .., are changed from 1->0 or 0->1 the processor begins to fetch instructions from the other 64kB bank at the address of the next instruction after the instruction that initiates the bank switch ..
Use combination of ANL P1, #111XXXXXb and ORL P1, #000XXXXXb to change banks ..
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.