Hi The L51_BANK.A51 file assumes that the bank switching outputs from the uC can be allocated from a single port, and using consecutive pins. Unfortunately, my spare output capability doesn't fit this requirement, so I need to re-write the .A51 file accordingly. The documentation doesn't fully describe exactly what goes on during the linking process with regard to the bankswitch code, so can someone explain, or point me at a resource where this is adequately described for someone wishing to 'roll their own' bankswitcher? Many thanks David
This information is available in the knowledgebase: http://www.keil.com/support/docs/1059.htm http://www.keil.com/support/docs/158.htm There are more articles than that, cut those should get you started. There is an option in L51_BANK.A51 for user-supplied bank switching routines. Be sure you take a look at all of L51_BANK. Jon