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 TI support,
I am using the TMS320F2837xD device with its RAM_link.cmd file and I am getting the "program will not fit into available memory" error.
When I try to increase the length of RAMLS5 to 0x850 which builds my code, but then code stucks in PLL initialization
Please help me find a solution to my problem. Let me know in case you need any other details.
Thank you!
Hi Sarika,
You cannot change the size of the LS5RAM in the linker command file. As you can see in the device memory map, LS5RAM size is 0x800 and it is followed by D0RAM
You might have used D0RAM for other sections, leading to a conflict.
What you could do is combine LS5RAM with other available RAMs.
Eg: .const : >> LS5RAM | GS0RAM
If this does not work, you can combine consecutive memory regions to form a larger memory region.
Eg :
Regards,
Veena
Thank you, Veena. Combining LS5RAM and GS0RAM resolved my issue.
For my understanding, what is the probability of occurring this issue again? Also, would this change affect GS0RAM memory?
Since you are using GSRAM, I like to highlight that GSRAM is shared between CPU1 and CPU2; make sure CPU2 does not overwrite it.
Regards,
Veena