Книга: Microsoft Windows Embedded CE 6.0 Exam Preparation Kit

Serial Debug Output

Serial Debug Output

The next step in the boot loader adaptation is the initialization of the serial debug output. This is an important part of the boot process because it enables the user to interact with the boot loader and the developer to analyze debug messages, as discussed in Chapter 4, "Debugging and Testing the System."

Table 5-2 lists the OEM platform functions required to support serial debug output in the boot loader.

Table 5-2 Serial debug output functions

Function Description
OEMDebugInit Initializes the UART on the platform.
OEMWriteDebugString Writes a string to the debug UART.
OEMWriteDebugByte Writes a byte to the debug UART, used by OEMWriteDebugString.
OEMReadDebugByte Reads a byte from the debug UART.

Оглавление книги


Генерация: 3.606. Запросов К БД/Cache: 3 / 0
поделиться
Вверх Вниз