Hello. my name is santosh. i need some help in selecting a compiler. i am developing an embedded application which is crossing 64KB code size and i am using AT89C51RE2 microcontroller which is having (will support) 128 Kbytes of on-chip ROM (code memory). My problem is, when i am compiling the code, target is not created i.e. hex file is not generating, becoz my compiler supports maximum 64 KBytes. So, plz suggest me a right compiler which should support uoto 128 Kbytes and also tell me how i obtain from keil.
Thanks and regards, santosh.
"128K bytes On-chip Flash Program/Data Memory"
Note the "program/data" in that.
One thing that the PK51 kit gives you is the ability to move constant data out of CODE space and into ROM mapped as XDATA. That means that you can make full use of the 64K CODE space limit without having to mess about with code banking.
I was using that about ten years ago when there were very few ARM-based microcontrollers about (certainly no Cortex-M), and they were a significant leap from an 8051.
Nowadays, I really wonder if it's worth it...
martha search compiler hints, not a good/bad processor discussion, I think.
It's not a question of whether the processor is "good" or "bad" as such.
The question is whether an 8051-based processor is an appropriate choice for this project.
As already noted, the OP is fighting the specific limitations of the architecture; so it is certainly worth considering whether using a different architecture - which does not have those limitations - would be a better idea...
See: www.8052.com/.../158656
Especially as the OP, apparently, doesn't have the necessary tools anyhow...