??? 03/18/05 06:42 Read: times |
#89902 - Yes you can...but Responding to: ???'s previous message |
Normally on an 8051 the eprom exists in CODE space (enabled via /PSEN) and is read only.Ram exists in XDATA space enabled by /RD or /WR. Therefore you can have eprom exist at the same address as the ram but they exist in difference memory spaces and thus don't clash. I dare say you want to do some monitor or boot up memory swap so you can download code to ram - you can do this but you will need some hardware logic for this. I suggest you do some reading on how the 8051 works with memory and this should give you enough information. I did a similar thing on an older 8051 board I designed with external flash memory. I used a GAL logic device along with two port pins to perform the swapping. Nowadays, I would just use a device with internal flash - much,much easier! |
Topic | Author | Date |
Interfacing to EPROM/RAM | 01/01/70 00:00 | |
Yes you can...but | 01/01/70 00:00 | |
do some reading on how the 8051 works | 01/01/70 00:00 | |
exact hardware | 01/01/70 00:00 | |
Yes but.... | 01/01/70 00:00 | |
its mentioned | 01/01/70 00:00 | |
Actually it isn't | 01/01/70 00:00 | |
sorry for that | 01/01/70 00:00 | |
xor | 01/01/70 00:00 | |
truth table | 01/01/70 00:00 | |
solution![]() | 01/01/70 00:00 |