Understanding Different Drivers
This course explains how to implement new VxBus serial, timer, and network drivers that are compatible with VxWorks.
Course Description
This course explains how to implement new VxBus serial, timer, and network drivers that are compatible with VxWorks.
Course Results
After this course, participants will be able to perform the following:
- Explain the roles of ttyDrv, tyLib, and implement and integrate a serial driver
- Implement and integrate a timer driver
- Initialize, configure and integrate END drivers
Hands-on exercises are included, utilizing the Wind River Simics® virtual target.
Products Supported
- VxWorks 7
- Wind River Workbench 4 for VxWorks 7
The Course is Suited For
- Developers planning to write a BSP for a new board on a supported architecture
- Device driver developers
- Application programmers interested in learning what occurs at the hardware level of a VxWorks image
- Senior engineers who will decide on a final production image of their product
Course Structure
- This eLearning course consists of lectures and lab sessions.
- Viewers use VxWorks 7, Workbench 4, and Simics to gain experience with the topics presented.
Syllabus
Serial Drivers
- Overview
- High level serial driver architecture
- Serial driver data structures
- Header files
- Serial driver routines
- VxBus driver routines
- Configuring and initializing serial drivers
- Implementing driver routines
- LAB: Creating a Serial Driver
Timer Drivers
- Overview
- Timers
- VxBus driver routines
- Timer driver routines
- Header files
- Configuring and initializing timer drivers
- Integrating timer drivers
- Implementing driver routines
- LAB: Creating a Timer Driver
VxWorks Network Drivers
- Overview
- VxBus driver methods
- END
- Network framing
- Receiving packets
- Sending packets
- Contexts of execution
- MDIO
- LAB: Adding Polling Mode to the VxBus Network Driver
Prerequisite Skills
- C programming, including experience with structures, pointers, pointers to structures, typedefs, macros, and bitwise operators
- Windows Functional knowledge of Linux or Windows host operating systems
- Experience using the Workbench debugger to debug target code