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

To access more than 64K of code in 8051

Hello,

I am working on a project using the 8051. I am almost on my completion of the project. But my code size has cross the 64k limit. I have heard that by using paging technique it is possible to access more than 64K code.

But i have no idea how to implement paging in 8051.Can any one help me for the same.

Thanks in anticipation.

Viral.

Parents
  • What optimisation level are you using?

    Have you checked your code for unnecessary bloat?

    Can you save some code space by moving constants and/or string literals into XDATA?
    http://www.keil.com/forum/docs/thread3361.asp

    If you still need to use Code Banking, Keil's support with their tools is described in the Manuals - especially the Linker manual.
    You should have an example in your Keil\C51\Examples folder - see the Bank_Ex1 Project.

Reply
  • What optimisation level are you using?

    Have you checked your code for unnecessary bloat?

    Can you save some code space by moving constants and/or string literals into XDATA?
    http://www.keil.com/forum/docs/thread3361.asp

    If you still need to use Code Banking, Keil's support with their tools is described in the Manuals - especially the Linker manual.
    You should have an example in your Keil\C51\Examples folder - see the Bank_Ex1 Project.

Children
No data