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.

MSP430F5529 RAM extension

Other Parts Discussed in Thread: MSP430F5529

hello,

We are facing memory issues  in msp430F5529. We are using 6 months full version of CCS6. At present the memory status is --

text: 92824 bytes

data: 9706 bytes

Memory(RAM and Flash) of MSP430f5529 is about to finish as clearly visible in attached pictures. We tried hard to optimize our code but it doesn't effect much.

Can anyone suggest some techniques to enhance MSP memory, so that we can include various other codes with this code.

Thanks!!

                 

  • ABHINAV SAXENA1 said:
    Can anyone suggest some techniques to enhance MSP memory, so that we can include various other codes with this code.

    I think what you're asking is how to reduce memory usage of your existing code.

    You have a couple of options. If you are not using the USB interface, then you can also use that 2K of RAM. You just need to map it in your linker command file.

    Also, make sure that you aren't using library calls that use a lot of RAM. Things like printf() should be avoided.

  • hello sir,

     Thanks for your reply, Can you please elaborate on how to use that 2k of additional RAM and Steps to map it in our linker command file.

    Thanks!!

  • ABHINAV SAXENA1 said:
    Can you please elaborate on how to use that 2k of additional RAM and Steps to map it in our linker command file.

    No. It appears you are using CCS, which I don't. Check your documentation on how to modify the linker .cmd file to map the RAM as available to your application. You can also search this forum. I am pretty sure you'll find something.

  • IIRC, the USB ram is directly beneath the ‘real’ ram.
    In the linker file, the start address and size of the ram is specified. Lower the start address and increase the size by 2k. If the USB ram has its own declaration there, remove it.

    That should do.

**Attention** This is a public forum