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.
Can a software memory management unit be implemented on a 8032 microcontroller ?
"This isn't a class project and I have no contact with the person who has posted thread 7445." You must admit, it's a big coincidence though, isn't it? "I would like to know whether MMU concept can be inplemented on 8 bit controllers." Of course it's possible - see the answer in the other thread. But is it sensible? Why not just load the entire code into SRAM and run from there, using "conventional" code banking? Or load into IAP Flash and, again, use "conventional" code banking? (whatever you do, all will need some sort of "trick" to write to CODE space).
http://www.keil.com/forum/docs/thread7340.asp http://www.keil.com/forum/docs/thread7413.asp
Hi Neil, Yeah 7445 was a real coincidence. It surprised me too. My project specification says " I have to get only 32KB code out of 116kB code into the 8032's PM". So, i can't use code banking here. I need to use a mechanism like paging to see that the code comes into the PM(SRAM) of 8032 in 32kB chunks only. Is it ok to implement mmu mechanism on an application like MP3 as I have read some articles on the net stating it holds good for only 32/64 bit controllers ? If yes, can u please suggest some links which could help me implement the same. What is IAP Flash ? Regards, Chetan
Ok Neil, I got what IAP Falsh is. Sorry
"Is it ok to implement mmu mechanism on an application like MP3" What exacly do you mean by, "an application like MP3"? Do you actually have the 8051 running the MP3 decoding algorithms? I'd have thought that was quite a challenge for an 8051 running directly from Flash without any code banking - let alone the paged scheme you're proposing!! :-0
Hi Neil, Iam using a SOC with an inbuilt 8032 and DSP. Currently, it is running an MP3 application and definitely code banking is done. My client wants me to design the application such that only 32kB code is executed at a time. He wants to replace the 8032's 128kB SRAM with a 32KB SRAM in his future design. So, that's the task.