Discussion Forum

Mark Odell, can you answer this?

Next Thread | Thread List | Previous Thread Start a Thread | Settings

DetailsMessage
Read-Only
Author
Sean Galligan
Posted
30-Sep-2000 14:20 GMT
Toolset
C51
New! 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.


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

Read-Only
Author
Mark Odell
Posted
2-Oct-2000 18:11 GMT
Toolset
C51
New! RE: Mark Odell, can you answer this?
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

Next Thread | Thread List | Previous Thread Start a Thread | Settings