DSPRelated.com
Forums

FFT on dsPIC33F

Started by redsand October 7, 2008
Hi all,

I am using dsPIC33F from microchips to do FFT. The code for FFT is
downloaded from microchip.com and it's for dsPIC30F(CE018:
http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2620)
I have been trying to modify the project to make it compliance with
dspIC33F but still have several problems. When building the code the errors
said
"Link Error: Could not allocate section '.ydata', because 'ymemory,near'
is not a valid combination on this device
inputsignal_square1khz.o: 
Link Error: Could not allocate section .ydata, size = 1024 bytes,
attributes = data near ymemory 
Link Error: Could not allocate data memory"

If I modified the attribute of the functions, still errors said

"main_FFTExample.o(.text+0x72): In function `main':
C:\...\PIC33_FFT_DSPlib\src\main_FFTExample.c:131: undefined reference to
`FFTComplexIP'
main_FFTExample.o(.text+0x78):C:\...\PIC33_FFT_DSPlib\src\main_FFTExample.c:135:
undefined reference to `BitReverseComplex'
main_FFTExample.o(.text+0x80):C:\...\PIC33_FFT_DSPlib\src\main_FFTExample.c:138:
undefined reference to `SquareMagnitudeCplx'
main_FFTExample.o(.text+0x88):C:\...\PIC33_FFT_DSPlib\src\main_FFTExample.c:142:
undefined reference to `VectorMax'" 

I wonder if somebody used the same code and had similar problems could
offer some help.

Thanks for your help!



The problem had been fixed.

Thanks all!