Developing User Programs - Fujitsu F2MC-16L User Manual

Hide thumbs Also See for F2MC-16L:
Table of Contents

Advertisement

CHAPTER 2 Developing Application Systems
2.7

Developing User Programs

The following three items are determined in system design.
• The processing to be executed
• The target hardware
• Whether or not to use REALOS/907
Actual development of the REALOS/907 application system starts after the above items
have been decided. The following describes the steps for developing an application
system.
I Split the system functions into tasks and handlers, then develop the user program
REALOS/907 is a multitasking realtime operating system. The processing to be performed by
the application is divided into tasks and handlers. After determining the overall structure, design
the individual task and handler programs. Also consider how synchronization and
communication will be performed between the tasks and handlers.
To undertake these steps, you need to understand the functions provided by REALOS/907. For
more information, see the "Softune REALOS/907 Kernel Manual".
I Develop the task and handler programs for each function
Develop the programs for each task and handler in accordance with the functions and structure
specified in the design. Programs can be written in assembler or C.
I Determine the objects to use
Determine the objects to use between the various tasks and handlers. Determine the type,
number, initial settings, and other parameters for the objects to be used. Define the objects
using the configurator.
See "Softune REALOS Configurator Manual" for details.
14
Tasks
Initialize handler
Interrupt handlers
Exception handlers (CPU exception handler, system call exception handler)
Timer handler (cyclic handlers, alarm handlers)
Semaphores
Eventflags
Mailboxes
Memorypools
*

Advertisement

Table of Contents
loading

This manual is also suitable for:

F2mc-16xlF2mc-16F2mc-16hF2mc-16f

Table of Contents