User Manual Part 7

User Guide to Q4000/QPRO
Document Number 1135-4713 Rev G
THIS DOCUMENT CONTAINS CONFIDENTIAL AND PROPRIETARY INFORMATION OF QUAKE GLOBAL CORPORATION. IT MAY BE USED BY
RECIPIENT ONLY FOR THE PURPOSE FOR WHICH IT WAS TRANSMITTED AND WILL BE RETURNED UPON REQUEST OR WHEN NO LONGER NEEDED
BY RECIPIENT. DISCLOSURE TO UNAUTHORIZED THIRD PARTIES OR DUPLICATION WITHOUT THE EXPRESS WRITTEN PERMISSION OF QUAKE
GLOBAL IS PROHIBITED.
Page 124
CONFIDENTIAL
Information classified Confidential
-
Do not copy (See last page for obligations)
12.4.8 DemoAppRTOS
The Real-Time Operating System (DemoAppRTOS) sample application demonstrates use of
various RTOS and related system features. The primary features demonstrated are creation of
two RTOS tasks which run independently, and creation and use of a task message queue to
communicate between the tasks. However, other features are also exercised, including the use
of a mutex semaphore to protect a shared resource, and access to the system tick counter and
error reporting facility. Note that this application uses network-specific calls.
1. Select the DemoAppRTOS Workspace from the drop-down list at the top left-hand corner of
the IAR IDE screen. Open the APL.c file, as shown below:
Figure 12-61: DemoAppRTOS - Selecting the Workspace
2. Now build, load and execute DemoAppRTOS. The instructions for building, loading and
executing the code are the same as in Section 12, except that after building the application,
the executable bin file is:
…/DemoAppRTOS/exe/xxx-DemoAppRTOS.bin
.
3. After startup, check the Logger output for the line APL DEMO: RTOS. This indicates that the
correct DemoApp is running.