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

Troubles with memory paging with 8051

Hi everybody !!!

I've got a problem with my Nordic nRF24E1. It's a powerful transceiver with an integrated 8051 microcontroller (Dallas DS80C320).
It has only 4KBytes of internal program memory. The trouble is that I've a program of 16KBytes located in an external EEPROM of 32Kbytes.I think that my sole solution is memory paging.
But I don't know how to switch between pages and I don't know when I must do it.

Does anyone know techniques for memory paging with 8051 ?
If you have another solution than memory paging, I'm very interested...
Thanks

Regards
Corentin Briat

Parents
  • I think we don't understood ourselves.
    What do you means by "banking" ? In french, we don't have the same words.
    If "baking" doesn't mean "paging", i'm sorry for this confusion.

    In other words, I need to load the program code from the external EEPROM (of 32KBytes) into the internal memory by blocks of 4KBytes because the internal memory size is 4KBytes.
    Moreover, I want to choose which part of the program I have to load. So I need to know when I have to load a page and how I can arrange the program (functions/variables) in the memory in order to avoid every page loading.
    I can't read the external EEPROM at any time, beacuse the EEPROM shares the bus with a transceiver which is very often used (in the capture phase).

    How can I do it ?
    Thanks

Reply
  • I think we don't understood ourselves.
    What do you means by "banking" ? In french, we don't have the same words.
    If "baking" doesn't mean "paging", i'm sorry for this confusion.

    In other words, I need to load the program code from the external EEPROM (of 32KBytes) into the internal memory by blocks of 4KBytes because the internal memory size is 4KBytes.
    Moreover, I want to choose which part of the program I have to load. So I need to know when I have to load a page and how I can arrange the program (functions/variables) in the memory in order to avoid every page loading.
    I can't read the external EEPROM at any time, beacuse the EEPROM shares the bus with a transceiver which is very often used (in the capture phase).

    How can I do it ?
    Thanks

Children