Software Directory: ARC International Precise/MQX

June 10, 2002
Precise/MQX utilizes MMU support to protect code and data areas, but its task architecture doesn't group tasks into higher-level processes. This keeps the real-time operating system (RTOS) compact, letting it be deployed on low-end platforms. A group...

Precise/MQX utilizes MMU support to protect code and data areas, but its task architecture doesn't group tasks into higher-level processes. This keeps the real-time operating system (RTOS) compact, letting it be deployed on low-end platforms. A group of tasks may share resources, yet no concept of a process or process-level resource ownership exists. Restricting execution units to tasks doesn't limit Precise/MQX much when it comes to embedded applications since tasks are typically cooperative and statically allocated.

Even though Precise/MQX implements the typical interprocess communication features like semaphores, it's the messaging system that's unique.

The messaging system is queue oriented, and message sends and receives are asynchronous. Asynchronous op-eration minimizes the number of threads needed to handle multiple data streams versus a synchronous system. The mixed-endian support allows message passing to work in a heterogeneous environment.

Each queue is identified by the processor number and a queue number. The underlying transport mechanism provides delivery whether or not the destination queue is on the same processor. An SMP system is considered as a single processor with respect to queues. Although redirection can be implemented, it's not a standard feature of the queue system.

The OS handles memory management for queues. One task owns a message, and ownership changes when a message is sent to a queue. When it's no longer needed, the memory can be released. Private memory pools deliver quick, deterministic message management.

Precise/MQX handles a range of processors including DSPs, making it ideal for GPP/DSP dual-processor SoCs. Tasks can be restarted without being destroyed, and its queue-based message system minimizes task switching.

The Precise/MQXsim simulator allows development to occur even when hardware isn't available. It can also be used in a multiprocessor system using the messaging system to link applications running in the simulator with others running on the hardware.

See associated table.

About the Author

William G. Wong | Senior Content Director - Electronic Design and Microwaves & RF

I am Editor of Electronic Design focusing on embedded, software, and systems. As Senior Content Director, I also manage Microwaves & RF and I work with a great team of editors to provide engineers, programmers, developers and technical managers with interesting and useful articles and videos on a regular basis. Check out our free newsletters to see the latest content.

You can send press releases for new products for possible coverage on the website. I am also interested in receiving contributed articles for publishing on our website. Use our template and send to me along with a signed release form. 

Check out my blog, AltEmbedded on Electronic Design, as well as his latest articles on this site that are listed below. 

You can visit my social media via these links:

I earned a Bachelor of Electrical Engineering at the Georgia Institute of Technology and a Masters in Computer Science from Rutgers University. I still do a bit of programming using everything from C and C++ to Rust and Ada/SPARK. I do a bit of PHP programming for Drupal websites. I have posted a few Drupal modules.  

I still get a hand on software and electronic hardware. Some of this can be found on our Kit Close-Up video series. You can also see me on many of our TechXchange Talk videos. I am interested in a range of projects from robotics to artificial intelligence. 

Sponsored Recommendations

Comments

To join the conversation, and become an exclusive member of Electronic Design, create an account today!