Boots the TX device indicated by the specified handle. The board performs a complete reset, including loading the operating system kernel from on-board flash memory.
#include txcpi.h
S16 cpi_force_bs ( TX_HANDLE handle)
Argument |
Description |
handle |
TX handle number. |
Return value |
Description |
CPI_SUCCESS |
Reset of the TX board successfully started. |
CPI_ERROR |
Call cpi_get_last_error to obtain the error code. |
cpi_force_bs triggers the board to reboot from the TX operating system that is stored in on-board flash memory. All current processing on the board is aborted. When the board reset completes, cpi_check_bs returns a state of BS_READY.