BL51 to LX51 problems

I'm a relative 8051 noob who's inherited a complex program. This is a banked application for the SiLabs 8051F125. I recently updated/upgraded the tools and want to switch to LX51. When I switched, the linker choked on my .lin file. It refuses to take the RAMSIZE(256) command. There is only an entry in the LX51 manual for RAMSIZE errors, but not the keyword itself... not sure what to make of that. When I remove the RAMSIZE directive, it links and loads fine, but dies almost immediately after the splash screen. Program runs fine linked with BL51. Are there some other changes I need to make? I'm using the L51_BANK.A51 file provided by SiLabs.

thanks for any advice...

Parents
  • "I recently updated/upgraded the tools and want to switch to LX51."

    Is there a particulat reason for needing to switch?
    If not, why not just stick with BL51?

    "I switched, the linker choked on my .lin file."

    I don't think there's any claim or suggestion that LX51 should just be a "drop-in" replacement for BL51?

    You need to study the BL51 Manual, and understand what each and every option in your .lin file is doing;
    Then you need to study the LX51 Manual, and determine what LX51 options you need to achieve the same result.

    "it links and loads fine, but dies almost immediately after the splash screen."

    What dies?
    What "splasg screen"?

    "I'm using the L51_BANK.A51 file provided by SiLabs."

    Is that intended to be compatible with both BL51 and LX51?

Reply
  • "I recently updated/upgraded the tools and want to switch to LX51."

    Is there a particulat reason for needing to switch?
    If not, why not just stick with BL51?

    "I switched, the linker choked on my .lin file."

    I don't think there's any claim or suggestion that LX51 should just be a "drop-in" replacement for BL51?

    You need to study the BL51 Manual, and understand what each and every option in your .lin file is doing;
    Then you need to study the LX51 Manual, and determine what LX51 options you need to achieve the same result.

    "it links and loads fine, but dies almost immediately after the splash screen."

    What dies?
    What "splasg screen"?

    "I'm using the L51_BANK.A51 file provided by SiLabs."

    Is that intended to be compatible with both BL51 and LX51?

Children
More questions in this forum