Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Real time embedded FreeRTOS mailing list 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem TCP & FAT Training


FreeRTOS and UML

Posted by saiberion on July 23, 2008
I'm just a bit curious.
I were at a trial course for embedded UML (Rhapsody from Telelogic) recently and it might be interesting for me. However neither GNU compiler nor FreeRTOS are supported by their IDE yet. After talking to some responsible people I found out that they would like to support FreeRTOS as an alternative to their own real time scheduler but haven't gotten into it. Regarding GNU compiler they did not really want to do that.
There would be a consensus splitting the work of implementing the compiler and FreeRTOS where I would do the compiler implementation and they would do FreeRTOS.

It's not someting written in stone yet or in the near future but beforehand I wanted to know how the interest towards UML and FreeRTOS is.
Is someone already using UML for embedded development?
Is someone planning to use UML?


RE: FreeRTOS and UML

Posted by Richard on July 23, 2008
What is the relationship between the UML tool and the RTOS? Is it that the UML tool generates code for designs described in UML to execute ontop of the RTOS and therefore needs to know the API's etc?

In any case I would be very interested in progressing any FreeRTOS.org friendly UML tools. You can contact me directly on r (dot) barry [at] freertos.org.


RE: FreeRTOS and UML

Posted by saiberion on July 24, 2008
Yes this UML tool would generate code and FreeRTOS could be the managing scheduler for events and parallel working code.

RE: FreeRTOS and UML

Posted by John Hughes on July 28, 2008
I worked for Telelogic at their office in Germany for a practicum a couple of years ago, just before they purchased Rhapsody. The other UML tool that they have is called TAU and was developed in-house. One of the things I worked on was to increase the number of supported embedded targets you could run UML state machines on. Basically the UML tool would generate a bunch of c code which would run the model. Porting was simply a matter of providing the generators with macros to hook into the system calls needed from the target. I did ports to LegOS and OpenOSEK. I can't see the process being much different for Rhapsody, although I admittedly have never seen the way Rhapsody generates its code.

RE: FreeRTOS and UML

Posted by Quantum Leaps on July 28, 2008
The QP family of ultra-light, open source, UML state machine frameworks has been just recently ported to FreeRTOS.org. The open source QP should fit very well the lightweight, open-source nature of FreeRTOS.org.

QP is not a traditional UML tool. Rather, QP is a lightweight framework, similar to the Rhapsody’s OXF (Object Execution Framework) or the IDF (Interrupt Driven Framework), except QP is designed for manual coding. With QP, coding of modern UML state machines (UML statecharts) directly in C or C++ is a non-issue and no big design automation tools are needed.

QP consists of a universal UML-compliant event processor (QEP), a portable event-driven framework (QF), and a portability layer for an RTOS/Kernel of your choice. QP also provides a cooperative as well as a fully preemptive kernel (QK). Current versions of QP include: QP/C and QP/C++, which require about 4KB of code and a few hundred bytes of RAM, and the ultra-lightweight QP-nano, which requires only 1-2KB of code and just several bytes of RAM. QP is described in great detail in the book “Practical UML Statecharts in C/C++, Second Edition”, (Newnes, 2008).

The QP port to FreeRTOS is available for download from www.state-machine.com/freertos. The QP port has been tested on the STR912-SK (ARM9) board with the IAR compiler. The QP port comes with a detailed manual in PDF available at http://www.state-machine.com/freertos/QDK_FreeRTOS.pdf.

Please visit www.state-machine.com for more details about QP.

Miro Samek

RE: FreeRTOS and UML

Posted by KFarr on July 29, 2008
I just worked on a project that used Quantum Leap's framwork on a different OS (IPOS). The learning curve was a little steep, much like learning a new language but a little easier. After that it was a very clean way to design state machines. I'm glad I read this here since it might be a nice thing to add to my list of portable tools.

[ Back to the top ]    [ About FreeRTOS ]    [ Sitemap ]    [ ]

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.

Free TCP/IP and file system demos for the RTOS

Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists