Login

Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

ARM websites use two types of cookie: (1) those that enable the site to function and perform as required; and (2) analytical cookies which anonymously track visitors only while using the site. If you are not happy with this use of these cookies please review our Privacy Policy to learn how they can be disabled. By disabling cookies some features of the site will not work.

ARM Community: cortex m3 and OS - ARM Community

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

cortex m3 and OS Rate Topic: -----

#1 User is offline   Guruprasad vadhiraj 

  • Member
  • Pip
  • Group: Members
  • Posts: 2
  • Joined: 31-January 11

Posted 31 January 2011 - 10:10 AM

Hi friends,

Iam working on cortex m3 (NXP1768). i have question regarding cortex m3

since it does not have MMU
1. how the operationg system is ported on these?.
2. who does the functionality of MMU if os can be ported?
3. ARM said that uClinux has to be used. Does this mean that other os cannot be ported? ,
4. what is the max clock frequency of core?

Guru
0

#2 User is offline   isogen74 

  • Super Contributor
  • PipPipPipPip
  • Group: Members
  • Posts: 1097
  • Joined: 20-March 07

Posted 31 January 2011 - 12:27 PM

(1) Not all operating systems need an MMU. Most controller RTOS use flat memory an an MPU - which is exactly what the M3 gives you.
(2) Why do you need the functionality of an MMU in a microcontroller OS?
(3) uClinux is a version of Linux ported to ... use a flat map memory and an MPU like an RTOS. Pretty much every commercial RTOS will run without an MMU.
(4) It depends on the implementation - look at the datasheets from the various SoC manufacturers. For the LPC1700 series they are rated at 120Mhz max frequency.
When optimizing software, consider that the quickest code to run is the bit you removed from the call path.
0

#3 User is offline   Tamir 

  • Member
  • Pip
  • Group: Members
  • Posts: 6
  • Joined: 13-August 10

Posted 08 February 2011 - 09:19 AM

(2) Why do you need the functionality of an MMU in a microcontroller OS?

To guard OS data structure from corruption...?
0

#4 User is offline   isogen74 

  • Super Contributor
  • PipPipPipPip
  • Group: Members
  • Posts: 1097
  • Joined: 20-March 07

Posted 08 February 2011 - 12:49 PM

Quote

To guard OS data structure from corruption...?


You don't need an MMU to provide protection of critical data - although it can be used for that - the MPU in the Cortex-M and Cortex-R series does that job perfectly well.

The extra feature an MMU provides is virtual memory - the ability to remap a physical address into a different virtual address - I don't understand why you need that in an RTOS. [I's a rhetorical quesution really - the anser is "you don't", hence why most micro-controllers support and MPU and not an MMU].

Iso
When optimizing software, consider that the quickest code to run is the bit you removed from the call path.
0

#5 User is offline   Tamir 

  • Member
  • Pip
  • Group: Members
  • Posts: 6
  • Joined: 13-August 10

Posted 08 February 2011 - 01:30 PM

Ache, I saw "MPU" where I should have read "MMU"...you are right!
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic