Texas Instruments TMS320C6000 Benutzerhandbuch
BSL API Modules
1-3
BSL Overview
1.2
BSL API Modules
For each on-board device, one header file and one source file will be gener-
ated with the following names: bsl_device.h and bsl_device.c.
ated with the following names: bsl_device.h and bsl_device.c.
Also, a library will be built for a given board:
i.e: bsl6711dsk.lib
Note : The soource files.c are archived into a single source file bsl.src.
Table 1–1 provides a current list of BSL API Modules.
Table 1–1. BSL Modules and Include Files
Board
Module
Module
Description
Include File
Module Support
Symbol
Symbol
BSL
Top-level module: Initialization of the BSL
bsl_bsl.h
BSL_init
BOARD
Board-specific module – can call CSL at run-
time
time
bsl_board.h
BOARD_SUPPORT
AD535
Audio codec module (C6711 DSK)
bsl_ad535.h
AD535_SUPPORT
DIP
Dip switches module
bsl_dip.h
DIP_SUPPORT
FLASH
Flash ROM module
bsl_flash.h
FLASH_SUPPORT
LED
LED module
bsl_led.h
LED_SUPPORT
Interdependencies
Although each API module is unique, there exists some interdependency be-
tween the CSL (Chip Support Library) and BSL modules. For example, the
AD535 module depends on the MCBSP module because MCBSP0 is dedi-
cated to serial communication.
tween the CSL (Chip Support Library) and BSL modules. For example, the
AD535 module depends on the MCBSP module because MCBSP0 is dedi-
cated to serial communication.
1.2.1
BSL API Module Support
Not all API modules are supported on all boards. For example, the AIC10 mod-
ule is not supported on the C6711 DSK because the board does not have an
AIC10 codec. When an API module is not supported, all of its header file infor-
mation is conditionally compiled out, meaning the declarations will not exist.
Because of this, calling an AIC10 API function on a board that does not support
AIC10 results in a compiler and/or linker error.
ule is not supported on the C6711 DSK because the board does not have an
AIC10 codec. When an API module is not supported, all of its header file infor-
mation is conditionally compiled out, meaning the declarations will not exist.
Because of this, calling an AIC10 API function on a board that does not support
AIC10 results in a compiler and/or linker error.
Note: AIC10 codec is implemented on C5510evm.