Part Number: TMS320F28379D
Other Parts Discussed in Thread: C2000WARE
Tool/software:
Hello,
I was following the example of using the rfft from the following location: C:\ti\c2000\C2000Ware_5_02_00_00\libraries\dsp\FPU\c28\examples\fft\2837x_rfft
This worked just fine and I was able to start a new project and implement the fft in my project as I needed it. I then wanted to increase the fft to a 1024point fft from the default given 256point in the example. So to do this I changed the FFT_STAGES from 8 to 10 and all of my array sizes accordingly. When I compiled and linked I got the following error that the program would not fit into the available memory:

So I decided to go into the linker cmd file and give the .ebss and .econst sections more of the memory by giving it the GSRAM9:

This allowed everything to compile and build. However, when I run it I was not getting any data as I expected. From debugging the running program I found that none of my global variables pointing to specific addresses instantiated before the main function were initialized correctly but all set to 0 as seen in the following code snippit and watch expression window:

I started playing with the linker file and thought there might be an issue with how i was trying to increase the memory for these sections or with the GSRAM being used so I took the LSRAM from the .text section and used that as follows:

This seemed to fix the issue and everything worked.
Making further changes, this configuration in the linker command file also works where the .ebss used the LSRAM but .econst uses the GSRAM:

BUT if I switch the .ebss to use the GSRAM and the .econst to use the LSRAM then it no longer works and my global variables are all 0.
So I am wondering if you could help me explain what is actually going on here and if I am just doing something glaringly obviously wrong?
Best regards,
-Mike