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

SROM issues in LX51

Hi,
I have 2 questions regarding SROM that I couldn't find the answer to.

1) If the compiler adds LCALLs to c lib (?C?..) functions in the code I am copying to the ram are the c lib functions located in this segment as well and are copied to the RAM or are they still called from the flash?

2) Dows the linker know to locate global/local variables that are used from this function in a RAM area that isn't overlapping with the are I'm about to copy the code into or must I locate all variables manually in a non-oberlapping area of of the RAM?

Thank you

Parents Reply Children
No data