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/MSP430F5659: MSPBOOT code memory problem

Part Number: MSP430F5659


Tool/software: Code Composer Studio

Hello 

I'm modifying MSPBoot code.

I was success to communicate between msp430f5659 and another MCU.

I generated app code include CRC.

And, I wrote CRC in code memory(0x8000).

The result was successful. I can see CRC value in Diassembly like below.

But, the CRC value in 0x8000 was deleted after msp430 reset.

I think code memory must retain value and run app code after mcu reset.

Is it wrong?

Thank you.

Regards, Youngjun

  • Hi Youngjun,

    You're correct that the CRC should be retained through a device reset. When you say it was deleted, what value are you seeing at the 0x8000 location?

    I also see that the rest of the values above 0x8000 are empty. Typically, this is where your application is stored. Are you sure that everything is being populated in memory correctly?

    Finally, can you provide some more information about how you're using MSPBoot:

    • What communication method are you using?
    • Can you provide your linker command file you're using for the MSP430F5659?
    • How are you resetting the device?
    • Are you sure the CRC is correct?

    Best regards,

    Caleb Overbay

  • Thank you for your reply.
    I'm using spi and my board reseting by WDTCTL = 0xDEAD.
    Also my CRC is not correct in my code.

    When i upload perfect image(correct crc and code), the application code run well.
    Thanks Caleb Overbay.

    Best regards,
    Youngjun

**Attention** This is a public forum