This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Has anyone created a fully blown out bank switcher?

My current design reflects the basic example in the help files in uvision. I current have 7 banks and one common area.

I keep reading that Keil has support for 16MB of XDATA code space. But all the examples I've seen and the math I do 32 banks @64KB comes out to 2MB of code space.

What am I missing to support that much XDATA code space if the hardware under the optimum conditions only permit 2MB limitations?

I'd like to expand my code space to 16MB for some of the things I'm doing, but I can't seem to find any models that allow for the sizing limitation to be made larger than 2MB.

Any ideas, or am I missing something?

Jon?

Thanks

Chris

Parents
  • I've read the book chapter 9 and the PDF which are the same thing thoroughly, it only shows 8 banks using random pins of each port. I'm assuming that I can use all the remaining port 1 and use port 3 as the R/W controls with the EA set low, correct? They don't make it clear why they selected those ports for the upper addresses in those examples, but I understand the code logic. Am I to assume that I can use all the remaining pins in this manner? Seems to make sense, I guess I'm just looking for validation by someone who has actually built one and tested it.

    Either way I'll end up building something, thanks for the replies, keep em coming if you have anything more to offer.

    Chris

Reply
  • I've read the book chapter 9 and the PDF which are the same thing thoroughly, it only shows 8 banks using random pins of each port. I'm assuming that I can use all the remaining port 1 and use port 3 as the R/W controls with the EA set low, correct? They don't make it clear why they selected those ports for the upper addresses in those examples, but I understand the code logic. Am I to assume that I can use all the remaining pins in this manner? Seems to make sense, I guess I'm just looking for validation by someone who has actually built one and tested it.

    Either way I'll end up building something, thanks for the replies, keep em coming if you have anything more to offer.

    Chris

Children