Electronic Design

  
Reprints     Printer-Friendly    Email this Article    RSS        Font Size     What's This?


[Embedded in Electronic Design]
OS Products

William Wong  |   ED Online ID #3731  |   September 3, 2001


VERY SMALL RTOS ATTRIBUTES
Characteristics
  • Supports 8- or 16-bit processor
  • 0.5 to 8 kbytes of program memory
  • Very low RAM requirements
  • ROMable

  • Advantages
  • Incremental OS architecture
  • Components work together
  • Tested and supported software

  • Disadvantages
  • Limited functionality
  • Memory requirements may still be too large for some platforms

  • Alternatives
  • Build your own
  • Use a more powerful platform


  • Great RTOSs Come In Small Packages
    It takes skill to pack applications into compact 8- and 16-bit systems with limited memory. Bringing in a real-time operating system (RTOS) can simplify the task. Building an RTOS for these platforms is an art and not a chore to be taken lightly, even though the RTOS may use only a few thousand bytes.

    Most developers don't build their own OS. Instead, they turn to small RTOSs, such as CMX RTX from CMX Systems, Nucleus OSEK from Accelerated Technologies (ATI), and Lineo's RTXC. Still, developers may employ only a fraction of the features because each translates into costs, usually in memory and system overhead.

    Tiny RTOSs can be trimmed to the bare bones. MMUs aren't needed. Even memory management can be eliminated. Just the necessary features must be included, typically keeping the OS footprint small. It can also reduce task overhead because less information must be preserved to track task resources.

    Vendors take different approaches when designing a compact RTOS. CMX Systems starts small and has an even smaller sibling. ATI begins with 16-bit platforms and grows to support 32-bit platforms. Lineo links Linux with RTXC Quadros. Yet, all three note a small footprint as a key feature.

    Small, Smaller, Smallest
    CMX Systems revels in the 8-bit space and readily supports 16-bit processors, especially single-chip solutions with limited memory capabilities. CMX Tiny+ can be trimmed to under half a kilobyte of ROM and still retain event support. Features like queues and memory management, which are standard in CMX RTX, are optional on CMX Tiny+.

    Tiny is the watchword for CMX Tiny+, where adding even just 1 kbyte of ROM can be a budget buster. It uses only 14 bytes for a task block. Other operating-system data structures also are compact.

    The CMX-MicroNet TCP/IP stack raises the bar over 3 kbytes on an Atmel AVR. Adding a Web server and virtual file system raises the footprint to around 14 kbytes. This is still smaller than the minimum footprint for competing RTOSs alone. But don't confuse minimal size with minimal support.

    CMX is supported by such tools as C Compiler from Keil Software (www.keil.com). Bundled development hardware, like All American's (www.allamerican.com) iKit2000, runs CMX on a reconfigurable Triscend E5 (www.triscend.com) chip. The OS even handles an Ethernet adapter.

    Building Up
    ATI Nucleus OSEK adds graphics in addition to networking support and compatibility with the OSEK standard (www.osek-vdx.org). This scalable RTOS can trim unneeded features for a particular environment because features are implemented with minimal cross dependencies. This modular approach makes it possible to run with just one type of interprocess communication service, including mailboxes, pipes, or queues.

    A modular device driver architecture makes building larger systems easier. A complete set of clients and servers for FTP, Telnet, mail, and DHCP make Nucleus OSEK a great choice for OSEK-compliant networks. Another OSEK-compatible RTOS is Wind River Systems' (www.windriver.com) OSEKWorks.

    Adding Linux
    Compatibility within the RTXC API extends to Lineo's Linux RTOS, Embedix. Applications are ported to larger systems when necessary, allowing RTXC to be configured for an application. RTXC Quadros has four configurations. These include single stack, multiple stack, both single and multistack, and multiprocessor. The hybrid services a mix of high-priority tasks with a single stack and lower-priority tasks with their own stacks. Applications include voice-over-IP gateways.

    RTXCdsp extends RTXC into the DSP realm. It has the same APIs and same compact size.

    With these compact RTOSs, it's possible to keep the package small.

    Accelerated Technologies

    CMX Systems Inc.

    Lineo Inc.



    LILLIPUTIAN LANDSCAPE
      CMX RTX/Tiny+ Nucleus OSEK RTXC Quadros
    Architectures 8- and 16-bit 16- and 32-bit 16- and 32-bit
    Target platforms over 40 over 105 (includes 32-bit) over 20 (includes 32-bit)
    MMU support no no no
    Scheduling priority priority priority, round robin
    Messaging yes yes yes
    Memory management yes/no yes yes
    Minimum footprint 1/0.8 kbytes under 2 kbytes 1.5 kbytes
    Graphics none Nucleus Grafix RTXCgraphics
    Network support CMX-MicroNet yes RTXCnet
    Device drivers no yes RTXCio
    File system support yes yes RTXCfile
    Remote debugging yes yes yes
    Royalties none none negotiated
    Company CMX Systems Inc. Accelerated Technologies Lineo Inc.
    Web site www.cmx.com www.atinucleus.com www.lineo.com



    <-- prev. page     [1] 2     next page -->

    Reprints   Printer-Friendly  Email this Article  RSS    Font Size   What's This?


  • 2008 BEST Electronic Design Winners
  • In EDA, A Year Of Mergers, Failed And Otherwise
  • 2008 BEST Electronic Design Winners
  • Engineers Rely On Internet For Product Info
  • Rochester Electronics Establishes New Design and Technology Group
  • November 17, 2008
  • Custom Sources Light Way To 22-nm IC Lithography
  • Software Turns Scopes Into Vector RF Signal Analyzers
    1) Switch-Mode ICs Promote Efficient Power Management, Part 1: Switch-Mode Fundamentals
    (1024 views today)
    2) Ubuntu Goes Embedded
    (246 views today)
    3) Build A Smart Battery Charger Using A Single-Transistor Circuit
    (220 views today)
    4) Easily Convert Decimal Numbers To Their Binary And BCD Formats
    (167 views today)
    5) Parts Add Up To Home Theater PC
    (146 views today)
    ALL TOP 20



    Reader Comments

    Its amazing for me "It should use "tiny world" to describe this world. Why can't u reveal the fact tiny ie why RTOS uses limited memory why can't u go for a large memory for speedy operation & why can't u choose a GizaHZ processor to do ur tasks quickly. Better help us with those concepts

    r.karthikeyan -August 09, 2004

    POST YOUR COMMENTS HERE
    Name:

    Email:
    Your Comments:

    Enter the text from the image below


    Please refresh the page if you have trouble reading this text.

    Search Electronic Design
         
      
     
    Web Seminar
    Sponsored By:
    Title: Read Pacing: A Performance Enhancing Feature of PCI Express Gen 2 Switch Devices
    Speakers: 
    Date: 07/01/08
    Register: 

    Electronic Design Europe Electronic Design China EEPN Power Electronics Auto Electronics Microwaves & RF
    Mobile Dev & Design Schematics Find Power Products Military Electronics EE Events Related Resources