Sign in

username:

password:



Not a member?

Search c3x



Search tips

Subscribe to c3x



c3x by Keywords

Boot | C31 | TMS320VC33 | VC33

Ads

Discussion Groups

Discussion Groups | TMS320C3x | Help with compiler on TMS320CV33 (Uni starter kit)

Technical discussions about the TI C3x DSPs (including the C31, C32 and C33 DSPs).

  

Post a new Thread

Help with compiler on TMS320CV33 (Uni starter kit) - davo40 - Jul 26 16:54:23 2006



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.



(You need to be a member of c3x -- send a blank email to c3x-subscribe@yahoogroups.com )

RE: Help with compiler on TMS320CV33 (Uni starter kit) - r - Jul 27 9:28:50 2006

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...@yahoogroups.com [mailto:c...@yahoogroups.com] On Behalf Of davo40
Sent: Wednesday, July 26, 2006 11:19 AM
To: c...@yahoogroups.com
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.



(You need to be a member of c3x -- send a blank email to c3x-subscribe@yahoogroups.com )

Re: Help with compiler on TMS320CV33 (Uni starter kit) - Keith Larson - Jul 30 20:55:37 2006

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=20

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...@yahoogroups.com <mailto:c3x%40yahoogroups.com> 
> [mailto:c...@yahoogroups.com <mailto:c3x%40yahoogroups.com>] On Behalf 
> Of davo40
> Sent: Wednesday, July 26, 2006 11:19 AM
> To: c...@yahoogroups.com <mailto:c3x%40yahoogroups.com>
> 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.



(You need to be a member of c3x -- send a blank email to c3x-subscribe@yahoogroups.com )