how I can do this in the Code Composer Studio or the command that I need to use?
thanks
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.
Hello,
You can assign any particular symbol to the L2 by creating a custom "section" in the source code and mapping that particular "section" to the L2 using the linker command file. Let's take a simple example.
Firstly, you create a custom section name for the symbol you are interested in. Assume that fft is the symbol and you have decided to name the section as my_fft_L2. Using the following command in your souce code, you will be able to create a section name.
# pragma DATA_SECTION( fft, "my_fft_L2");
Now, you need to let the compiler know that this section is to be mapped to L2. It can be done using the linker command file.
SECTIONS
{
my_fft_L2 : > L2SRAM
....
}
Now, the section that you have created will be mapped to L2SRAM.
For more information regarding the pragma directives, please read section 6.8 in the C6000 optimizing compiler user's guide document (http://focus.ti.com/lit/ug/spru187o/spru187o.pdf)
For more information on the linker, please read Chapter 7 in the C6000 Assembly Language Tools User's Guide (http://focus.ti.com/lit/ug/spru186p/spru186p.pdf)
Regards,
Arun
youir youir said:Hello,I create a FFT and I want to save my data signal after the application of my FFT on this signal in the L2 memory of the DSP TMS320C6474
how I can do this in the Code Composer Studio or the command that I need to use?
thanks
What do you mean by "save"? Do you want to save it to your PC's hard drive using CCS? If so, try File -> Data -> Save.
It is not easy to tell what you want to do from your description, so you have received answers that are very different. If Brad has figured out what you meant, then please try the Memory Save command. This can be done at least two ways:
1. Use the GEL_MemorySave() command in a GEL script or from the GEL Toolbar (see the Help->Contents and search for GEL_MemorySave).
2. Use the File->Data->Save command from the CCS menu bar. Note that it may seem intuitively backwards, but you will first specify the file and format to save the data, then the address and length of data to save to that file.