There is a new embedded develop tool: UML State Machine Wizard.
UML State Machine Wizard acts as a Visual C++ Add-in, which provides a UML (Unified Modeling Language) state machine programming mechanism in portable standard C for embedded systems developing and simulating in Visual C++ developer studio.
It can model embedded systems with the State Charts or the State Tree without heavyweight, expensive CASE (computer aided software engineering) tools. It runs inside the integrated developing environment.
Download Link: http://www.intelliwizard.com/down/StateMachineWiz.exe