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.

MSP430F5244: Flash address understanding issue

Part Number: MSP430F5244
Other Parts Discussed in Thread: MSP430F5242, MSP430F5252

I'm presently working on the msp430f5244 and 5242. Flash of both the controllers respectively 64kb and 128kb, but when I created projects for both controllers in code composer studio I found Flash details in link files as follows.

FLASH : origin = 0xA400, length = 0x5B80
FLASH2 : origin = 0x10000,length = 0x1A400     //for msp430f5242

FLASH : origin = 0x4400, length = 0xBB80
FLASH2 : origin = 0x10000,length = 0x14400    //for msp430f5244

As per the datasheet memory bankA address starts at 0x4400 in both the controllers but  why in linker file of the msp430f5242 Flash address is starting from 0xA400. And if I add flash, flash2 lengths I am getting same value for both the controllers, how could it be possible? different size flash memory devices getting same lengths. Please correct me if I'm misunderstanding anything.

  • My command linker files are not showing similar results but rather what is to be expected:

    FLASH : origin = 0x4400, length = 0xBB80
    FLASH2 : origin = 0x10000,length = 0x4400 // from lnk_msp430f5242.cmd

    FLASH : origin = 0x4400, length = 0xBB80
    FLASH2 : origin = 0x10000,length = 0x14400 // from lnk_msp430f5244.cmd

    What version of CCS are you using? Have you modified these .cmd files in the past? At any rate it should be easy to change the msp430f5242.cmd flash allocations accordingly.

    Regards,
    Ryan
  • Thank you Ryan, that was actually my mistake, I created project for msp430f5252. Now it's showing proper flash details.

**Attention** This is a public forum