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
Dear Hans-Bernhard Broeker, Thank you for clearing the air. But, in my opinion, there should be a document produced by the chip vendor stating this. A newbie may not understand this, the very first time he is using the IC, or may not have a clear picture unless he faces a problem like me.
Dhaval
But, in my opinion, there should be a document produced by the chip vendor stating this.
Though it might be helpful if the chip vendor produced application notes or other documentation relating to such things, I don't think it is really something that they should be expected to do. Which compiler vendors would they document for? Where would they stop?
The Keil documentation relating to banking is reasonably good and:
http://www.keil.com/support/man/docs/bl51/bl51_codebanking.htm
It just requires the reader to have an appreciation of what it is trying to achieve and what is possible.
But, in my opinion, there should be a document produced by the chip vendor stating this. well, SILabs does
The Keil documentation relating to banking is reasonably good and: but is somewhat invalid for the SILabs (and other?) chips with "internal banking"
go by the SILabs appnote, it is crystal clear
Erik
I'll take your word for it :)