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

Mark Odell, can you answer this?

I'm using code banking with a 1 Mbit eprom and have specified 2 banks. The Bank size specified in uVison/51 is 4000h,0ffffh. Most of the application code is in bank 0 and the final application printout and graphics code is in bank 1. Recently I ran out room in bank 0 and had to move some code over to bank 1 in the uVison/51 application. Everything compiles fine but now the program graphics and printout format choppy,distorted, and not performing as expected.


--------------------------------------------------------------------------------

  • I've never actually used code banking with compiler support. I have accessed large code tables using my own C mechanisms. I cannot answer your question. You might see if you can get all your oft called functions into the common bank (if there is such a notion in Keil). I'm sure you pay a penalty in performance when ever you switch code banks.

    - Mark