Hi,
I'm trying to put a large data matrix into SDRAM on c6713DSK board. The matrix has a size of 72 (rows) x 512 (cols). The IRAM in this case is definitely insufficient to store such a large matrix, so I search for the way to use SDRAM. Here are the changes I made.
in .cmd file, I defined .extBuffer0 along with other section items
SECTIONS
{
...
.extBuffer0 > SDRAM
...
}
in my main.c file, I use #progma as
#pragma DATA_SECTION( h, ".extBuffer0" );
float h[72][512] = {{...},{...}...};
However, I still receive errors as:
>> error: can't allocate .cinit, size 00024074 (page 0) in IRAM (avail:
0000fdff)
I don't why the error is thrown in my case. Does anyone have the same problem? How did you solve this problem?
I'm sure not other large matrix is defined somewhere else in my code. This is the only one. The CCS version I'm using is 3.1.0
Any help will be highly appreciated!