Contact IAR Systems
Home Products Support Resources Downloads About us Contact My Pages
Development kits Compilers and debuggers RTOS, TCP/IP, USB, GUI State machine tools Debug probes Solutions Ordering information
 
Product News
Product packages
Components
Navigator
Designer
Validator
Verificator
Prototyping
Coder
Integration
Documenter
C-SPY Integration
User Guides
Webinar/video recordings
Flash demos
 
 
Products   >   State machine tools   >   Components   >   Integration   >  

Integration

Now the generated code must be integrated into the target application. The generated code will execute the control logic defined in the state chart diagrams. The code is ready to be used in target, but it must be combined with a user-written main loop that can interpret it. You must also implement device drivers for capturing the events. visualSTATE® includes two APIs that function as the interface between the user-written code and the Coder-generated files.

If you want to run a visualSTATE application under a real-time operating system, then you have several options—depending on your system architecture. The basic method for implementation of a visualSTATE application is to run the application logic as one task. The firmware layer, and other parts of your application can be run in the same task or in any other task; the choice is yours. A more advanced method for implementation is to run the generated visualSTATE application in several tasks. You can then map each subsystem to a specific task.

By using any ANSI C compiler, you will compile, link and locate the generated code together with your firmware, and the outcome is a complete executable application for your target platform.
 
 

Download

 

Technology

 

In-depth information

 
 
 
Design your eZ430-Chronos application with IAR visualSTATE
Design your Chronos watch from TI with IAR visualSTATE.   >>