Function pointer with code banking

Hi
I am using Keil compiler for 8051 development.
i use function pointer throught in my program using code banking. i have 512 k of external ROM with 32 k of 16 banks defined.

i went through web and come to know that function pointer can be used with code banking but the condition is that all related files need to be kept in common area or same bank.

and also use OVERLAY.

now i have problem that it is pretty much difficult to keep all related function pointer files in one bank.

i have too many files which gives code overflow if i keep them in same bank.

please reply as soon as possible
and also explore more this OVERLAY with this function pointer and code banking.

regards
Have a nice day
Niraj Patel

Parents
  • So, let's see:

    Your code is too big to fit into the 64K code size limit of the 8051 architecture, so you've gone to code banking.

    Now, your code is too big to fit within the limitations of code banking!

    Don't you think it might be time to reconsider the appropriateness of an 8051 to this particular project...?

    At least, take a look at some of the 8051s with extended address space...

Reply
  • So, let's see:

    Your code is too big to fit into the 64K code size limit of the 8051 architecture, so you've gone to code banking.

    Now, your code is too big to fit within the limitations of code banking!

    Don't you think it might be time to reconsider the appropriateness of an 8051 to this particular project...?

    At least, take a look at some of the 8051s with extended address space...

Children
More questions in this forum