14
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.
■
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”.
• Tasks
• Initialize handler
• Interrupt handlers
• Exception handlers (CPU exception handler, system call exception handler)
• Timer handler (cyclic handlers, alarm handlers)
■
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.
■
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.
• Semaphores
• Eventflags
• Mailboxes
• Memorypools
*
Содержание F2MC-16L Series
Страница 2: ... ...
Страница 4: ... ...
Страница 10: ...vi ...
Страница 12: ...viii ...
Страница 44: ...32 CHAPTER 4 Program Reference for the Standard I O Library ...
Страница 53: ...41 APPENDIX B Running the Sample System Figure Be Project Member List ...
Страница 54: ...42 APPENDIX Figure Bf Set Configuration File Dialog Box ...
Страница 64: ...52 APPENDIX Figure Cb Sample System Memory Map Continued ...
Страница 65: ...53 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 68: ... ...