DSPRelated.com
Forums

EZ Lab Command line.

Started by Hanley, Tom June 22, 2001
Hello,
I have been using VDSP++ 1.0 to develop some software to be placed
on an ADSP-21060. Right now I have an older EZ-LAB development kit to test
some routines on, unfortunately, the documentation I have is extremely
limited. The problem I am having is this:

I am trying to build a project with multiple files on the host machine (one
with the card in it). I use g21k to create object files for each of the C
and assembly sources, and that 'seems' to be working fine. However when I
don't seem to be able to link them.

Also, when comiling the assembly files I get an error saying that the
variables have to be declared within a section, however, they are... I have
my variables almost all declared like so:

/************ VARIABLES ******************/
.section/DM seg_dmda;
.var OUTPUT_Register[51]; // set up memory location for the output stream
.section/PM seg_pmda;

It does not seem to have trouble with the #defines, which are declared
outside any section of the program itself.

Is there somewhere I can find documentation on the G21K compiler/linker?
Right now I'm poking pretty blindly at this command line stuff. It's a lot
different than the IDE I have been using on my own machine. I'm getting a
lot of warnings/errors on this host machine, which suprises me since it
builds and simulates fine on my own machine.

Is there a way I can just create the downloadable .21K file on my machine
using the IDE?

Any suggestions?

Thanks in advance :)
Tom Hanley



--- In adsp@y..., "Hanley, Tom" <tom.hanley@l...> wrote:
> Hello,
> I have been using VDSP++ 1.0 to develop some software to be
placed
> on an ADSP-21060. Right now I have an older EZ-LAB development kit
to test
> some routines on, unfortunately, the documentation I have is
extremely
> limited.

Hi Tom,

it is not clear what software you are using - is it VisualDSP
4.1/4.0, or the old DOS g21k utilities (assembler/compiler/linker)?
I am a bit confused because in your listing you divide the memory
segments with the .section command. This command is not supported in
the g21k DOS utilites (instead, one had to use .segment).

Please state the exact version number of the software you are working
with.

Regards,
Andor Bariska