VxWorks Intermediate Application Development Use Cases
Provides engineers with a solid grounding in a selection of the more sophisticated APIs provided in VxWorks.
Course Description
The VxWorks® Intermediate Application Development Use Cases course provides engineers with a solid grounding in a selection of the more sophisticated APIs provided in VxWorks.
Course Results
After this course, participants will be able to perform the following:
- Effectively use two different signal interfaces to deal with synchronous events
- Leverage semaphores, message queues, and events to support applications with complex interactions
- Use three VxWorks-specific printing APIs that provide greater capability and flexibility than printf
- Use VxWorks APIs to map physical memory to the virtual address space of a real-time process
- Create and use shared libraries to decrease memory footprint of applications
Products Supported
- Wind River® VxWorks 6.9
- Wind River Workbench 3.3
- Wind River Simics 4.6
Who Should Attend
- Software developers needing to implement synchronous behavior in an application
- Engineers needing to provide graceful exception-handling capabilities to application developers
- Software developers needing to understand how to use VxWorks kernel calls in a complex application
- Software developers needing a variety of simple debug tools akin to printf but with greater capability
- Engineers required to provide device driver support within the context of a real-time process
- Software developers needing to share code between applications running in multiple real-time processes
Course Format
- One day of hands-on use cases covering five topics, with technical assistance and individual guidance available from an expert instructor
- Use of VxWorks 6.9, Workbench 3.3, and Simics 4.6 to gain experience with the topics presented
Syllabus
Use Cases
Day 1
Using Signals
- VxWorks generic and POSIX signal APIs
- Writing simple handlers
- Passing parameters
- Multiplexing signals through a single handler
- Masking and signal deferral
Inter-task Coordination and Communication
- Semaphores for synchronization and mutual exclusion
- Synchronization through the events API
- Message passing
Instrumenting Code by Printing
- Advantages of print services
- Printing at interrupt time
- Graphical printing
- Event points and instrumenting dynamically
Accessing Physical Memory from a Real-Time Process
- BSP modification requirements
- Mapping physical addresses to the RTP virtual address space
- Tools and techniques for examining the RTP virtual address space mapping
Using Shared Libraries from a Real-Time Process
- Creating shared libraries using Workbench
- Creating file systems to support real-time processes and shared libraries
- Dynamically linking real-time process code to shared libraries
Prerequisites
Prerequisite Courses
Prerequisite Skills
- Two to three years of C programming experience
- Solid understanding of VxWorks 6.x, both the kernel and real-time process programming environments
- Proficiency in the use of the Workbench tool suite, especially Workbench projects and target servers
- Functional knowledge of UNIX/Linux
COURSE DETAILS SUMMARY
- Duration: 1 Days
- Course Information: View
- Format: Hands-on use-case sessions with support from an instructor
- Type: Instructor-led