DSPRelated.com
Forums

Urgent Help Required: CLK_gethtime

Started by itti...@gmail.com June 23, 2008
Hi all,

Platform : DSK6416.
I have some problems regarding usage of BIOS with the header files ,all my source code are compiled with Cygwin and TI C64x, this gives me the obj's which in turn i am linking using the code composer, the problem is that i need to have this working with the BIOS Clk_gethtime, if i use the function clk_gethtime with references of the libraries it says that other references are missing, could anyone suggest me what are the header files that need to be included to get the clk_gethtime working with proper references. How can i start the bios if i cant use the GUI. Which are the header files that need to be associated with it. The documentation regarding the Bios is very poor, it is not quite clear about many aspects, if some one who had worked on BIOS could throw a limelight it will be very helpfull for me .

-BR
-Goku
ittiam,

from your description, it is rather obvious that some libraries are missing (assuming that the
compile operations worked with no errors.)

If you would post the names of the functions that are not found by the linker, we could possibly
assist you in determing which libraries are missing.

BTW:
why are you using cgywin, etc rather than the CCS IDE for the compile/link operations?

R. Williams

---------- Original Message -----------
From: i...@gmail.com
To: c...
Sent: Mon, 23 Jun 2008 14:09:57 -0400
Subject: [c6x] Urgent Help Required: CLK_gethtime

> Hi all,
>
> Platform : DSK6416.
> I have some problems regarding usage of BIOS with the header files ,all my source code are
> compiled with Cygwin and TI C64x, this gives me the obj's which in turn i am linking using
> the code composer, the problem is that i need to have this working with the BIOS
> Clk_gethtime, if i use the function clk_gethtime with references of the libraries it says
> that other references are missing, could anyone suggest me what are the header files that
> need to be included to get the clk_gethtime working with proper references. How can i
> start the bios if i cant use the GUI. Which are the header files that need to be
> associated with it. The documentation regarding the Bios is very poor, it is not quite
> clear about many aspects, if some one who had worked on BIOS could throw a limelight it
> will be very helpfull for me .
>
> -BR
> -Goku
------- End of Original Message -------
Hello Richard,

Since i am benchmarking different applications which are ported from linux,
the linking is done with a makefile which has a huge code base, am using
cygwin and CCS compiler, but not the IDE, target is connected to a different
machine which has the CCS IDE, hence here i cant use the GUI interface, i
dont know how could i use Clk_gethtime without the CCS IDE GUI Bios Start,
could you pls let me know.

Error: _CLK_gethtime undefined symbol.

I could see that Clk_gethtime library is missing , if i add the libraries
like bios.a64 and others , they tend to say that there are many other
symbols which are not defined.

Regards,
Goku

On Tue, Jun 24, 2008 at 2:21 AM, Richard Williams
wrote:

> ittiam,
>
> from your description, it is rather obvious that some libraries are missing
> (assuming that the
> compile operations worked with no errors.)
>
> If you would post the names of the functions that are not found by the
> linker, we could possibly
> assist you in determing which libraries are missing.
>
> BTW:
> why are you using cgywin, etc rather than the CCS IDE for the compile/link
> operations?
>
> R. Williams
> ---------- Original Message -----------
> From: i...@gmail.com
> To: c...
> Sent: Mon, 23 Jun 2008 14:09:57 -0400
> Subject: [c6x] Urgent Help Required: CLK_gethtime
>
> > Hi all,
> >
> > Platform : DSK6416.
> > I have some problems regarding usage of BIOS with the header files ,all
> my source code are
> > compiled with Cygwin and TI C64x, this gives me the obj's which in turn i
> am linking using
> > the code composer, the problem is that i need to have this working with
> the BIOS
> > Clk_gethtime, if i use the function clk_gethtime with references of the
> libraries it says
> > that other references are missing, could anyone suggest me what are the
> header files that
> > need to be included to get the clk_gethtime working with proper
> references. How can i
> > start the bios if i cant use the GUI. Which are the header files that
> need to be
> > associated with it. The documentation regarding the Bios is very poor, it
> is not quite
> > clear about many aspects, if some one who had worked on BIOS could throw
> a limelight it
> > will be very helpfull for me .
> >
> > -BR
> > -Goku
> ------- End of Original Message -------
Goku,

On 6/24/08, Goku wrote:
>
> Hello Richard,
>
> Since i am benchmarking different applications which are ported from linux,
> the linking is done with a makefile which has a huge code base, am using
> cygwin and CCS compiler, but not the IDE, target is connected to a different
> machine which has the CCS IDE, hence here i cant use the GUI interface, i
> dont know how could i use Clk_gethtime without the CCS IDE GUI Bios Start,
> could you pls let me know.
>

I don't know enough about DSP/BIOS to answer your question, but if i had the
problem, I would probably take a very simple BIOS project [on the CCS
machine] and add Clk_gethtime to it to identify the dependencies.

mikedunn

Error: _CLK_gethtime undefined symbol.
>
> I could see that Clk_gethtime library is missing , if i add the libraries
> like bios.a64 and others , they tend to say that there are many other
> symbols which are not defined.
>
> Regards,
> Goku
>
> On Tue, Jun 24, 2008 at 2:21 AM, Richard Williams
> wrote:
>
>> ittiam,
>>
>> from your description, it is rather obvious that some libraries are
>> missing (assuming that the
>> compile operations worked with no errors.)
>>
>> If you would post the names of the functions that are not found by the
>> linker, we could possibly
>> assist you in determing which libraries are missing.
>>
>> BTW:
>> why are you using cgywin, etc rather than the CCS IDE for the compile/link
>> operations?
>>
>> R. Williams
>> ---------- Original Message -----------
>> From: i...@gmail.com
>> To: c...
>> Sent: Mon, 23 Jun 2008 14:09:57 -0400
>> Subject: [c6x] Urgent Help Required: CLK_gethtime
>>
>> > Hi all,
>> >
>> > Platform : DSK6416.
>> > I have some problems regarding usage of BIOS with the header files ,all
>> my source code are
>> > compiled with Cygwin and TI C64x, this gives me the obj's which in turn
>> i am linking using
>> > the code composer, the problem is that i need to have this working with
>> the BIOS
>> > Clk_gethtime, if i use the function clk_gethtime with references of the
>> libraries it says
>> > that other references are missing, could anyone suggest me what are the
>> header files that
>> > need to be included to get the clk_gethtime working with proper
>> references. How can i
>> > start the bios if i cant use the GUI. Which are the header files that
>> need to be
>> > associated with it. The documentation regarding the Bios is very poor,
>> it is not quite
>> > clear about many aspects, if some one who had worked on BIOS could throw
>> a limelight it
>> > will be very helpfull for me .
>> >
>> > -BR
>> > -Goku
>>
>> ------- End of Original Message -------

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
ittiam,

I think the CLK_gethtime requires the Bios for keeping the time element updated.

Therefore, I think that you will need ALL the required libraries.
Just remember that no many how many libraries are available to the linker only those functions,
within the libraries, that are actually called are loaded into the code.

R. Williams

P.S.
Were it me, I would not add all the BIOS overhead to your application.
So rather than using the CLK_gethtime function, a much simpler (and more accurate) method is to have
the source code (initially) clear some output bit, set the bit at the beginning of the code to bench
mark, clear the bit at the end of the code to bench mark.
Then use a logic analyzer, scope or similar tool to monitor that bit.
R.W.

---------- Original Message -----------
From: Goku
To: "Richard Williams"
Cc: c...
Sent: Tue, 24 Jun 2008 10:16:32 +0300
Subject: Re: [c6x] Urgent Help Required: CLK_gethtime

> Hello Richard,
>
> Since i am benchmarking different applications which are ported from linux,
> the linking is done with a makefile which has a huge code base, am using
> cygwin and CCS compiler, but not the IDE, target is connected to a different
> machine which has the CCS IDE, hence here i cant use the GUI interface, i
> dont know how could i use Clk_gethtime without the CCS IDE GUI Bios Start,
> could you pls let me know.
>
> Error: _CLK_gethtime undefined symbol.
>
> I could see that Clk_gethtime library is missing , if i add the libraries
> like bios.a64 and others , they tend to say that there are many other
> symbols which are not defined.
>
> Regards,
> Goku
>
> On Tue, Jun 24, 2008 at 2:21 AM, Richard Williams
> wrote:
>
> > ittiam,
> >
> > from your description, it is rather obvious that some libraries are missing
> > (assuming that the
> > compile operations worked with no errors.)
> >
> > If you would post the names of the functions that are not found by the
> > linker, we could possibly
> > assist you in determing which libraries are missing.
> >
> > BTW:
> > why are you using cgywin, etc rather than the CCS IDE for the compile/link
> > operations?
> >
> > R. Williams
> >
> >
> > ---------- Original Message -----------
> > From: i...@gmail.com
> > To: c...
> > Sent: Mon, 23 Jun 2008 14:09:57 -0400
> > Subject: [c6x] Urgent Help Required: CLK_gethtime
> >
> > > Hi all,
> > >
> > > Platform : DSK6416.
> > > I have some problems regarding usage of BIOS with the header files ,all
> > my source code are
> > > compiled with Cygwin and TI C64x, this gives me the obj's which in turn i
> > am linking using
> > > the code composer, the problem is that i need to have this working with
> > the BIOS
> > > Clk_gethtime, if i use the function clk_gethtime with references of the
> > libraries it says
> > > that other references are missing, could anyone suggest me what are the
> > header files that
> > > need to be included to get the clk_gethtime working with proper
> > references. How can i
> > > start the bios if i cant use the GUI. Which are the header files that
> > need to be
> > > associated with it. The documentation regarding the Bios is very poor, it
> > is not quite
> > > clear about many aspects, if some one who had worked on BIOS could throw
> > a limelight it
> > > will be very helpfull for me .
> > >
> > > -BR
> > > -Goku
> > ------- End of Original Message -------
> >
> >
------- End of Original Message -------
Goku-
> Since i am benchmarking different applications which are ported from linux, the
> linking is done with a makefile which has a huge code base, am using cygwin and CCS
> compiler, but not the IDE, target is connected to a different machine which has the
> CCS IDE, hence here i cant use the GUI interface, i dont know how could i use
> Clk_gethtime without the CCS IDE GUI Bios Start, could you pls let me know.

CLK_gethtime should be in the basic run-time library, rts64xx.lib (not sure of that
correct name, but look for rts64-something).
> Error: _CLK_gethtime undefined symbol.
>
> I could see that Clk_gethtime library is missing , if i add the libraries like
> bios.a64 and others , they tend to say that there are many other symbols which are
> not defined.

bios.a64 sounds to me like an RTDX library... nothing to do with CLK_xx functions.

TI's code-gen tools for Linux are new and not widely used. I would suggest that you
build using standard CCS v3.3 on a Win machine, and test that output code first.
Since you have a "huge" code base, it's a good idea to eliminate any possible build
error, library version, link error, etc.

Think about it this way -- TI didn't have Linux based code-gen tools until recently
(last couple of years). So that means since 1996, when they acquired GoDSP (Code
Composer), they've been pouring manpower and millions into Win code-gen tools, not
Linux. Which one do you think is more reliable and widely used?

-Jeff
> On Tue, Jun 24, 2008 at 2:21 AM, Richard Williams wrote:
>
> ittiam,
>
> from your description, it is rather obvious that some libraries are
> missing (assuming that the
> compile operations worked with no errors.)
>
> If you would post the names of the functions that are not found by the
> linker, we could possibly
> assist you in determing which libraries are missing.
>
> BTW:
> why are you using cgywin, etc rather than the CCS IDE for the
> compile/link operations?
>
> R. Williams
> ---------- Original Message -----------
> From: i...@gmail.com
> To: c...
> Sent: Mon, 23 Jun 2008 14:09:57 -0400
> Subject: [c6x] Urgent Help Required: CLK_gethtime
>
> > Hi all,
> >
> > Platform : DSK6416.
> > I have some problems regarding usage of BIOS with the header files ,all
> my source code are
> > compiled with Cygwin and TI C64x, this gives me the obj's which in turn
> i am linking using
> > the code composer, the problem is that i need to have this working with
> the BIOS
> > Clk_gethtime, if i use the function clk_gethtime with references of the
> libraries it says
> > that other references are missing, could anyone suggest me what are the
> header files that
> > need to be included to get the clk_gethtime working with proper
> references. How can i
> > start the bios if i cant use the GUI. Which are the header files that
> need to be
> > associated with it. The documentation regarding the Bios is very poor,
> it is not quite
> > clear about many aspects, if some one who had worked on BIOS could
> throw a limelight it
> > will be very helpfull for me .
> >
> > -BR
> > -Goku
> ------- End of Original Message -------
>
Hello ,

I have included rts6400.lib, but it is not defined in it, am using CCS 3.3
Version, still getting the same error ," not able to resolve the symbol
definition" .Could you let me know the details pls.

Regards,
Goku
On Tue, Jun 24, 2008 at 5:21 PM, Jeff Brower wrote:

> Goku-
> Since i am benchmarking different applications which are ported from linux,
> the linking is done with a makefile which has a huge code base, am using
> cygwin and CCS compiler, but not the IDE, target is connected to a different
> machine which has the CCS IDE, hence here i cant use the GUI interface, i
> dont know how could i use Clk_gethtime without the CCS IDE GUI Bios Start,
> could you pls let me know.
> CLK_gethtime should be in the basic run-time library, rts64xx.lib (not sure
> of that correct name, but look for rts64-something).
> Error: _CLK_gethtime undefined symbol.
>
> I could see that Clk_gethtime library is missing , if i add the libraries
> like bios.a64 and others , they tend to say that there are many other
> symbols which are not defined.
> bios.a64 sounds to me like an RTDX library... nothing to do with CLK_xx
> functions.
>
> TI's code-gen tools for Linux are new and not widely used. I would suggest
> that you build using standard CCS v3.3 on a Win machine, and test that
> output code first. Since you have a "huge" code base, it's a good idea to
> eliminate any possible build error, library version, link error, etc.
>
> Think about it this way -- TI didn't have Linux based code-gen tools until
> recently (last couple of years). So that means since 1996, when they
> acquired GoDSP (Code Composer), they've been pouring manpower and millions
> into Win code-gen tools, not Linux. Which one do you think is more reliable
> and widely used?
>
> -Jeff
> On Tue, Jun 24, 2008 at 2:21 AM, Richard Williams
> wrote:
>>
>> ittiam,
>>
>> from your description, it is rather obvious that some libraries are
>> missing (assuming that the
>> compile operations worked with no errors.)
>>
>> If you would post the names of the functions that are not found by the
>> linker, we could possibly
>> assist you in determing which libraries are missing.
>>
>> BTW:
>> why are you using cgywin, etc rather than the CCS IDE for the compile/link
>> operations?
>>
>> R. Williams
>> ---------- Original Message -----------
>> From: i...@gmail.com
>> To: c...
>> Sent: Mon, 23 Jun 2008 14:09:57 -0400
>> Subject: [c6x] Urgent Help Required: CLK_gethtime
>>
>> > Hi all,
>> >
>> > Platform : DSK6416.
>> > I have some problems regarding usage of BIOS with the header files ,all
>> my source code are
>> > compiled with Cygwin and TI C64x, this gives me the obj's which in turn
>> i am linking using
>> > the code composer, the problem is that i need to have this working with
>> the BIOS
>> > Clk_gethtime, if i use the function clk_gethtime with references of the
>> libraries it says
>> > that other references are missing, could anyone suggest me what are the
>> header files that
>> > need to be included to get the clk_gethtime working with proper
>> references. How can i
>> > start the bios if i cant use the GUI. Which are the header files that
>> need to be
>> > associated with it. The documentation regarding the Bios is very poor,
>> it is not quite
>> > clear about many aspects, if some one who had worked on BIOS could throw
>> a limelight it
>> > will be very helpfull for me .
>> >
>> > -BR
>> > -Goku
>> ------- End of Original Message -------
Goku,

On 6/24/08, Jeff Brower wrote:
>
> Goku-
> Since i am benchmarking different applications which are ported from linux,
> the linking is done with a makefile which has a huge code base, am using
> cygwin and CCS compiler, but not the IDE, target is connected to a different
> machine which has the CCS IDE, hence here i cant use the GUI interface, i
> dont know how could i use Clk_gethtime without the CCS IDE GUI Bios Start,
> could you pls let me know.
Now that I am paying attention to what you are saying :-)
Do not use the Clk_gethtime BIOS function. All that you really need to do
is:
1. Configure the timer
2. read the timer
This will add minimum impact to your actual code performance.

CLK_gethtime should be in the basic run-time library, rts64xx.lib (not
> sure of that correct name, but look for rts64-something).
This is actually a DSP/BIOS function which means that you have to add BIOS
to use it - a bad idea for this purpose.
>
> Error: _CLK_gethtime undefined symbol.
>
> I could see that Clk_gethtime library is missing , if i add the libraries
> like bios.a64 and others , they tend to say that there are many other
> symbols which are not defined.
> bios.a64 sounds to me like an RTDX library... nothing to do with CLK_xx
> functions.
>
> TI's code-gen tools for Linux are new and not widely used. I would suggest
> that you build using standard CCS v3.3 on a Win machine, and test that
> output code first. Since you have a "huge" code base, it's a good idea to
> eliminate any possible build error, library version, link error, etc.
>
> Think about it this way -- TI didn't have Linux based code-gen tools until
> recently (last couple of years). So that means since 1996, when they
> acquired GoDSP (Code Composer), they've been pouring manpower and millions
> into Win code-gen tools, not Linux. Which one do you think is more reliable
> and widely used?
>

FYI - TI has been shipping Solaris compilers since the beginning of 'DSP
time' and Linux compilers [at least for the c6000] for about 5-6 years
although it hasn't been publicized. I am aware of a couple of very large
companies that use these to build their production products.

mikedunn

-Jeff
> On Tue, Jun 24, 2008 at 2:21 AM, Richard Williams
> wrote:
>>
>> ittiam,
>>
>> from your description, it is rather obvious that some libraries are
>> missing (assuming that the
>> compile operations worked with no errors.)
>>
>> If you would post the names of the functions that are not found by the
>> linker, we could possibly
>> assist you in determing which libraries are missing.
>>
>> BTW:
>> why are you using cgywin, etc rather than the CCS IDE for the compile/link
>> operations?
>>
>> R. Williams
>>
>> ---------- Original Message -----------
>> From: i...@gmail.com
>> To: c...
>> Sent: Mon, 23 Jun 2008 14:09:57 -0400
>> Subject: [c6x] Urgent Help Required: CLK_gethtime
>>
>> > Hi all,
>> >
>> > Platform : DSK6416.
>> > I have some problems regarding usage of BIOS with the header files ,all
>> my source code are
>> > compiled with Cygwin and TI C64x, this gives me the obj's which in turn
>> i am linking using
>> > the code composer, the problem is that i need to have this working with
>> the BIOS
>> > Clk_gethtime, if i use the function clk_gethtime with references of the
>> libraries it says
>> > that other references are missing, could anyone suggest me what are the
>> header files that
>> > need to be included to get the clk_gethtime working with proper
>> references. How can i
>> > start the bios if i cant use the GUI. Which are the header files that
>> need to be
>> > associated with it. The documentation regarding the Bios is very poor,
>> it is not quite
>> > clear about many aspects, if some one who had worked on BIOS could throw
>> a limelight it
>> > will be very helpfull for me .
>> >
>> > -BR
>> > -Goku
>>
>> ------- End of Original Message -------
>>
>>
>

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
Hi All,

Can i configure the timer without the BIOS Support, earlier many people have
told that without the BIOS configured correctly timer cant be started , the
sequence need to be completed before it could be used. Can you confirm pls.

Regards,
Goku

On Tue, Jun 24, 2008 at 6:14 PM, Michael Dunn
wrote:

> Goku,
>
> On 6/24/08, Jeff Brower wrote:
>>
>> Goku-
>> Since i am benchmarking different applications which are ported from
>> linux, the linking is done with a makefile which has a huge code base, am
>> using cygwin and CCS compiler, but not the IDE, target is connected to a
>> different machine which has the CCS IDE, hence here i cant use the GUI
>> interface, i dont know how could i use Clk_gethtime without the CCS IDE GUI
>> Bios Start, could you pls let me know.
> Now that I am paying attention to what you are saying :-)
> Do not use the Clk_gethtime BIOS function. All that you really need to do
> is:
> 1. Configure the timer
> 2. read the timer
> This will add minimum impact to your actual code performance.
>
> CLK_gethtime should be in the basic run-time library, rts64xx.lib (not
>> sure of that correct name, but look for rts64-something).
> This is actually a DSP/BIOS function which means that you have to add BIOS
> to use it - a bad idea for this purpose.
>>
>> Error: _CLK_gethtime undefined symbol.
>>
>> I could see that Clk_gethtime library is missing , if i add the libraries
>> like bios.a64 and others , they tend to say that there are many other
>> symbols which are not defined.
>> bios.a64 sounds to me like an RTDX library... nothing to do with CLK_xx
>> functions.
>>
>> TI's code-gen tools for Linux are new and not widely used. I would
>> suggest that you build using standard CCS v3.3 on a Win machine, and test
>> that output code first. Since you have a "huge" code base, it's a good idea
>> to eliminate any possible build error, library version, link error, etc.
>>
>> Think about it this way -- TI didn't have Linux based code-gen tools until
>> recently (last couple of years). So that means since 1996, when they
>> acquired GoDSP (Code Composer), they've been pouring manpower and millions
>> into Win code-gen tools, not Linux. Which one do you think is more reliable
>> and widely used?
>> FYI - TI has been shipping Solaris compilers since the beginning of 'DSP
> time' and Linux compilers [at least for the c6000] for about 5-6 years
> although it hasn't been publicized. I am aware of a couple of very large
> companies that use these to build their production products.
>
> mikedunn
>
> -Jeff
>> On Tue, Jun 24, 2008 at 2:21 AM, Richard Williams
>> wrote:
>>>
>>> ittiam,
>>>
>>> from your description, it is rather obvious that some libraries are
>>> missing (assuming that the
>>> compile operations worked with no errors.)
>>>
>>> If you would post the names of the functions that are not found by the
>>> linker, we could possibly
>>> assist you in determing which libraries are missing.
>>>
>>> BTW:
>>> why are you using cgywin, etc rather than the CCS IDE for the
>>> compile/link operations?
>>>
>>> R. Williams
>>>
>>>
>>> ---------- Original Message -----------
>>> From: i...@gmail.com
>>> To: c...
>>> Sent: Mon, 23 Jun 2008 14:09:57 -0400
>>> Subject: [c6x] Urgent Help Required: CLK_gethtime
>>>
>>> > Hi all,
>>> >
>>> > Platform : DSK6416.
>>> > I have some problems regarding usage of BIOS with the header files ,all
>>> my source code are
>>> > compiled with Cygwin and TI C64x, this gives me the obj's which in turn
>>> i am linking using
>>> > the code composer, the problem is that i need to have this working with
>>> the BIOS
>>> > Clk_gethtime, if i use the function clk_gethtime with references of the
>>> libraries it says
>>> > that other references are missing, could anyone suggest me what are the
>>> header files that
>>> > need to be included to get the clk_gethtime working with proper
>>> references. How can i
>>> > start the bios if i cant use the GUI. Which are the header files that
>>> need to be
>>> > associated with it. The documentation regarding the Bios is very poor,
>>> it is not quite
>>> > clear about many aspects, if some one who had worked on BIOS could
>>> throw a limelight it
>>> > will be very helpfull for me .
>>> >
>>> > -BR
>>> > -Goku
>>>
>>> ------- End of Original Message -------
>>>
>>>
>> --
> www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
>
Goku,

On 6/24/08, Goku wrote:
>
> Hi All,
>
> Can i configure the timer without the BIOS Support, earlier many people
> have told that without the BIOS configured correctly timer cant be started ,
> the sequence need to be completed before it could be used. Can you confirm
> pls.
Absolutely incorrect. If you are benchmarking 'non-BIOS code' you can access
the timer directly - if you build with BIOS, you are actually adding an
RTOS.

I believe that you can find timer init code in the archives - I don't
remember if there are any examples in CCS. Once you get it running, all that
you need to do is a mem read to get the count.

mikedunn

Regards,
> Goku
>
> On Tue, Jun 24, 2008 at 6:14 PM, Michael Dunn
> wrote:
>
>> Goku,
>>
>> On 6/24/08, Jeff Brower wrote:
>>>
>>> Goku-
>>>
>>>
>>> Since i am benchmarking different applications which are ported from
>>> linux, the linking is done with a makefile which has a huge code base, am
>>> using cygwin and CCS compiler, but not the IDE, target is connected to a
>>> different machine which has the CCS IDE, hence here i cant use the GUI
>>> interface, i dont know how could i use Clk_gethtime without the CCS IDE GUI
>>> Bios Start, could you pls let me know.
>>>
>>>
>> Now that I am paying attention to what you are saying :-)
>> Do not use the Clk_gethtime BIOS function. All that you really need to do
>> is:
>> 1. Configure the timer
>> 2. read the timer
>> This will add minimum impact to your actual code performance.
>>
>> CLK_gethtime should be in the basic run-time library, rts64xx.lib (not
>>> sure of that correct name, but look for rts64-something).
>>>
>>>
>> This is actually a DSP/BIOS function which means that you have to add BIOS
>> to use it - a bad idea for this purpose.
>>>
>>> Error: _CLK_gethtime undefined symbol.
>>>
>>> I could see that Clk_gethtime library is missing , if i add the libraries
>>> like bios.a64 and others , they tend to say that there are many other
>>> symbols which are not defined.
>>>
>>>
>>> bios.a64 sounds to me like an RTDX library... nothing to do with CLK_xx
>>> functions.
>>>
>>> TI's code-gen tools for Linux are new and not widely used. I would
>>> suggest that you build using standard CCS v3.3 on a Win machine, and test
>>> that output code first. Since you have a "huge" code base, it's a good idea
>>> to eliminate any possible build error, library version, link error, etc.
>>>
>>> Think about it this way -- TI didn't have Linux based code-gen tools
>>> until recently (last couple of years). So that means since 1996, when they
>>> acquired GoDSP (Code Composer), they've been pouring manpower and millions
>>> into Win code-gen tools, not Linux. Which one do you think is more reliable
>>> and widely used?
>>> FYI - TI has been shipping Solaris compilers since the beginning of 'DSP
>> time' and Linux compilers [at least for the c6000] for about 5-6 years
>> although it hasn't been publicized. I am aware of a couple of very large
>> companies that use these to build their production products.
>>
>> mikedunn
>>
>> -Jeff
>>>
>>>
>>> On Tue, Jun 24, 2008 at 2:21 AM, Richard Williams <
>>> r...@lewiscounty.com> wrote:
>>>>
>>>> ittiam,
>>>>
>>>> from your description, it is rather obvious that some libraries are
>>>> missing (assuming that the
>>>> compile operations worked with no errors.)
>>>>
>>>> If you would post the names of the functions that are not found by the
>>>> linker, we could possibly
>>>> assist you in determing which libraries are missing.
>>>>
>>>> BTW:
>>>> why are you using cgywin, etc rather than the CCS IDE for the
>>>> compile/link operations?
>>>>
>>>> R. Williams
>>>>
>>>>
>>>> ---------- Original Message -----------
>>>> From: i...@gmail.com
>>>> To: c...
>>>> Sent: Mon, 23 Jun 2008 14:09:57 -0400
>>>> Subject: [c6x] Urgent Help Required: CLK_gethtime
>>>>
>>>> > Hi all,
>>>> >
>>>> > Platform : DSK6416.
>>>> > I have some problems regarding usage of BIOS with the header files
>>>> ,all my source code are
>>>> > compiled with Cygwin and TI C64x, this gives me the obj's which in
>>>> turn i am linking using
>>>> > the code composer, the problem is that i need to have this working
>>>> with the BIOS
>>>> > Clk_gethtime, if i use the function clk_gethtime with references of
>>>> the libraries it says
>>>> > that other references are missing, could anyone suggest me what are
>>>> the header files that
>>>> > need to be included to get the clk_gethtime working with proper
>>>> references. How can i
>>>> > start the bios if i cant use the GUI. Which are the header files that
>>>> need to be
>>>> > associated with it. The documentation regarding the Bios is very poor,
>>>> it is not quite
>>>> > clear about many aspects, if some one who had worked on BIOS could
>>>> throw a limelight it
>>>> > will be very helpfull for me .
>>>> >
>>>> > -BR
>>>> > -Goku
>>>>
>>>> ------- End of Original Message -------
>>>>
>>>>
>>> --
>> www.dsprelated.com/blogs-1/nf/Mike_Dunn.php
>>
--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php