README for HEGD9 example with  Code Composer only
==================================================

In this directory there are the following files

README          This file
GD9.C           The .C file that has some useful functions defined.
MAKE.BAT        A batch file to compile the demo for use with TI C compiler

COMPILING
---------

Check your system configuration to find out which comport of the
DSP is connected to the GD5. In the .C file there is a line  

#define ANALOGUE_OUT     1       /* Comport for the HEGD5 */

which must be changed to reflect the correct comport connection.

The File HUNT.CMD must be changed to reflect the memory configuration
of your processing module that the HEGD5 is connected to.

The file MAKE.BAT must have the TICC and TILIB variables edited to
show the location of your TI compiler.

The demo can then be built using the make batch file or by setting
the options in the Code Composer Project Build options.

The program cannot print so all data that you want to see must
come from the Code Composer windows.

FOR USE WITH CODE COMPOSER 
--------------------------

If you have copied your demo into the directory c:\hegd5\c4x\cconly
then you can start Code Composer and simply open the workspace provided
(cconly.wks). You may have some problems with the paths of the various
files, so you might need to set up some of the workspace yourself.

You must edit a GEL initialisation file based upon the HUNTENG.GEL file
supplied with the Code Composer support from HUNT ENGINEERING so that it
reflects the actual processing module that you are using to connect to
your HEGD5. After starting Code Composer you must use the  file menu's
" Load GEL" option to load the GEL file you have edited as above.

Execute the TIM_RESET function from the TIM FUNCTIONS menu that has
appeared. This will reset the processor and setup the DSPs memory
ready for use.

Use the debug menu's Halt option to stop the processor. 

Load the program using the File menu's load file option, and do the
same for the symbols.

Use the Debug menus Go Main option.

NOTICE !
--------
Every time a breakpoint happens the whole of the DSP stops. This means
that the writing to the comport will stop causing the FIFOs in the data
path to underflow.

(The data needed for the D/A doesn't arrive.)

V 1.0 17-03-2000
