Reply by Joe May 16, 20042004-05-16
Neworks wrote:

> Guys, > I don't really know the difference between MMU and MPU. Could anyone > give me a brief idea about it?
Memory Protection Unit prevents a user application from accessing memory regions own by OS. Memory Management Unit can do the same thing, but it also provide virtual memory (mapping of logical memory to a physical memory based on memory base offset defined by OS). In this way, a user program don't have to be loaded into a fix location in the main memory. It can be loaded and execute from anyway in the system memory, and the MMU can do the memory translation during program execution. Joe
Reply by Grant Edwards May 14, 20042004-05-14
On 2004-05-13, Grant Edwards <grante@visi.com> wrote:

>> I don't really know the difference between MMU and MPU. Could anyone >> give me a brief idea about it? > > Whatsamatta you? Haven't figured out how to use Google to look > up answers to homework questions?
Just in case anybody missed the joke, "Whatsamatta U." was Bullwinkle Moose's Alma Mater. Don't know if they had a EE program there... -- Grant Edwards grante Yow! -- Hello, at POLICE? I"ve got ABBOTT & visi.com COSTELLO here on suspicion of HIGHWAY ROBBERY!!
Reply by Pete Fenelon May 14, 20042004-05-14
Grant Edwards <grante@visi.com> wrote:
> On 2004-05-13, Neworks <hypersam.tw@yahoo.com.tw> wrote: > >> I don't really know the difference between MMU and MPU. Could anyone >> give me a brief idea about it? > > Whatsamatta you? Haven't figured out how to use Google to look > up answers to homework questions? >
He's a bright lad, by the standards of the usual homework bums. He's even posted through posting.google.com so we can't find out which college he's at ;) pete -- pete@fenelon.com "there's no room for enigmas in built-up areas"
Reply by 42Bastian Schick May 14, 20042004-05-14
> >Whatsamatta you? Haven't figured out how to use Google to look >up answers to homework questions?
;-)
> >MMU == memory management unit > >It's a part of a CPU (or an external peripheral) that handles >things like memory segmentation and protection, virtual memory >paging, etc. Basically it sits between the CPU itself and >external memory and translates virtual memory addresses >produced by the CPU into physical memory addresses and raises >an exception when there isn't a valid mapping for the requested >operation and address. > >MPU == micro processor unit
Sometime also MPU == Memory Protection Unit Handles only memory protection and often is limited to a few regions. --- 42Bastian Do not email to bastian42@yahoo.com, it's a spam-only account :-) Use <same-name>@epost.de instead !
Reply by BiLL May 13, 20042004-05-13
"BiLL" <astro80@free.fr> a &#4294967295;crit dans le message de
news:ovToc.44888$zm5.21882@nntpserver.swip.net...
> "Neworks" <hypersam.tw@yahoo.com.tw> a &#4294967295;crit dans le message de > news:51004020.0405131412.51703821@posting.google.com... > > Guys, > > I don't really know the difference between MMU and MPU. Could anyone > > give me a brief idea about it? > >
I assumed you were talking about Memory units I went across a MPU concept, as memory protection unit, while working on secured microcontrollers for paycard systems sorry if the real question was processing unit vs. memory unit. PY
Reply by BiLL May 13, 20042004-05-13
"Neworks" <hypersam.tw@yahoo.com.tw> a &#4294967295;crit dans le message de
news:51004020.0405131412.51703821@posting.google.com...
> Guys, > I don't really know the difference between MMU and MPU. Could anyone > give me a brief idea about it?
hi, As far as i know, MMU are more complex than MPU. MPU only offer access management over memory areas (depending on running level, some may be set not accessible), whereas MMU enables you to create virtual memory spaces. With MMU the logical mapping differs from physical mapping, and depending on the complexity of the MMU it may be possible to make a fragmented set of memory chunk look like a continuous area, or do some swapping with mass storage device. MMU also checks access stay within defined context limits. The little drawbacks for MMU are quite bigger memory description tables and maybe some increased access delay, power consumption and costs. hope this will help! PY
Reply by Grant Edwards May 13, 20042004-05-13
On 2004-05-13, Neworks <hypersam.tw@yahoo.com.tw> wrote:

> I don't really know the difference between MMU and MPU. Could anyone > give me a brief idea about it?
Whatsamatta you? Haven't figured out how to use Google to look up answers to homework questions? MMU == memory management unit It's a part of a CPU (or an external peripheral) that handles things like memory segmentation and protection, virtual memory paging, etc. Basically it sits between the CPU itself and external memory and translates virtual memory addresses produced by the CPU into physical memory addresses and raises an exception when there isn't a valid mapping for the requested operation and address. MPU == micro processor unit The rest is left as an exercise for the reader... -- Grant Edwards grante Yow! I feel... JUGULAR... at visi.com
Reply by Neworks May 13, 20042004-05-13
Guys, 
I don't really know the difference between MMU and MPU. Could anyone
give me a brief idea about it?