We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Dear all, My project using code banking. I have a table that store in CODE memory(BANK1(?CO?MENUROOT(0x2000))). And my program in many Banks(Bank1, Bank2, Bank3......) reference to this table. But only program in bank1 can get the correct table value. Because a lot of reasons, I have to seperate these programs into different banks. And I don't want to create many copy of this table in defferent name to put them in each bank. How can I solve this problem? Thank you. Ovid.
I wondered: "Why is everyone suddenly trying to do paged virtual memory on 8051s??!!" ovid sheu replied: "Cost down issue. Why not?" The storage itself might be "cheap" per bit but look at all the other costs you're having to incur to make it work! DRAM is far cheaper per bit than SRAM - so why aren't you using DRAM?? Low cost is one thing - but you also have to make sure that it is suitable for the application! A bicycle would be a very cheap way to travel around the world, but that doesn't make it practical for the purpose!