This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Rfft Example Project in DSPLib 2.40 does not work when built?

Other Parts Discussed in Thread: TMS320C5505

Hi all,

I am having trouble using rfft so I decided to try and compile and run the example project included in the "Examples" folder. It is a legacy project, which I added to my workspace by right clicking on the "C/C++ Projects" pane and clicking import. I then tried to build the project, it builds with two warnings of functions being declared implicitly, and warnings about .sysstack and .stack with default size. However when I then try and load the program onto the TMS320C5505 eZdsp stick it fails and tells me

"One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map."

and obviously hangs when I try and run the program. Interesting the prebuilt binary that is originally included with the project, seemed to work although didn't give me the correct output.

Has anyone got any ideas what I am doing wrong, surely the rfft.cmd file has all of the memory sections correctly defined?

Thanks,

J

  • Try this link for info:

    http://processors.wiki.ti.com/index.php/DSPLIB#Can_the_DSPLIB_implementation_of_FFT_algorithms_support_2048_point_complex_FFTs.3F

    Regards.

     

  • To remove this message: "One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map"

    add this to your lnkx.cmd file:

    .fftcode  >  SARAM2

    you'll see where the simmilar statements are su just put this below them. It allocates the memory for the fft. I don't know why we have to add it manually but it works for me.