Address Space overflow

I am using 8051F120 having 127KB Program memory, theoretically. I have written 4 *.C files residing in each bank. The length of the code in Bank1 and Bank2 is less than 32KB (observing the list file). But, instead of this, the linker gives an address space overflow for both the banks.
Kindly assist.

Dhaval Solanki

Parents
  • You are struggling with Banking - why?

    Banking is just a bodge to get around a fundamental limitation of an architecture.
    It only made sense when a move up to an architecture without that limitation was out of the question.

    Nowadays, architectures without that limitation are widely available and easily accessible - so why mess with Banking?

    Even SiLabs - that bastion of high-end 8051 - now has ARM Cottex-M3 chips available...

Reply
  • You are struggling with Banking - why?

    Banking is just a bodge to get around a fundamental limitation of an architecture.
    It only made sense when a move up to an architecture without that limitation was out of the question.

    Nowadays, architectures without that limitation are widely available and easily accessible - so why mess with Banking?

    Even SiLabs - that bastion of high-end 8051 - now has ARM Cottex-M3 chips available...

Children
More questions in this forum