2003-10-22 09:30 PM
2011-05-17 02:56 AM
Hi,
I use the large memory model in Keil (64K Code ROM size). However my code base has gotten bigger than 64K. Does anyone know how I can compile my code successfully for this large size? Is code banking related to this? If so what do I need to do in order to make it work? Thanks.2011-05-17 02:56 AM
Memory banking with the Keil compiler:
1 - Edit the L51_BANK.A51 source file in the LIB folder, setting the parameters ?B_MODE to 1, and ?B_XDATAPORT to the address of your page register (CSIOP + 0E0H). 2 - Compile L51_BANK.A51 to an OBJ file, and replace the actual file in LIB. 3 - Organize your project to work with memory banks (see your manual for details).