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.

MSP430FR6047: shifting part of LEARAM Memory to RAM

Part Number: MSP430FR6047

We have modified linker file, to modify memory range for LEARAM to 3KB size (default 4KB size) and memory range for RAM to 5KB size (default 4KB size). But after memory range Allocations, MSP430FR6047 MCU was resetting. Please help us to get resolved from this issue.

  • Hi Guravaiah,

    Did you modify these by changing the values in lnk_msp430fr6047.cmd?

    Are you sure that you have reserved enough space for LEARAM? In the USSSWLib template example, the default LEARAM utilization is 69% of the default 4K size, meaning that reducing the LEARAM size by 25% (from 4K to 3K) would put the program very close to the maximum. Code composer studio has a tool for viewing memory allocation by navigating to view -> memory allocation. The information here might help you resolve your issue.

    Are you sure that nothing else has changed in your code to cause the reset? Many of our other users have made similar changes without issues.

  • Yes, I have modified in the lnk_msp430fr6047.cmd file. Issue was not resolved.

  • Have you checked to make sure that you reserved enough space for LEARAM? Generally, modifying some of the code in that .cmd file is all that is required to change the memory allocation correctly, so I am wondering if low LEARAM space is the problem.

**Attention** This is a public forum