This example project contains a simple BIOS example which displays the message
"BIOS is for me!" by using the Event Log Manager (LOG) LOG_message function 
and demonstrates some basic concepts in using BIOS. The project was built in 
c:\bios_examples\LOG_message .

Information on using the LOG API can be found in section 3.4.2 of the
TMS320C54x DSP/BIOS User's Guide, SPRU326C and in section 1.4 of the
TMS320C54x DSP/BIOS Application Programming Interface (API) Reference Guide,
SPRU404A.



To create this project from scratch:

*Create an empty directory, c:\bios_examples\LOG_message , in which the
 project will be created

*Place the C file named LOG_message.c in this directory

*Start CCS

 GEL -> C54x -> C5402_DSK_Init		; initialize the target board

 File->New->DSP/BIOS Configuration	; create the BIOS configuration file

 Select dsk5402.cdb and click on OK	; a window titled 'Config1' should appear in CCS

 Right-click on "LOG- Event Log Manager" and choose "Insert LOG"

 Right-click on "LOG0" and rename object to "trace"

 File->Save				; save as log_message.cdb in the 
					; directory your project will be created in

 Project-> New				; create a project named log_message.mak
					: in your project directory

 Project->Add Files to Project		; add the file log_message.cdb to the project

 Project->Add Files to Project		; add the file log_messagecfg.cmd to the project

 Project->Add Files to Project		; add the file LOG_message.c to the project

 Project->Build				; build the project and load the out file

 Tools->DSP/BIOS->Message Log		; create a BIOS message log area in your CCS screen

 Right-click in the BIOS message log area and select "Property Page..."

 From the pull down, select 'trace' as the log to be displayed and press OK

 Run the program and observe the that message "BIOS is for me!!" 
 is displayed in the message log.

Notice that after the main C program exits with the return statement that
the program keeps running. BIOS provides a system idle loop, so you must 
halt the processor from CCS.

	
