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

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
  • Surely the OP answered that one by saying I am using 8051F120...

    No, he didn't. That's stating a fact, but no reason for why that became a fact.

    As a consultant, I have frequently been given platforms to write code for that I would prefer to exist on (what I consider to be) a better platform.

    Well, you'll have to make up your mind: are you actually a consultant, or just a temporary extension of an existing team working a project? IMHO way too much technical "consulting" is actually the latter.

    By the actual meaning of the word, a consultant is a person who gives advice. Sometimes that advice will have to be "The only way out of this mess is to start from scratch". Situations like that should be rare, but they exist.

    The OP doesn't convey the impression that he fully knows what he's doing, nor that he's fully aware what consequence that will have. At that point, advice to the tone of "You're heading in the wrong direction", like Erik's, is perfectly justified.

Reply
  • Surely the OP answered that one by saying I am using 8051F120...

    No, he didn't. That's stating a fact, but no reason for why that became a fact.

    As a consultant, I have frequently been given platforms to write code for that I would prefer to exist on (what I consider to be) a better platform.

    Well, you'll have to make up your mind: are you actually a consultant, or just a temporary extension of an existing team working a project? IMHO way too much technical "consulting" is actually the latter.

    By the actual meaning of the word, a consultant is a person who gives advice. Sometimes that advice will have to be "The only way out of this mess is to start from scratch". Situations like that should be rare, but they exist.

    The OP doesn't convey the impression that he fully knows what he's doing, nor that he's fully aware what consequence that will have. At that point, advice to the tone of "You're heading in the wrong direction", like Erik's, is perfectly justified.

Children
No data