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

About multi bank programming

Hi,

I am doing a multi bank(code banking) programming. I had check the doctuments about code banking, but I got some question.

1.If the settings are right(L51_bank.A51, startup.A51), the bank switching will automatically done while an inter-bank call occurs?

2.If I try to reference arrays(or variables) in other bank, I should call switchbank(n) first, right?

3.If both above are right, what would be reason that it running setup function in bank1(bank1 contains some initial and setup function)
while booting. By default, it should run the function in bank0.

0