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.

MSP430F2416 - CCS output for extended flash memory range 0x10000-0x19000 (large memory model)

Other Parts Discussed in Thread: MSP430F2416, MSP430F247

Hello:

We are using the extended flash memory of the MSP430F2416 device. Code Composer does not seem to generate the appropriate output for the extended flash memory range 0x10000-0x19000 (large memory model). I believe it only supports 16 bit addresses, because the high bit is clipped from these 17-bit addresses in the generated HEX file. In the past, we only used the MSP430F247 device which doesn't have this extra flash memory, so this issue never came up. Do you know how to generate a HEX file that supports this extended memory range?

Thanks again!

Paul

  • Hi Paul,

    I don't use CCS, but in IAR you can set it up to generate and extended intel-hex file, which covers the extended memory range.  It looks like you can have CCS generate an intel-hex file. Whether or not it generates an extended intel hex file or not I do not know.

    HTH,

    Barry

  • Very good.  Thanks!

  • The TI HEX file format does only support 16 bit addresses.
    But most programming software is capable of using it anyway: the memory blocks are in ascending order, so as soon as you encounter a memory block that has a lower address than the end of the previous, it goes into the next higher 64k range.

    So unless you have gaps in the hex data that are larger than 64k, all is well.

**Attention** This is a public forum