Link fail !! when I set the bank switch area to 0000h~efffh , error message : ADRESS SPACE OVERFLOW CODE but , 0000h~ffffh bank setting is OK ,and I'm sure My bank0&1 code size < 40k. Did I missing some thing?
Thanks for your kindly reply. I had tried to modified the bank area to 0000~fffe ,but the project linking was still failed. I guess the end of banking address can't be other setting execpt ffffh. May I have your advise again? Thank you.
If you are trying to prevent the linker from using a certain range of memory (because, for instance, you have hardware devices memory-mapped there), you might be interested in the RESERVE directive. See the LX51 Locate tab.