Reply by Keith Larson July 30, 20062006-07-30
David

Without posting your CMD file the best anyone can do will be a guess.
Never the less, here are some more common mistakes I have seen people
make with the TI tools.

1) If an output name is not supplied in the command file (EG, -o
name.out is missing), output is written to A.OUT.

2) There are a number of pre built examples that come with the DSK. If
these dont run, check your environment variables. The pertinent
variables, distilled from my own setup are given below. Use the 'set'
command from the command prompt to see what these are.

J:\DSK3\DSK3>set

C_DIR=.;I:\tic3x4x\include;I:\tic3x4x\lib;
A_DIR=.;I:\tic3x4x\include;I:\tic3x4x\lib;
PATH=I:\TIC3X4X\BIN;
FILES

NOTE: You can use the SET=XXX (no white space) command from the command
prompt to set a variable. However, the scope of this change is only
valid for the window you used to enter the command. This could lead to
some confusion if you are using batch files in seperate windows and have
not made these changes permanent by adding them to AUTOEXEC.BAT.

3) Have the linker generate a map file. This will tell you a lot of
good stuff. If there is no map file, this too will tell you something.
A missing runtime library perhaps?

4) The linker assumes undefined memory sections begin at address zero.
Not exactly your situation, but still a pretty common mistake.

Best regards
Keith

r wrote:

> Sounds like it's not completing the link stage. Either because the batch
> file is not calling the linker, or because it does, and the link
> fails. The
> link in the batch file should be something like LNK.
>
> Regards,
>
> Robert
>
> www.greatlakessignalprocessing.com
>
> _____
>
> From: c...
> [mailto:c... ] On Behalf
> Of davo40
> Sent: Wednesday, July 26, 2006 11:19 AM
> To: c...
> Subject: [c3x] Help with compiler on TMS320CV33 (Uni starter kit)
>
> Hi,
>
> I recently bought the University Starter kit and am having trouble
> getting beyond installation. I have read through the help file
> (DSK3HELP.HLP) on installing the compiler and there is a test using a
> sample C program (TOGLIOF.C) to determine whether the compiler is
> working. I created 3 files - a C file, a batch file and a CMD file.
> Running the batch file is supposed to create an output file
> (TOGLIOF.OUT) but in my case, only a .asm file and a .obj file are
> created. Does anyone know where I'm going wrong? I would appreciate any
> suggestions.
>
> Thanks,
> David.
Reply by r July 27, 20062006-07-27
Sounds like it's not completing the link stage. Either because the batch
file is not calling the linker, or because it does, and the link fails. The
link in the batch file should be something like LNK.

Regards,

Robert

www.greatlakessignalprocessing.com

_____

From: c... [mailto:c...] On Behalf Of davo40
Sent: Wednesday, July 26, 2006 11:19 AM
To: c...
Subject: [c3x] Help with compiler on TMS320CV33 (Uni starter kit)

Hi,

I recently bought the University Starter kit and am having trouble
getting beyond installation. I have read through the help file
(DSK3HELP.HLP) on installing the compiler and there is a test using a
sample C program (TOGLIOF.C) to determine whether the compiler is
working. I created 3 files - a C file, a batch file and a CMD file.
Running the batch file is supposed to create an output file
(TOGLIOF.OUT) but in my case, only a .asm file and a .obj file are
created. Does anyone know where I'm going wrong? I would appreciate any
suggestions.

Thanks,
David.
Reply by davo40 July 26, 20062006-07-26
Hi,

I recently bought the University Starter kit and am having trouble
getting beyond installation. I have read through the help file
(DSK3HELP.HLP) on installing the compiler and there is a test using a
sample C program (TOGLIOF.C) to determine whether the compiler is
working. I created 3 files - a C file, a batch file and a CMD file.
Running the batch file is supposed to create an output file
(TOGLIOF.OUT) but in my case, only a .asm file and a .obj file are
created. Does anyone know where I'm going wrong? I would appreciate any
suggestions.

Thanks,
David.