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.

MSP430: Loading complete. There were 5376 (code) and 30 (data) bytes written to FLASH/FRAM. The expected RAM usage is 1698 (uninitialized data + stack) bytes.

Other Parts Discussed in Thread: MSP430G2553

Hi,

Can you explain me why the following message comes out?

MSP430: Loading complete. There were 5376 (code) and 30 (data) bytes written to FLASH/FRAM. The expected RAM usage is 1698 (uninitialized data + stack) bytes.

I am using MSP430G2553. Is there any error? How can I solve this problem.

Thanks.

  • The message itself does not always indicate an error; it just informs you how large your program is.

    However, the G2553 has 512 bytes of RAM, so in this case, there indeed will be a problem. You have to reduce the amount of uninitialized data used by your program.

  • Clemens Ladisch said:
    The message itself does not always indicate an error; it just informs you how large your program is.

    However, the G2553 has 512 bytes of RAM, so in this case, there indeed will be a problem.

    The message "MSP430: Loading complete." about the expected RAM usage reported in the CCS console is incorrect - see CCS Shows way to much expected ram usage in console window after build

    The work-around is look at the RAM usage in the linker map file, or using the CCS Memory Allocation view. The screen shot of the CCS Memory Allocation view shows there isn't a problem, as only only 136 bytes out of the 512 bytes of RAM in the MSP430G2553 are used.

**Attention** This is a public forum