DSPRelated.com
Forums

Library problem for sine8_LED program

Started by timu...@gmail.com October 1, 2009
Hi all,
i am new about digital signal processors and i started to work with Rulp Chassaing's book. I have a TMS320C6416 DSK.I tried to implement the Example 1.1(Sine8_LED) in the book, but i couldn't manage to run the program. The problem is some needed files are absent and i can't find them. For example, i couldn't find the Vectors_poll.asm. On the other hand, in the book it is said that it can be found in the folder c:\CCStudio_v3.1\myprojects\support. I am using the CCStudio_v3.3 and there isn't such a file under myprojects folder. Also,in the book, it is mentioned that the board support library(dsk6416bsl.lib) and c6416dsk.cmd files must be added.I coudn't find them,too. Where can I find these files? Is there a standart about these libraries? Should i add them for every project? In the Chassaing's book, nearly all projects are implemented by c6713. Is it enough to change the libraries for c6416 to run the programs?

_____________________________________
timurduzen,

A few clarifying questions.

1) Have you went to TI.COM and searched for the library files?
2) Have you went to TI.COM and searched for the vector_* files?
3) Have you went to SpecturmDigital.com and searched for the apropriate board support library (BSL) for the 6416?

What do you mean by:
"Is it enough to change the libraries for c6416 to run the programs?"

If you mean just re-name the libraries, the answer is no.
Again, some time spent (it is not always obvious how to find specific files) in the Spectrum Digital and TI web sites will find all the standard library files.

BTW:
Do you have the full CCS 3.3 or the 'crippled' version from Specturm Digital?
The versions from Spectrum Digital are only good for one or two specific processors.
The full version from TI (which is a lot more expensive) has the ability to download the I/O and processor files (usually .dll files) for each specific lineage of the TI processors.

A google search for things like "dsk6416bsl.lib" will find a numerous web pages on the libraries you are missing and other file details.
A goodle search for things like "vectors_poll.asm" will find several examples of those files and discussion about their contents.

R. Williams



---------- Original Message -----------
From: t...@gmail.com
To: c...
Sent: Thu, 01 Oct 2009 04:39:15 -0400
Subject: [c6x] Library problem for sine8_LED program

>
>
> Hi all,
> i am new about digital signal processors and i started to work with Rulp Chassaing's book. I have a TMS320C6416 DSK.I tried to implement the Example 1.1(Sine8_LED) in the book, but i couldn't manage to run the program. The problem is some needed files are absent and i can't find them. For example, i couldn't find the Vectors_poll.asm. On the other hand, in the book it is said that it can be found in the folder c:\CCStudio_v3.1\myprojects\support. I am using the CCStudio_v3.3 and there isn't such a file under myprojects folder. Also,in the book, it is mentioned that the board support library(dsk6416bsl.lib) and c6416dsk.cmd files must be added.I coudn't find them,too. Where can I find these files? Is there a standart about these libraries? Should i add them for every project? In the Chassaing's book, nearly all projects are implemented by c6713. Is it enough to change the libraries for c6416 to run the programs?
------- End of Original Message -------
Hi again,
Thanks a lot for your helpful answer. When i search this library on the web(TI website,Spectrum Digital,google), only documents and books exist and i haven't found any downloadable link yet.I keep on searching. I am using the CCS_v3.3 Platinium full version. This version is not board-specific, it can be used for any type of processor i think. In Chassing's book, it is said that there is a "support" file under "Myproject" folder and the "linker command file" is fetched from this file. This "support" file is also absent in my CCS version. I
When I ask that if it is enough to change the libraries for c6416 to run the programs, i mean that does it need any additional source code for C6416. Because, C6713 is a floating point processor and C6416 is fixed point. Is it enough to change c6713's needed files with c6414's to run the programs without any change in the source code? Is it more difficult to work with C6416 than C6713?

_____________________________________
Timurduzen,

Here are some of the basic files/libraries/APIs for the c64x series of DSPs

SPRC090.zip
--chip support libraries for 6000 series

SPRC122.zip
--the RTS libraries

SPRC653.pdf
--API reference for the RTS libraries

SPRU401J.pdf
--API reference for the chip support libraries for the 6000 series

SPRC542.zip
--a virtual floating point engine

SPRC092.zip
--optimized libraries

Note:
1) Given that the original libraries are floating point and the replacement libraries are fixed point, there might not be functions of the same name and functionality in both libraries.
I would suggest checking the SPRU401J.pdf file for compatible functions.
2) The above .pdf and .zip files can be found by searching for them on the Ti.com site.
3) The 'support' directory information might be found in a 'examples' directory.
There is an option during the install of CCS3.3 to skip or install the support/examples information. This information can also be downloaded from the the TI and/or Spectrum Digital web sites.

BTW:
please do not delete prior post text.
I work with a LOT of threads.
My fading memory needs the reminders of what has already been discussed.

R. Williams

---------- Original Message -----------
From: t...@gmail.com
To: c...
Sent: Fri, 02 Oct 2009 08:29:14 -0400
Subject: [c6x] Re: Library problem for sine8_LED program

>
>
> Hi again,
> Thanks a lot for your helpful answer. When i search this library on the web(TI website,Spectrum Digital,google), only documents and books exist and i haven't found any downloadable link yet.I keep on searching. I am using the CCS_v3.3 Platinium full version. This version is not board-specific, it can be used for any type of processor i think. In Chassing's book, it is said that there is a "support" file under "Myproject" folder and the "linker command file" is fetched from this file. This "support" file is also absent in my CCS version. I
> When I ask that if it is enough to change the libraries for c6416 to run the programs, i mean that does it need any additional source code for C6416. Because, C6713 is a floating point processor and C6416 is fixed point. Is it enough to change c6713's needed files with c6414's to run the programs without any change in the source code? Is it more difficult to work with C6416 than C6713?
timur,

Why not contact the seller of the product and request a replacement CD?

R. Williams

---------- Original Message -----------
From: timur duzenli
To: Richard Williams
Cc: c...
Sent: Fri, 2 Oct 2009 22:43:39 +0300
Subject: Re: [c6x] Re: Library problem for sine8_LED program

> I think, the main problem is absence of "C6000 CCS 3.1 DSK Tools CD"
> which comes with the C6416 DSK.After I purchased the DSK, this cd has
> been broken on the way and i thought that CCS_v3.3 would be enough
> for usage of DSK. However, the bsl libraries and other support files
> of DSK were in this cd, i think. If there is anybody who has this cd,
> is it possible to send a download link for C6416 BSL files?
>
> On Fri, Oct 2, 2009 at 9:28 PM, Richard Williams wrote:
> > Timurduzen,
> >
> > Here are some of the basic files/libraries/APIs for the c64x series of DSPs
> >
> > SPRC090.zip
> > --chip support libraries for 6000 series
> >
> > SPRC122.zip
> > --the RTS libraries
> >
> > SPRC653.pdf
> > --API reference for the RTS libraries
> >
> > SPRU401J.pdf
> > --API reference for the chip support libraries for the 6000 series
> >
> > SPRC542.zip
> > --a virtual floating point engine
> >
> > SPRC092.zip
> > --optimized libraries
> >
> > Note:
> > 1) Given that the original libraries are floating point and the replacement
> > libraries are fixed point, there might not be functions of the same name and
> > functionality in both libraries.
> > I would suggest checking the SPRU401J.pdf file for compatible functions.
> > 2) The above .pdf and .zip files can be found by searching for them on the
> > Ti.com site.
> > 3) The 'support' directory information might be found in a 'examples'
> > directory.
> > There is an option during the install of CCS3.3 to skip or install the
> > support/examples information. This information can also be downloaded from
> > the the TI and/or Spectrum Digital web sites.
> >
> >
> >
> >
> > BTW:
> > please do not delete prior post text.
> > I work with a LOT of threads.
> > My fading memory needs the reminders of what has already been discussed.
> >
> > R. Williams
> >
> > ---------- Original Message -----------
> > From: t...@gmail.com
> > To: c...
> > Sent: Fri, 02 Oct 2009 08:29:14 -0400
> > Subject: [c6x] Re: Library problem for sine8_LED program
> >
> >>
> >>
> >> Hi again,
> >> Thanks a lot for your helpful answer. When i search this library on the
> >> web(TI website,Spectrum Digital,google), only documents and books exist and
> >> i haven't found any downloadable link yet.I keep on searching. I am using
> >> the CCS_v3.3 Platinium full version. This version is not board-specific, it
> >> can be used for any type of processor i think. In Chassing's book, it is
> >> said that there is a "support" file under "Myproject" folder and the "linker
> >> command file" is fetched from this file. This "support" file is also absent
> >> in my CCS version. I
> >> When I ask that if it is enough to change the libraries for c6416 to run
> >> the programs, i mean that does it need any additional source code for C6416.
> >> Because, C6713 is a floating point processor and C6416 is fixed point. Is it
> >> enough to change c6713's needed files with c6414's to run the programs
> >> without any change in the source code? Is it more difficult to work with
> >> C6416 than C6713?
> >
> >
------- End of Original Message -------
I think, the main problem is absence of "C6000 CCS 3.1 DSK Tools CD"
which comes with the C6416 DSK.After I purchased the DSK, this cd has
been broken on the way and i thought that CCS_v3.3 would be enough
for usage of DSK. However, the bsl libraries and other support files
of DSK were in this cd, i think. If there is anybody who has this cd,
is it possible to send a download link for C6416 BSL files?

On Fri, Oct 2, 2009 at 9:28 PM, Richard Williams wrote:
> Timurduzen,
>
> Here are some of the basic files/libraries/APIs for the c64x series of DSPs
>
> SPRC090.zip
> --chip support libraries for 6000 series
>
> SPRC122.zip
> --the RTS libraries
>
> SPRC653.pdf
> --API reference for the RTS libraries
>
> SPRU401J.pdf
> --API reference for the chip support libraries for the 6000 series
>
> SPRC542.zip
> --a virtual floating point engine
>
> SPRC092.zip
> --optimized libraries
>
> Note:
> 1) Given that the original libraries are floating point and the replacement
> libraries are fixed point, there might not be functions of the same name and
> functionality in both libraries.
> I would suggest checking the SPRU401J.pdf file for compatible functions.
> 2) The above .pdf and .zip files can be found by searching for them on the
> Ti.com site.
> 3) The 'support' directory information might be found in a 'examples'
> directory.
> There is an option during the install of CCS3.3 to skip or install the
> support/examples information. This information can also be downloaded from
> the the TI and/or Spectrum Digital web sites.
> BTW:
> please do not delete prior post text.
> I work with a LOT of threads.
> My fading memory needs the reminders of what has already been discussed.
>
> R. Williams
>
> ---------- Original Message -----------
> From: t...@gmail.com
> To: c...
> Sent: Fri, 02 Oct 2009 08:29:14 -0400
> Subject: [c6x] Re: Library problem for sine8_LED program
>
>> Hi again,
>> Thanks a lot for your helpful answer. When i search this library on the
>> web(TI website,Spectrum Digital,google), only documents and books exist and
>> i haven't found any downloadable link yet.I keep on searching. I am using
>> the CCS_v3.3 Platinium full version. This version is not board-specific, it
>> can be used for any type of processor i think. In Chassing's book, it is
>> said that there is a "support" file under "Myproject" folder and the "linker
>> command file" is fetched from this file. This "support" file is also absent
>> in my CCS version. I
>> When I ask that if it is enough to change the libraries for c6416 to run
>> the programs, i mean that does it need any additional source code for C6416.
>> Because, C6713 is a floating point processor and C6416 is fixed point. Is it
>> enough to change c6713's needed files with c6414's to run the programs
>> without any change in the source code? Is it more difficult to work with
>> C6416 than C6713?

_____________________________________
I talked to a sales representative from Spectrum Digital and he said
that i should re-purchase a replacement cd or he will try to arrange
an exchange if i have a new dsk kit.I gave him the serial number of
dsk kit and he will check if such an exchange is available. On the
other hand, I live in Turkey and based on my experience, I can say
that it will take very long time for me to receive this cd. So, I
asked if there is anybody has this cd. I will use the dsk for my MSc
thesis and i am already late for beginning to project.

On Sat, Oct 3, 2009 at 12:00 AM, Richard Williams
wrote:
> timur,
>
> Why not contact the seller of the product and request a replacement CD?
>
> R. Williams
>
> ---------- Original Message -----------
> From: timur duzenli
> To: Richard Williams
> Cc: c...
> Sent: Fri, 2 Oct 2009 22:43:39 +0300
> Subject: Re: [c6x] Re: Library problem for sine8_LED program
>
>> I think, the main problem is absence of "C6000 CCS 3.1 DSK Tools CD"
>> which comes with the C6416 DSK.After I purchased the DSK, this cd has
>> been broken on the way and i thought that CCS_v3.3 would be enough
>> for usage of DSK. However, the bsl libraries and other support files
>> of DSK were in this cd, i think. If there is anybody who has this cd,
>> is it possible to send a download link for C6416 BSL files?
>>
>> On Fri, Oct 2, 2009 at 9:28 PM, Richard Williams
>> wrote:
>> > Timurduzen,
>> >
>> > Here are some of the basic files/libraries/APIs for the c64x series of
>> > DSPs
>> >
>> > SPRC090.zip
>> > --chip support libraries for 6000 series
>> >
>> > SPRC122.zip
>> > --the RTS libraries
>> >
>> > SPRC653.pdf
>> > --API reference for the RTS libraries
>> >
>> > SPRU401J.pdf
>> > --API reference for the chip support libraries for the 6000 series
>> >
>> > SPRC542.zip
>> > --a virtual floating point engine
>> >
>> > SPRC092.zip
>> > --optimized libraries
>> >
>> > Note:
>> > 1) Given that the original libraries are floating point and the
>> > replacement
>> > libraries are fixed point, there might not be functions of the same name
>> > and
>> > functionality in both libraries.
>> > I would suggest checking the SPRU401J.pdf file for compatible functions.
>> > 2) The above .pdf and .zip files can be found by searching for them on
>> > the
>> > Ti.com site.
>> > 3) The 'support' directory information might be found in a 'examples'
>> > directory.
>> > There is an option during the install of CCS3.3 to skip or install the
>> > support/examples information. This information can also be downloaded
>> > from
>> > the the TI and/or Spectrum Digital web sites.
>> >
>> >
>> >
>> >
>> > BTW:
>> > please do not delete prior post text.
>> > I work with a LOT of threads.
>> > My fading memory needs the reminders of what has already been discussed.
>> >
>> > R. Williams
>> >
>> > ---------- Original Message -----------
>> > From: t...@gmail.com
>> > To: c...
>> > Sent: Fri, 02 Oct 2009 08:29:14 -0400
>> > Subject: [c6x] Re: Library problem for sine8_LED program
>> >
>> >>
>> >>
>> >> Hi again,
>> >> Thanks a lot for your helpful answer. When i search this library on the
>> >> web(TI website,Spectrum Digital,google), only documents and books exist
>> >> and
>> >> i haven't found any downloadable link yet.I keep on searching. I am
>> >> using
>> >> the CCS_v3.3 Platinium full version. This version is not
>> >> board-specific, it
>> >> can be used for any type of processor i think. In Chassing's book, it
>> >> is
>> >> said that there is a "support" file under "Myproject" folder and the
>> >> "linker
>> >> command file" is fetched from this file. This "support" file is also
>> >> absent
>> >> in my CCS version. I
>> >> When I ask that if it is enough to change the libraries for c6416 to
>> >> run
>> >> the programs, i mean that does it need any additional source code for
>> >> C6416.
>> >> Because, C6713 is a floating point processor and C6416 is fixed point.
>> >> Is it
>> >> enough to change c6713's needed files with c6414's to run the programs
>> >> without any change in the source code? Is it more difficult to work
>> >> with
>> >> C6416 than C6713?
>> >
>> >
> ------- End of Original Message -------
>

_____________________________________
timurduzenli,

On Fri, Oct 2, 2009 at 7:29 AM, wrote:
>
> Hi again,
> Thanks a lot for your helpful answer. When i search this library on the web(TI website,Spectrum Digital,google), only documents and books exist and i haven't found any downloadable link yet.I keep on searching. I am using the CCS_v3.3 Platinium full version. This version is not board-specific, it can be used for any type of processor i think. In Chassing's book, it is said that there is a "support" file under "Myproject" folder and the "linker command file" is fetched from this file. This "support" file is also absent in my CCS version. I

I think there is some confusion wrt the 'source' of the files. Just
to clarify, I have never read Chassing's book.
1. Normally CCS does not install anything in the myprojects directory.
2. Normally SD does not install anything in the myprojects directory.
[based on my limited SD experience].
3. I am speculating that the items in the myprojects directory that
are referenced in the book, are installed there by the CD that
accompanies the book.
> When I ask that if it is enough to change the libraries for c6416 to run the programs, i mean that does it need any additional source code for C6416. Because, C6713 is a floating point processor and C6416 is fixed point. Is it enough to change c6713's needed files with c6414's to run the programs without any change in the source code? Is it more difficult to work with C6416 than C6713?

If you are using C programs and you ONLY refer to 'fixed point'
vs 'floating point', the difference is transparent when change the rts
lib from float to fixed [actual execution time will be slower on the
c6416].
There are also hardware differences between the C6416 DSK and C6713
DSK that could affect program porting.

mikedunn
--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php

_____________________________________
Timur,

A correction.
When I typed SPRC653 I actually meant SPRU653

My trick fingers got me again :-(

Sorry for the confusion.

R. Williams

---------- Forwarded Message -----------
From: "Richard Williams"
To: t...@gmail.com,c...
Sent: Fri, 2 Oct 2009 11:28:05 -0700
Subject: Re: [c6x] Re: Library problem for sine8_LED program

Timurduzen,

Here are some of the basic files/libraries/APIs for the c64x series of DSPs

SPRC090.zip
--chip support libraries for 6000 series

SPRC122.zip
--the RTS libraries

SPRC653.pdf
--API reference for the RTS libraries

SPRU401J.pdf
--API reference for the chip support libraries for the 6000 series

SPRC542.zip
--a virtual floating point engine

SPRC092.zip
--optimized libraries

Note:
1) Given that the original libraries are floating point and the replacement libraries are fixed point, there might not be functions of the same name and functionality in both libraries.
I would suggest checking the SPRU401J.pdf file for compatible functions.
2) The above .pdf and .zip files can be found by searching for them on the Ti.com site.
3) The 'support' directory information might be found in a 'examples' directory.
There is an option during the install of CCS3.3 to skip or install the support/examples information. This information can also be downloaded from the the TI and/or Spectrum Digital web sites.

BTW:
please do not delete prior post text.
I work with a LOT of threads.
My fading memory needs the reminders of what has already been discussed.

R. Williams

---------- Original Message -----------
From: t...@gmail.com
To: c...
Sent: Fri, 02 Oct 2009 08:29:14 -0400
Subject: [c6x] Re: Library problem for sine8_LED program

>
>
> Hi again,
> Thanks a lot for your helpful answer. When i search this library on the web(TI website,Spectrum Digital,google), only documents and books exist and i haven't found any downloadable link yet.I keep on searching. I am using the CCS_v3.3 Platinium full version. This version is not board-specific, it can be used for any type of processor i think. In Chassing's book, it is said that there is a "support" file under "Myproject" folder and the "linker command file" is fetched from this file. This "support" file is also absent in my CCS version. I
> When I ask that if it is enough to change the libraries for c6416 to run the programs, i mean that does it need any additional source code for C6416. Because, C6713 is a floating point processor and C6416 is fixed point. Is it enough to change c6713's needed files with c6414's to run the programs without any change in the source code? Is it more difficult to work with C6416 than C6713?

------- End of Forwarded Message -------