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.

CCS/MSP430FR2433: Where does the program I flash to my lauchpad save?

Part Number: MSP430FR2433

Tool/software: Code Composer Studio

Hello everyone,

I am working with an msp430fr2433 device and using code composer studio 8.1.0. When I flash my program that I have created to the launchpad device where does this save on the device? My initial thought is that it is saving in the Program FRAM section of memory, can anybody confirm this? Also what is the best way to set the desired location for the program to be saved in a certain memory address on the chip?  Thank you for your time.

Thanks again,

Jared

  • Hi Jared,

    You are correct!  The location is controlled by the project's linker script file.  In your case this would be a file named lnk_msp430fr2433.cmd.

    You can open this file in CCS and if you look at the MEMORY section, you will see the FRAM section starts at memory location 0xC400 and has a length of 0x3B80.

    The linker will take your compiled code and assign it starting at 0xC400.  The programmer then takes the linker output and  programs your code in those locations.   Unless you have a specific reason for locating your code in a different region, I would strongly suggest that you use the default locations.

    If, however, you need to relocate your code, you will have to modify the values in the linker file.

    Refer to the MSP430 compiler/linker guide for details.

  • Thank you Dennis for the quick response!

**Attention** This is a public forum