Tornado BSP Developer's Kit for VxWorks User's Guide Tornado 2.0TM
Liu Yangye time to finish, please continue to pay attention, and I hope that 9CBS will open a classification of embedded systems.
1.3 BSP Kit contains content:
From WinDriver, you can get the BSP Kit CD, which will contain some software to assist BSP development, the software is as follows:
BSP Verification Test Suite: The purpose of these programs is to test basic functions of a BSP and record and report any defects. They are not only running on the target but also on the host. The test kit is highly automated, once the test is started, no user intervention is required. The BSP verification test kit is provided in the form of source code for maintenance and expansion. These source code should not be modified when a formal verification test is performed.
Template BSP: These templates are prepared for a variety of architectures, which provide a starting point for BSP development. Each template can be compiled, but those optimized characteristics are prohibited. This allows developers to start quickly from a template without having to make big changes.
Template Driver: BSP Kit provides a variety of different types of template devices drive source code.
SCSI Test Suite: BSP Kit provides a set of SCSI test programs.
In fact, in Tornado has also included a reference BSP, Torndao on a platform and the reference BSP thereof are based on the same processor architecture.
1.4 Main content of this book:
1. Introduction is this chapter.
2. BSP Organizational Structure: It is an overview of BSP construction and demand, which discusses the necessary and optional files and processes, providing a BSP to construct the most basic overview of the BSP and how the BSP interacts with VxWorks.
3. Create a new BSP: Provides the strategy required to start porting a BSP. Means using different hardware configurations are discussed in detail here. In the case where there is no one can work, it is the most difficult part of transplanting BSP to a new board.
4. Hardware Guide: Discuss how the CPU architecture and how different hardware elements affect BSP transplantation.
5. Drive Development Guide: Providing a general guide for device driver development, please refer to the appendix for the development details of a particular type of driver.
6. Part: Describe how a BSP derives in various components. This chapter provides the basis for the creation and use of components.
7. Verification Test: Describes the BSP Validation Test Suite operation and use. The BSP Verification Test Suite is some programs running on hosts and targets that test the basic features of BSP and detect and report defects. Please refer to Appendix L (BSP Verification Test Suite Reference Inlet) and Appendix M (Strict Checklist).
8. Code Specification: The standard C coding specification containing Windriver included in all VxWorks source code. The purpose of these specifications is to ensure high quality code, guarantee consistency, and can provide a framework for documents. Consistency enough to make programmers to understand the code developed by others, and can also allow some tools to extract document frames from the code.
9. Document Guide: Introduced the style and format of the Windriver's BSP document, as well as the step of generating documents from the source code. The template BSP belt in the BSP Kit provides an example of writing style and text format, module arrangement.