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.
"My entire program is in nand flash, It will be fetch into onchip ram(only 16k bytes), and execute." Why is everyone suddenly trying to do paged virtual memory on 8051s??!! http://www.keil.com/forum/docs/thread7519.asp
"Why is everyone suddenly trying to do paged virtual memory on 8051s??!!" Cost down issue。Why not?
Why is everyone suddenly trying to do paged virtual memory on 8051s??!! 'cause it's what you do today. Doesn't matter if you're using yesterdays hardware. The '51 is not Burger King. You don't have it your way. You have a '51, and if you don't like it, use a different chip.
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!
"Why is everyone suddenly trying to do paged virtual memory on 8051s??!!" Cost down issue。Why not? Because it is uttely STUPID. How does virtual memory save cost over e.g. banking. You can get 2 Mbyte of fast enough for code memory flash for $2 or less. I would like to know what device that, together with the cost of code RAM required for "virtual" comes out cheaper. NO, this is NOT a "Cost down issue" it is a "I am going to show how smart I am" issue. That this just makes you look dumb, you eveidently have not realized. Erik