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

Extended Linker LX51

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

Parents
  • "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...

Reply
  • "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...

Children