DSPRelated.com
Forums

void DSPF_sp_fftSPxSP- Simple Problem

Started by B S July 22, 2011
Hi,

I have one question which may sound stupid but I am really worried.

I have implemented 'Efficient FFT Computation of Real Input' on C6713 DSK. In
the code I have defined one FFT function fron TI DSP Library in the following
way:

void DSPF_sp_fftSPxSP (int, float *, float *, float *, unsigned char *, int,
int, int);

I am not gettting any error or warning on compiling the project. I am able to
run the code and see the FFT amplitude. Today I realized that I don't see void
DSPF_sp_fftSPxSP function any where in my project and still it is giving correct
FFT magnitude which I checked with different frequencies. Then I put a
breakpoint over that function and did single step debugging and got a message
that 'code composer couldn't locate void DSPF_sp_fftSPxSP.asm'.
How it is giving FFT output with out .asm file ? Can you please tell me what is
wrong here ?

Appreciate your help.

-BAS
BAS-

> I have one question which may sound stupid but I am really worried.
>
> I have implemented 'Efficient FFT Computation of Real Input' on C6713 DSK. In
> the code I have defined one FFT function fron TI DSP Library in the following
> way:
>
> void DSPF_sp_fftSPxSP (int, float *, float *, float *, unsigned char *, int,
> int, int);
>
> I am not gettting any error or warning on compiling the project. I am able to
> run the code and see the FFT amplitude. Today I realized that I don't see void
> DSPF_sp_fftSPxSP function any where in my project and still it is giving correct
> FFT magnitude which I checked with different frequencies. Then I put a
> breakpoint over that function and did single step debugging and got a message
> that 'code composer couldn't locate void DSPF_sp_fftSPxSP.asm'.
> How it is giving FFT output with out .asm file ? Can you please tell me what is
> wrong here ?

Everything is Ok. DSPF_sp_fftSPxSP() is located inside the TI 'dsplib' library. Libraries are pre-built object
files, not rebuilt when you you build your project. You've added the library object file to your project, not the
source for the library.

If you want to avoid the debugger message about "no source", then you could locate TI's source for the library and
move the .asm file to your project folder; i.e. make it available, but don't add it to your project. To find the
source search your system for a folder something like ../dsplib/src/.

-Jeff

_____________________________________
B .S.

The function is an executable entry in the library, There will be a header file,
but no source file.

You might be able to locate the source on the T.I. web site.

R. Williams

---------- Original Message -----------
From: B S
To: c...
Sent: Fri, 22 Jul 2011 06:28:45 -0700 (PDT)
Subject: [c6x] void DSPF_sp_fftSPxSP- Simple Problem

> Hi,
>
> I have one question which may sound stupid but I am really worried.
>
> I have implemented 'Efficient FFT Computation of Real Input' on C6713
> DSK. In the code I have defined one FFT function fron TI DSP Library
> in the following way:
>
> void DSPF_sp_fftSPxSP (int, float *, float *, float *, unsigned char *,
> int, int, int);
>
> I am not gettting any error or warning on compiling the project. I am
> able to run the code and see the FFT amplitude. Today I realized that
> I don't see void DSPF_sp_fftSPxSP function any where in my project and
> still it is giving correct FFT magnitude which I checked with
> different frequencies. Then I put a breakpoint over that function and
> did single step debugging and got a message that 'code composer
> couldn't locate void DSPF_sp_fftSPxSP.asm'.
>
> How it is giving FFT output with out .asm file ? Can you please tell
> me what is wrong here ?
>
> Appreciate your help.
>
> -BAS
------- End of Original Message -------

_____________________________________
Jeff, Richard,

Thanks for your explanation.

-BAS

________________________________
From: Richard Williams
To: B S ; c...
Sent: Sat, July 23, 2011 2:56:54 AM
Subject: Re: [c6x] void DSPF_sp_fftSPxSP- Simple Problem

B .S.

The function is an executable entry in the library, There will be a header file,
but no source file.

You might be able to locate the source on the T.I. web site.

R. Williams

---------- Original Message -----------
From: B S
To: c...
Sent: Fri, 22 Jul 2011 06:28:45 -0700 (PDT)
Subject: [c6x] void DSPF_sp_fftSPxSP- Simple Problem

> Hi,
>
> I have one question which may sound stupid but I am really worried.
>
> I have implemented 'Efficient FFT Computation of Real Input' on C6713
> DSK. In the code I have defined one FFT function fron TI DSP Library
> in the following way:
>
> void DSPF_sp_fftSPxSP (int, float *, float *, float *, unsigned char *,
> int, int, int);
>
> I am not gettting any error or warning on compiling the project. I am
> able to run the code and see the FFT amplitude. Today I realized that
> I don't see void DSPF_sp_fftSPxSP function any where in my project and
> still it is giving correct FFT magnitude which I checked with
> different frequencies. Then I put a breakpoint over that function and
> did single step debugging and got a message that 'code composer
> couldn't locate void DSPF_sp_fftSPxSP.asm'.
>
> How it is giving FFT output with out .asm file ? Can you please tell
> me what is wrong here ?
>
> Appreciate your help.
>
> -BAS
------- End of Original Message -------