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/MSP430I2040: Reassign hex430 Starting Address

Part Number: MSP430I2040


Tool/software: Code Composer Studio

While using the hex430 utility to create a .s19 file, the starting address is 0x8000 and not the 0xC000 needed for MSP430i2040. Is there a way for hex430 to reassign the start address when generating the .s19 output?

  • Hi Jacob,

    Thanks for posting to E2E and for the additional offline information.

    I suspect that the underlying issue here is that the CCS project settings are for the i2041 device instead of the i2040 device. The reason for that suspicion is based on the fact that the starting address is 0x8000 versus 0xC000. Check out Table 6-16 Memory Organization from the MSP430i2040 datasheet.

    Change that setting and everything should be fine. I would hesitate reassigning the start address for the .text section since the compiler automatically generates that.

    There's also a way to generate a hex output file in the TI-TXT format in CCS. Please see the following thread for more details.

    CCS/MSP430F1121: Generating TI.TXT file with MSP430-GCC in CCSv8

    Regards,

    James

  • Checking the CCS project setting showed that it was set up for i2041 and not i2040. Thanks for the help James! That fixed the issue!

    Thanks,
    Jacob

**Attention** This is a public forum