Other Parts Discussed in Thread: MSP430FR6822,
Tool/software: Code Composer Studio
Hello, we need to get more free program memory in our project. Unfortunately we cannot use a processor with bigger memory. Do you have any easy tips how to increase available memory for a program? One of our ideas is to move some functions to infoA/B/C/D segments. I tried it - I found a function smaller than the info block. I wrote:
#pragma CODE_SECTION(myFunction, ".infoD") void myFunction(void) {.....
I also changed in cmd file this line (only this line):
infoD (NOLOAD) : {} > INFOD
to this:
.infoD : {} > INFOD
I can build the program without any errors/warnings. When I run my program I can see in the memory browser that the function was written into the infoD block. However when the program is reaching the function, the MCU is getting frozen. Do you know how to make it working? Second option is to use information blocks to hold constants but I would need to unite all information block to one because I need to save an constant array containing 256 16bit values. But I do not know how to use the information memory like a one block. Do you know how to do it?
Thank you in advance.