element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Technical Library
  • Products
  • Dev Tools
  • Technical Library
  • More
  • Cancel
Technical Library
Documents Freescale: MQX RTOS Stacks Overview
  • Documents
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Technical Library to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: atomar
  • Date Created: 21 Jun 2012 1:43 AM Date Created
  • Last Updated Last Updated: 8 Oct 2021 4:57 AM
  • Views 2135 views
  • Likes 0 likes
  • Comments 1 comment
Related
Recommended

Freescale: MQX RTOS Stacks Overview

Key FeaturesKey BenefitsSupported DevicesVideoTechnical Documents

 

image

Overview

 

Freescale streamlines embedded design with MQX, a complimentary real-time operating system (RTOS) complete with USB, Ethernet, and file system stacks. The entire source code for both the kernel and stacks is available, making it highly configurable for your specific application. It has been available on Freescale processors for over 15 years, and can be found in millions of embedded devices due to its flexible nature and advanced features.


Real-Time TCP/IP Communication Suite (RTCS)

The Freescale MQX real-time communication suite (RTCS) is a fast, efficient and low-footprint embedded Internet stack that supports a rich set of standard TCP/IP protocols. It comes complete with a number of application layer protocols such as Telnet, FTP, SNMP v1 and SNMP v2. A number of optional protocols and products are also available from Freescale or third parties. The scalability of the Freescale MQX RTCS allows developers to easily define the feature set needed to accommodate a variety of ROM and RAM memory budgets. RTCS is implemented in ANSI C, and full source code is provided. It is completely re-entrant and is responsive to the demands of real-time systems. The RTCS supports any number of hardware interfaces and any number of IP addresses on each hardware interface.

 

A variety of additional components pre-integrated with Freescale MQX RTOS are available through third parties. These include: Network Security Products (IPSec, SSL, and SSH), Web Server Toolkits, SFFS Flash File System, PEG+ Graphics Library, and CANopen for embedded devices.

 

IPv6 Ready
Get ready for IPv6 with the IPv6 protocol add-on for MQX RTCS. With this new optional add-on available for purchase from Freescale, the network stack can be configured for IPv4 only, IPv6 only, or dual (IPv4 + IPv6) operation. With dual IPv4 + IPv6 operation, embedded products will be ready for the worldwide transition to the next generation of the Internet (IPv6), but retain support for the Internet of today (IPv4).
MQX RTCS with IPv6 leverages the existing IPv4 code base as much as possible so the memory footprint of adding IPv6 is minimized. Starting with about 21 KB of additional ROM code, embedded products can be IPv6 ready.


The IPv6 protocol add-on is IPv6 Ready Logo (Phase-2) Certified for Core IPv6 protocols as a Host. It supports stateless auto-configuration, network auto-discovery and the massive address extensibility that IPv6 provides. RTCS protocols that currently support IPv6 include IPv6, ICMPv6, ND, TCP/UDPv6, Sockets, SMTP Client, HTTP Server, MLD Discover, FTP Server, FTP Client and DNS Resolver. Additional protocols may be supported in the future, such as DHCPv6 and Telnet, but are not available at this time.


A variety of additional components pre-integrated with Freescale MQX RTOS are available through third parties. These include: Network Security Products (IPSec, SSL, and SSH), Web Server Toolkits, SFFS Flash File System, PEG+ Graphics Library, and CANopen for embedded devices.


Universal Serial Bus (USB)
Universal Serial Bus (USB) is a plug-and-play protocol widely used in embedded devices, ranging from set-top boxes, printers, web and digital cameras to modems, speakers, industrial control devices, card readers and cable/DSL modems. Because of its flexibility, simplicity, speed and low-cost, USB connectivity has moved from the PC world to the embedded market. There has been an explosion of plug-and-play, consumer friendly USB peripherals that has resulted in making USB a standard requirement for embedded device products.


Freescale provides USB Host/Device software stack as well as USB Class Drivers and implementations designed to speed products to market with advanced USB connectivity. The stack is provided with complete source code, example drivers and documentation. It was designed for integration with the Freescale MQX RTOS and is a great way to jump-start USB product development.

 

MQX File System (MFS)
The Freescale MQX File System (MFS) is an embedded FAT file system compatible with Microsoft Windows and MS-DOS file systems. It can format, read, write and exchange files with any operating systems running a FAT-12, FAT-16 or FAT-32 file system. It is fully re-entrant and uses the Freescale MQX RTOS file device driver to access disk devices. Also included with the Freescale MQX RTOS is a Trivial File System (TFS) that can be used in HTTP applications requiring a simple read-only file system. MFS is integrated with the FTP server of the Freescale Real-Time TCP/IP Communication Suite (RTCS) and the Mass Storage Class Driver of the USB Host Stack.

 

Key Features


Real Time TCP/IP Communication Suite (RTCS)MQX File System (MFS)Universal Serial Bus (USB)
  • Supports TCP, IP, UDP, ARP, ICMP, CIDR, IGMP, and PPP
  • Supports application-layer protocols such as DNS resolver only, RPC/XDR, BootP, DHCP, HTTP, FTP, TFTP, Telnet, SNMPv1, and SNMPv2c
  • Supports lower-layer protocols such as Ethernet (IEEE 802.3) and PPP (includes CHAP, LCP, PAP, CCP, and IPCP)
  • Is compatible with RFC 1122 (Requirements for IPv4 Hosts)
  • Is compatible with RFC 1812 (Requirements for IPv4 Routers)
  • Provides a Berkeley Socket (BSD) API and supports stream and datagram sockets
  • Supports high-performance, re-entrant operation
  • Supports multihoming and multiple devices
  • Includes configurable network parameters
  • Works with Ethernet drivers that accompany Freescale MQX RTOS
  • Supports dynamically configurable gateways
  • Provides network status and diagnostics
  • Is written in 100% ANSI C
  • File system compatible with an MS-DOS file system
  • Supports reading, writing, and formatting of any MS-DOS media
  • Supports disk-space reservation
  • Supports long filenames and multiple disk volumes
  • Guarantees application tasks mutually exclusive access to the file system
  • Supports block-and-record-level error detection and recovery
  • Supports partitions
  • Supports various removable media like USB flash disks, SD-cards, PC-cards, etc.
  • Can be programmed into ROM
  • USB 1.1 and 2.0 compliant
  • Supports Control, Bulk, and Interrupt transfers
  • Supports low-speed (1.5 Mb/s), full Speed (12Mb/s) and high speed (480 Mb/s) operation
  • Includes device drivers for on-chip device controllers for ColdFireRegistered processors
  • Provides a full range of example USB Class implementation
  • Includes full source code
  • Tightly integrated with the Freescale MQX RTOS and MQX File System (MFS)

Back to top

 

Key Benefits


 

Real Time TCP/IP Communication Suite (RTCS)MQX File System (MFS)USB Host/Device Stack

Designed for Embedded Applications

  • Specifically designed for adding TCP/IP connectivity to embedded systems
  • Provides fully compliant feature set of networking stacks and configurable enough to fit into the small memory confines of an embedded devices
  • Tightly integrated with Freescale MQX RTOSTm device drivers for Ethernet and other access layers
  • Tested on Freescale embedded ColdfireRegistered microprocessor architecture
Small Configurable Memory Footprint
  • Implemented as a C library
  • Allows only the features and protocols used by the application to be included in the image
  • Can be configured to take as little as 30Kb of ROM
RTCS Protocol Support
  • Provided with a large number of standard protocols
  • One product allows real TCP/IP applications without the need to acquire other application-level protocols
Advanced Networking Protocols for RTCS
  • RTCS can be extended to support additional industry-standard protocols with other products from Embedded Access Inc. including: Security, Advanced Routing/Network Access, Embedded Web Server/E-mail Support, and Network Management protocols
  • Networking protocol products are optimized for speed and size requirements of embedded device applications
Very Scalable
  • Customizable suite can meet a wide range of application RAM and ROM requirement by selectively choosing only the necessary protocols for your design

 

Full Featured

  • Great flexibility in the way you provide connectivity to your device ranging from simple application such as Ethernet -Serial to complex gateway systems
Support for Standard Protocols and Sockets
  • RTCS not only provides application layer protocols but is a complete OSI model solution that spans data link to application layer standard protocols

Designed for Embedded Applications

  • Provides full MS-DOS compatible file system that is configurable enough to fit into small memory requirements of embedded systems
  • Brings support for desktop PC features such as long file names, multiple disk volumes, and directory handling to embedded systems
Portability and Modularity
  • The MFS provides a portable, compatible implementation of the MS-DOS file system and library of file-system functions
  • File-system functions are separated from the device-driver functions allowing for increased modularity
  • Used for all types of storage medium
Designed for Embedded Applications
  • Specifically designed for adding USB functionality to embedded systems
  • Provides fully compliant USB 1.1 and 2.0 feature set of stacks and drivers
Small Configurable Memory Footprint
  • Designed to fit in a small footprint of 10Kb RAM and with code size of 32Kb

Supports a variety of class functionality

  • Supports personal health care device class (PHDC), human-interface device (HID), mass storage device (MSD), communications device class (CDC), audio class, On-The-Go USB 2.0 standard supplement and PHDC USB.org standard classes

Back to top

 

Supported Devices


A full list of supported devices sorted by MQX version can be found in the MQX Fact Sheet.

 

Product NameProduct ID
FlexisTm 32-bit ColdFireRegistered V1 MicrocontrollersMCF51AC
32-bit ColdFireRegistered V1 MicrocontrollersMCF51CN128
MCF51EM256 32-bit MCU for Smart Meter ApplicationsMCF51EM
Flexis 32-bit ColdFireRegistered V1 USB MicrocontrollerMCF51JM
One-Stop-Shop Connectivity 32-bit MicrocontrollersMCF5225X
Integrated ColdFire V2 Ethernet MicrocontrollersMCF5223X
32-bits Microcontrollers with USBMCF5222X
V2 Microcontroller with Touchscreen, LCD Controller and USBMCF5227X
32-bit Microprocessor with USB On-The-Go, Ethernet, PCI, DDR2/DDR controller and EncryptionMCF5445X
32-bit microprocessorMPC5125
FlexisTm 32-bit ColdFireRegistered V1 MicrocontrollersMCF51MM
Integrated ColdFire V2 External Memory and Ethernet MicroprocessorsMCF520X
Power Architecture MCU, 64 MHz, Integrated DisplayPXD10
Power Architecture MCU, 116 MHz, Dual-Core, NetworkingPXN20
Power Architecture MCU, 264 MHz, 4 MB On-Chip Flash, Quad ADCsPXR40
Functional Safety MCU modulePXS20
ColdFire+ Qx FamilyMCF51Qx
ColdFire+ Jx familyMCF51Jx
Power Architecture Safety MCU, 180 MHz, Dual-Locking Core, 2MB On-Chip FlashPXS30
Kinetis K10 Baseline 50 MHz MCUsK10_50
Kinetis K10 Baseline 100 MHz MCUsK10_100
Kinetis K10 Baseline 120 MHz MCUsK10_120
Kinetis K20 USB 50 MHz MCUsK20_50
Kinetis K20 USB 100 MHz MCUsK20_100
Kinetis K20 USB 120 MHz MCUsK20_120
Kinetis K30 Segment LCD 100 MHz MCUsK30_100
Kinetis K40 USB and Segment LCD 100 MHz MCUsK40_100
Kinetis K60 Ethernet Crypto 100 MHz MCUsK60_100
Kinetis K60 Ethernet Crypto 120/150 MHz MCUsK60_120
Vybrid VF3xx Single-chip Solution with Dual XiP Quad SPI, Dual Ethernet and L2 SwitchVF3xx
Vybrid VF5xx Single-core Solution with Dual Ethernet and L2 SwitchVF5xx
Vybrid VF6xx Dual Heterogeneous Core Solution with XGA Display, Dual USB, Dual Ethernet and L2 SwitchVF6xx
Vybrid VF7xx Dual Heterogeneous Core Solution with Dual XGA Display and GPUVF7xx
Vybrid VF4xx Single-core Solution with Dual USB and Integrated PHYVF4xx
Advanced Industrial Display MCUPXD20

 

Back to top

 

Video


Video 1Video 2
This video is unavailable.
You don't have permission to edit metadata of this video.
This video is unavailable.
You don't have permission to edit metadata of this video.

 

 

Back to top

 

Technical Documents


Learning Center

 

TypeDescription
Fact SheetFreescale: Fact Sheet for Freescale MQXTm Software Solutions
Quick Start GuideFreescale: Getting Started with the Freescale MQXTm RTOS
User GuideFreescale: User Guide for Freescale MQX RTOS
User GuideFreescale: User Guide for Freescale MQXTm USB Host
User GuideFreescale: User Guide for Freescale MQXTm MFS
User GuideFreescale: User Guide for Freescale MQXTm I/O Drivers
Application NoteFreescale: Application Note on Using Freescale MQX Libraries

 

Design Element

 

TypeDescription
Application LibraryFreescale: AN4346 - Designing a Working Prototype using MQXTm RTOS and Tower System for Kinetis Microcontrollers
Application LibraryFreescale: AN4022 - IP Camera and USB Snapshot with Freescale MQX RTOS
Application LibraryFreescale: AN4417 - MCU control and monitor with Twitter

 

Back to top

 


  • rtcs
  • mqx
  • freescale
  • rtos
  • mfs
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply
  • DAB
    DAB over 11 years ago

    I am curious, are you going to port this RTOS to the RioT board?

     

    DAB

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube