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.
Tool/software: TI C/C++ Compiler
Hello All
one question.
I use TMS320F2837D for development.
And I have array which is bigger than 0x1000.
So I edit the linker command file like
USBbuffer : >> RAMGS8|RAMGS9 // every RAM block is 0x1000
In the .cpp file I have made declaration
#pragma DATA_SECTION("USBbuffer")
uint8_t g_aui8Saved_Frames[66 ][64]; // array size is 0x1080
But I get errror
program will not fit into available memory. run placement with alignment/blocking fails for section "USBbuffer" size 0x1080 page 0. Available memory ranges:
So The question is
Is there some possibility to split large array which is larger then largest RAM block to several RAM blocks, so that one part array will be allocated in one RAM block, second in second RAM block.
Thank you
Best regards
Andrii Shevchuk
You need to combine those adjacent memory ranges into one large memory range, as was done in this forum post.
Thanks and regards,
-George