I am using Teridian controller(71M6513) for metering solution. But Im running out of space in code area. I have features of size (approx. 80K).I am already using level 9 compiler optimisation. But still the code is not fitting in 64K. Now I enabled Extended linker LX51 and also Linker Code Packing and finally the code is fitting in 64K.
1.)Is it ok to use extended linker. 2.)What would be the side effects of using (LX51).
Please give details on where to use LX51 and BL51.
Urgent requirement. Thanks in Advance
"1.)Is it ok to use extended linker."
Why would it not be OK?!
"2.)What would be the side effects of using (LX51)."
LX51 has, as the name suggests, more features than BL51; you can do things with LX51 that you couldn't do with BL51 - and, as you've seen, that can enable you to pack more code into a given space.
Nothing specifically to do with LX51, but the disadvantage of any extreme optimisation like this is that it makes bedugging - especially source level debugging - very much more difficult.
One other feature added by LX51 is the ability to put const data into XDATA space instead of CODE space. This is useful if you have a large (>64K) ROM and can map part of it to XDATA...
Hello All,
Thanks for all the inputs given till now. I will implement all of them and let u know the exact Numbers of saving each mehtod provided.
and let u micro know do you have micro's e-mail address I would like him to forward to me what you tell him.
Erik
The exact numbers probably won't be terribly meaningful as they will be very specific to your particular mess; however, it will probably be informative to know the general results - so thanks in advance for that...