02.03.2014 Views

BSP Developer's Guide

BSP Developer's Guide

BSP Developer's Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

2<br />

<strong>BSP</strong> Organization<br />

2.1 Introduction<br />

This chapter describes the components of a <strong>BSP</strong>. It lists and describes the contents<br />

of all the <strong>BSP</strong>-associated source and include files. For the .h files, this chapter<br />

describes the consequences of defining or undefining the standard symbolic<br />

constants. For the .c files, it describes all the required and optional functions<br />

associated with the file. This chapter describes the derived files, such as sysLib.o<br />

(the interface between board-dependent and board-independent code) and<br />

bootrom.<br />

There is a section enumerating the principal <strong>BSP</strong>-associated routines and their<br />

order of invocation (for a tabular summary of the boot sequence, see D. VxWorks<br />

Boot Sequence). This information is provided to give you the system awareness<br />

needed to debug the VxWorks boot phase.<br />

At the end of this chapter is a discussion of mistakes commonly made by the<br />

novice <strong>BSP</strong> developer.<br />

2.2 <strong>BSP</strong> Components<br />

A <strong>BSP</strong> consists of the routines that provide VxWorks with its main interface to the<br />

hardware environment. Figure 2-1 illustrates the various components of VxWorks,<br />

indicating the hardware-dependent and -independent elements.<br />

11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!