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
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...
why?
Because we live in the real world.
I am sure someone will make Cottex-M3 chips sometime in the future but I doubt such a chip is available from anyone now, particularly Silabs.
Maybe a competitor for the Petnium?
That sounds more likely, :)
But this is a discussion forum - not the Real World...
More precisely, this is a discussion forum for real people talking about issues in the real world.
If you wish to talk about fantasy, I am sure there are other places for that where Keil products are not involved (I hope).
View all questions in Keil forum