Menu

QP Real-Time Embedded Frameworks & Tools / News: Recent posts

QP/C and QP/C++ ports to ThreadX RTOS updated for QP5

The QDK/C-ThreadX (see http://www.state-machine.com/threadx ) has been updated for QP/C 5.3.0.

The QDK/C++-ThreadX (see http://www.state-machine.com/threadx ) has been updated for QP/C++ 5.3.0.

The QDKs have been improved with respect to the previous version. Also QS output has been fixed so it actually works. The updated Manual is provided as well.

NOTE: Even though the QDKs use the specific ThreadX port (Win32 demo in this case), the QDKs have been designed generically to rely exclusively on the ThreadX API. In other words, the QDKs should not require any changed to run on any CPU/Compiler supported by ThreadX.

Posted by Quantum Leaps 2014-05-13

QM 3.1.3 released

The QM 3.1.3 release (see https://sourceforge.net/projects/qpc/files/QM ) fixes the following bugs, all related to the history
connector (see https://sourceforge.net/p/qpc/bugs):

#95 "Resizing of state with history generates "Assertion failed" error."
#96 "Incoming transitions to a history connector stretch incorrectly
     when the state is moved"
#97 "Newly added history connector not moving when the state is resized."... [read more](/p/qpc/news/2014/05/qm-313-released/)
Posted by Quantum Leaps 2014-05-13

Active Objects Meet Qt...

The new QP/C++ Development Kit for Qt (https://sourceforge.net/projects/qpc/files/QDK-Cpp_Qt ) allows you to build highly modular, well structured, multithreaded desktop, embedded, or mobile Qt5 applications with dazzling GUI based on the concept of active objects (a.k.a. actors).

QP/C++ complements Qt by providing the high-level structure, while Qt renders the GUI and provides various services. The active object computing model underlying QP raises the level of abstraction and provides a more productive architecture, which is safer to use, more efficient, and easier to understand than the programming with the low-level QThread and QWaitCondition classes of Qt, which are just thin wrappers around the POSIX-threads API.... read more

Posted by Quantum Leaps 2014-05-13

QM 3.0.0-beta released

QM 3 brings new type of code generation for the new state machine implementation added in QP5. This new type of state machine implementation in QP5 is based on the new QMsm class, which takes advantage of the QM tool as an advanced "state machine compiler". QM can perform optimizations that were not possible with the C pre-processor alone. Specifically, the QM can easily determine the LCA (Least-Common-Ancestor) state for every transition and it can generate the complete transition-sequences (sequences of exit/entry/initial actions) at code-generation time. The resulting code is still highly human-readable, but it is no longer human-maintainable. The lab tests indicate that the new "housekeeping" code for executing hierarchical state machines is about twice as fast as the code based on the QHsm class. Additionally, the new code requires less run-time support (smaller event processor) and uses 70% less of stack space in the call to the QMsm::dispatch() operation than QHsm::dispatch().... read more

Posted by Quantum Leaps 2013-12-06

QP5 is Here--See What's New!

The new milestone release 5.x of QP/C and QP/C++ is available for download. The release notes provide a quick summary of new features. You can also find a slightly more detailed presentation "New Features in QP5" in PDF at: http://www.state-machine.com/qp/QP5.pdf

--MMS

Posted by Quantum Leaps 2013-10-06

New QDKs for ARM Cortex-M with ARM-KEIL ARMCC and Keil uVision4

New QDKs for ARM Cortex-M with ARM-KEIL ARMCC and Keil uVision have been just released (see http://www.state-machine.com/arm/). All QP framework types are supported.

Enjoy!

Posted by Quantum Leaps 2013-06-30

New QDKs for PIC32 with MPLABX

Two new QP Development Kits (QDKs) for Microchip PIC32MX microcontrollers with MPLABX and the XC32 compiler have been just released (see http://www.state-machine.com/pic ). Both QP/C and QP/C++ are supported. (Yes, you can program a PIC in C++!).

As usual, the QDKs come with an extensive QDK Manual (see http://www.state-machine.com/pic/QDK_PIC32-XC32.pdf).

Enjoy!

--Miro

Posted by Quantum Leaps 2013-06-24

QM 2.3.1 released

QM 2.3.1 introduces a number of features and fixes most of the reported bugs in QM (see feature requests and bug reports. The most important new features include model-wide search and replace, storing/restoring the current QM session, several improvements to the code editor, improved code generation, generation of comments from documentation, improved window-tabs, and many many more.

Enjoy!

Posted by Quantum Leaps 2013-05-16

QP 4.5.04 released

The just released QP 4.5.04 contains the support for ARM Cortex-M4F (FPU). The updated AppNotes "QP and ARM Cortex-M with IAR" and "QP and ARM Cortex-M with GNU" describe all the details of the port and the support for the FPU.

The QP ports to Cortex-M4F, both the cooperative and preemptive QK kernel, fully support the very interesting hardware feature called "lazy stacking" [ARM AN298], which is the default once the FPU is enabled. This feature avoids an increase of interrupt latency by skipping the stacking of floating-point registers, if not required. This feature is described in the ARM Application Note 298
“Cortex-M4(F) Lazy Stacking and Context Switching”, available at:
http://infocenter.arm.com/help/topic/com.arm.doc.dai0298a/DAI0298A_cortex_m4f_lazy_stacking_and_context_switching.pdf... read more

Posted by Quantum Leaps 2013-02-12

New QP Development Kit for Android-NDK

The new QDK for Android-NDK has just been released. The QDK is available as external download to the QP/C Baseline Code (see http://www.state-machine.com/android). Also, the Android-NDK port and examples have been released to the QP/C Git repository on SourceForge (https://sourceforge.net/p/qpc/qpc).

The integration of QP/C with Android at the native code level (running outside the Android's Delvik Virtual Machine) is interesting for applications requiring efficiency and real-time, or near real-time performance, such as games.... read more

Posted by Quantum Leaps 2012-12-19

QP/C++ brings MISRA-C++:2008 compliance

QP/C++ 4.4.00 has been finally released. The main pupose of this relase is MISRA-C++:2008 compliance, strong-type checking compliance, update of PC-Lint option files and tests, and general cleanup.

The extensive Application Note "QP/C++ MISRA-C++:2008 Compliance Matrix" is still under development and will be released soon.

The QP/C++ Baseline code comes with several standard ports and examples (DOS, Win32, Win32-1T, Linux, Linux-64bit, ARM Cortex-M3 IAR, and ARM-Cortex-M3 GNU). The other QP/C++ Development Kits (QDKs) will be updated to the 4.4.00 level in the coming weeks.

Posted by Quantum Leaps 2012-05-02

QP on Git

The complete QP source code trees, including all ports and examples, are available in Git repositories hosted on SourceForge.net.

The Application Note "Accessing QP Git Repositories on SourceForge.net" describes how to access the QPsource code via Git repositories on SourceForge.net. Specifically, you will learn how to install Git on Windows and how to clone the complete source trees for QP/C, QP/C++, QP-nano and Qtools. You will also learn how to fetch updates to the source trees as they are pushed to the QP Git repository.

Posted by Quantum Leaps 2012-03-30

QP/C 4.4.00 with MISRA-C:2004 and PC-Lint 9.x

The QP/C 4.4.00 release complies with most of the MISRA-C:2004 rules and all remaining deviations are carefully insulated and encapsulated into very specific contexts. The framework goes even beyond MISRA, by complying with string type checking and a consistent, documented coding standard.

QP/C comes with extensive support for automatic rule checking by means of PC-Lint, which is designed not just for proving compliance of the QP/C framework code, but more importantly, to aid in checking compliance of the application-level code. Any organization engaged in designing safety-related embedded software could benefit from the unprecedented quality infrastructure built around the QP/C framework.... read more

Posted by Quantum Leaps 2012-02-01

New QDKs for ARM Cortex-M0

New QDKs for ARM Cortex-M0 are now available for download (at state-machine.com/arm). The QDKs have been tested with the LPCXpresso board based on the LPC1114 MCU (LPC11xx is the first Cortex-M0 silicon available at this point). The QDKs for the Cortex-M3-based LPC1343 have been also released today.

Posted by Quantum Leaps 2010-02-26

QP 4.1.03 Release

This QP 4.1.03 release is concerned with the ARM Cortex ports and examples. Specifically, this release contains the following improvements:

  1. Unified source code for ARM Cortex-M3 and the new ARM Cortex-M0 cores, including the common code for the preemptive QK kernel.

  2. Compliance with the Cortex Microcontroller Software Interface Standard (CMSIS) in all ARM Cortex examples.

  3. Backward-compatible support for the new LM3S811 EVAL Rev C board with different OLED display than previous revisions. (NOTE: The OSRAM 96x16x1 OLED used in REV A-B boards has been replaced RITEK 96x16x1 OLED used in Rev C.)... read more

Posted by Quantum Leaps 2010-02-22

QP Development Kits for Microchip PIC24/dsPIC

The new QP Development Kits (QDKs) for Microchip PIC24 and dsPIC microcontrollers have been released. The QDKs (for QP/C, and QP-nano) demonstrate how to use the QP frameworks on the 16-bit PIC devices. The QDKs have been tested on the Explorer 16 development board.

The new QDKs include both the cooperative "vanilla" kernel as well as the fully preemptive QK kernel. Both versions fully support interrupt nesting as well as "zero-latency" non-maskable interrupts. The QDK/C contains full support for the QS software tracing.

The new QDKs are available for download from http://www.state-machine.com/pic. ... read more

Posted by Quantum Leaps 2009-06-09

QP available from Subversion

Complete QP/C, QP/C++, and QP-nano codesets with all ports and examples have been released to the Subversion repository on Sourceforge.net:

https://qpc.svn.sourceforge.net/svnroot/qpc

The Subversion download is ideal for users, who want to get the latest QP ports and examples even before they make it to the official release.

Posted by Quantum Leaps 2009-05-13

QP integrated with lwIP TCP/IP stack

The open source lwIP TCP/IP stack has been natively integrated with the QP state-machine frameworks. The newly released QP-lwIP integration example code available for download from www.state-machine.com/lwip provides all you need to develop professional TCP/IP applications with lwIP, including embedded code and host-based utilities.

The example code accompanying the extensive Application Note (see http://www.state-machine.com/lwip/AN_QP_and_lwIP.pdf) runs on the LM3S6965 Cortex-M3 MCU with integrated Ethernet MAC and PHY. But the QP-lwIP integration has been carefully designed for portability. All hardware-specific code is clearly separated in the Ethernet/lwIP device driver with the clean interface to the lwIP stack and the QP application. ... read more

Posted by Quantum Leaps 2009-03-24

QP Development kits for TMS320C28x DSPs

The new QP Development Kits (QDKs) for Texas Instruments TMS320C28x DSPs have been released. The QDKs (for QP/C, QP/C++, and QP-nano) demonstrate how to use the QP frameworks on the DSP devices. The QDKs have been tested on the new Piccolo controlSTICK platform from TI (www.ti.com/f28xgetstarted).

The new QDKs include both the cooperative "vanilla" kernel as well as the fully preemptive QK kernel. The QDKs allow statndalone operation with booting from the on-chip Flash and demonstrate how to place selected time-critical code modules and data in the on-chip RAM for best performance. The QDK/C and QDK/C++ contain full support for the QS software tracing, which is tricky on machines that cannot address individual bytes (the smallest quantity separately addressable on TMS320 is 16-bit word.)

The new QDKs are available for download from http://www.state-machine.com/tms320c28x.

Posted by Quantum Leaps 2009-02-03

The new milestone release QP v4

The QP v4 milestone release is made for the
new book "Practical UML Statecharts in C/C++, Second Edition" [PSiCC2]. The standard distributions of QP/C, QP/C++, and QP-nano version 4 include very detailed, searchable, hyper-linked Reference Manuals in HTML and CHM formats. The Reference Manuals now replace the "QP Programmer's Manuals" for previous versions 3.x.

QP v4 contains numerous improvements, but perhaps the most important change from the application programmer's perspective is that the coding techniques for state machines have changed in QP v4. While the changes are quite simple, QEP v4 breaks the backward compatibility with QEP 3.x, meaning that some manual changes to the state machines implemented with earlier versions are necessary. The Download Notes describe what's new in QP/C, QP/C++, and QP-nano v4.0.... read more

Posted by Quantum Leaps 2008-07-31

QP released on SourceForge.org

Quantum Leaps, LLC (http://www.quantum-leaps.com) a provider of lightweight, open source, real-time frameworks for embedded systems, released today its Quantum Platform (QP) family of frameworks to the SourceForge.net code repository. The baseline code for QP/C, QP/C++, and QP-nano, as well as the extensive documentation and examples are available for download from https://sourceforge.net/projects/qpc/.... read more

Posted by Quantum Leaps 2007-02-24