Skip to main content
repzak
Associate II
April 8, 2010
Question

UML / State diagram code generation tool

  • April 8, 2010
  • 4 replies
  • 2647 views
Posted on April 08, 2010 at 20:04

UML / State diagram code generation tool

#rtos #code-generation #qp #stm32 #state-machine #state-machine #uml
This topic has been closed for replies.

4 replies

Gawie
Associate
May 17, 2011
Posted on May 17, 2011 at 13:46

Hi Kasper

I have been using Quantum Leaps' state machine framework on the STM32 with great success - see 

www.state-machine.com

. I heard through he grapevine that they are working on a code generation tool for their framework - not sure when it will be available. 

You can also have a look at www.umlet.com - they have a free drawing tool that works great for designing state machines, etc. No code generation unfortunately.

Hope this helps.

Gawie

Andrew Neil
Super User
May 17, 2011
Posted on May 17, 2011 at 13:46

I've not used their code-generation capabilities, but have found both  VisualState from IAR and Enterprise Architect from Sparx systems to be pretty good for the modelling:

http://www.iar.se/website1/1.0.1.0/1389/1/

http://www.sparxsystems.com.au/products/ea/index.html

VisualState, as the name suggests, is just about sate machines, and is specifically targetted to embedded systems. It is expensive.

Enterprise Architect is (more of) a full UML tool, and not specifically embedded. It is inexpensive.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
miro
Associate
May 17, 2011
Posted on May 17, 2011 at 13:46

Update: Quantum Leaps offers now a

free, cross-platform, graphical UML modeling tool called QM? (www.state-machine.com/qm) for designing and implementing real-time embedded applications based on the QP state machine frameworks. QM? provides best-in-class, intuitive diagramming environment and generates very compact C or C++ code that is 100% traceable from your design. QM? is currently available for Windows and Linux (Mac OS X is planned in the future).

0690X00000602hVQAQ.jpg

The code generated by QM works on the STM32 microcontrollers. For more information about STM32, visit www.state-machine.com/arm.

Md Mubdiul Hasan
Associate III
October 28, 2016
Posted on October 28, 2016 at 09:37

Dear Sir,

I have just download this software.

Would you kindly tell me in what environment It gonna applicable?