DSPRelated.com
Forums

ADSP-21160-EZ-KIT Lite: getting started

Started by Jack Galanda May 23, 2001
Hallo!
I am trying to get started with my new
ADSP-21160-EZ-KIT Lite.
I have tried to create a new project file (the example
project primex.dbj in the User Guide), including
"def21160.h" in the Primex.c file, and ezlab21160.ldf,
ezlab21160_hdr.doj, hhezl_alib.dlb in the project.
But when I try to build the project this is the error
message I see: -------------------

"C:\Programmi\Analog Devices\VisualDSP\cc21k" -c
.\Primex.c -g -21160 -o .\debug\Primex.doj
"C:\Programmi\Analog Devices\VisualDSP\cc21k.exe"
"C:\Programmi\Analog
Devices\VisualDSP\EzKit21160\etc\ezlab21160_hdr.doj"
.\debug\Primex.doj -flags-link "C:\Programmi\Analog
Devices\VisualDSP\EzKit21160\lib\hhezl_alib.dlb" -T
"C:\Programmi\Analog
Devices\VisualDSP\EzKit21160\etc\ezlab21160.ldf"
-21160 -L .\debug -o .\debug\primex.dxe
[Error E4300] Demo License error: total Program
Memory size cannot be more than 21K word for
ADSP-21160
[Error E1539] The memory layout specified in linker
description file is invalid
Linker finished with 2 error(s) 0 warning(s)
cc21k: Fatal Error: Link failed
Tool failed with exit/exception code: 1.
Build was unsuccessful.),

------------------- What's the problem ?
Thanks in advance!

______________________________________________________________________




Hi

The VDSP++ spftware for the ADSP-21160 EZ_KIT is limited in terms of the amount
of program code memory that you are allowed to use (as well as the target board
type!) I think they allow only half of the program
code memory space to be used. Unfortunately, they included .LDF files which
specify more program code memory than they allow for, probably an oversight on
their part. This can be easily fixed by opening the
project .LDF file and decreasing the amount of memory used by the seg_pmco
segment until it compiles. As far as I am aware, all of the demo programs that
they provide will compile with the reduced seg_pmco
segment size.

Cheers,
Clifford

Jack Galanda wrote:

> Hallo!
> I am trying to get started with my new
> ADSP-21160-EZ-KIT Lite.
> I have tried to create a new project file (the example
> project primex.dbj in the User Guide), including
> "def21160.h" in the Primex.c file, and ezlab21160.ldf,
> ezlab21160_hdr.doj, hhezl_alib.dlb in the project.
> But when I try to build the project this is the error
> message I see:
>
> -------------------
>
> "C:\Programmi\Analog Devices\VisualDSP\cc21k" -c
> .\Primex.c -g -21160 -o .\debug\Primex.doj
> "C:\Programmi\Analog Devices\VisualDSP\cc21k.exe"
> "C:\Programmi\Analog
> Devices\VisualDSP\EzKit21160\etc\ezlab21160_hdr.doj"
> .\debug\Primex.doj -flags-link "C:\Programmi\Analog
> Devices\VisualDSP\EzKit21160\lib\hhezl_alib.dlb" -T
> "C:\Programmi\Analog
> Devices\VisualDSP\EzKit21160\etc\ezlab21160.ldf"
> -21160 -L .\debug -o .\debug\primex.dxe
> [Error E4300] Demo License error: total Program
> Memory size cannot be more than 21K word for
> ADSP-21160
> [Error E1539] The memory layout specified in linker
> description file is invalid
> Linker finished with 2 error(s) 0 warning(s)
> cc21k: Fatal Error: Link failed
> Tool failed with exit/exception code: 1.
> Build was unsuccessful.),
>
> -------------------
>
> What's the problem ?
> Thanks in advance!
>
> ______________________________________________________________________
>
> Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you want
your answer to be distributed to the entire group.
>
> _____________________________________
> About this discussion group:
>
> To Join: Send an email to
>
> To Post: Send an email to
>
> To Leave: Send an email to
>
> Archives: http://groups.yahoo.com/group/adsp
>
> Other Groups: http://www.dsprelated.com/groups.php3 > ">http://docs.yahoo.com/info/terms/


VCard
Clifford van Dyk <>

Design Engineer
Peralex Electronic Development

Peralex House
5 Dreyersdal Road
Bergvliet
Cape Town
Western Cape
7945
South Africa
Fax: +27-21-7123879
Home: +27-21-7152716
Work: +27-21-7120203