I'm a user of a TP2808 MCU(128K Flash Rom),so I need to bank my code to 2. For cost considering,I want to change my MCU with a cheaper one,STK6012(128K Flash Rom),which has the same pin difination with TP2808.I modified L51_bank.a51 for STK6012,and included it. Why my code does not work !! Steven Young
The warning 13 that you are getting indicates that you have function pointers in your program. Did you tell the linker about your real call tree as explained in the Assembler/Utilities User's Guide under Chapter 9, Data Overlaying. It is also esstial to tell the linker the call tree of code banking, since otherwise the interbank calls cannot be correctly inserted.