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.

ccs3.1



sir, im doing project in ccs3.1 in dskc6713 processor. i have written code for background subtraction of an image. At first when i executed i didnt get any error. but now while building program im getting an error: can't allocate .far, size 00010980 (page 0) in IRAM (avail:00010000).
>>   error: errors in input - ./Debug/sample.out not built

so, how can i remove this error...can you please help me. Thank you.

  • The error is saying that there is not enough memory available in IRAM to allocate the .far section, which is the section created by the compiler for variables declared with the "far" keyword.

    To avoid the error, make sure that the .far section is allocated to a memory region with more memory(by modifying the linker command file) or see if it is possible to reduce the size of your .far section by reducing the number of far variables.