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/MSP430F5438A: Not able to program Information Memory on Command Line

Part Number: MSP430F5438A
Other Parts Discussed in Thread: UNIFLASH,

Tool/software: Code Composer Studio

Hello Team,

We are trying to create a batch file to program the information memory of MSP430F5438A on command line. Using UNIFLASH, we generated the batch file and using it for programming the Information Memory Area. 

However, using command batch file does not program the Information Memory but using UNIFLASH we are able to program the Information Memory.

If there something extra needs to be done to be able to program the Information Memory using command line?

  • Hi Ashish,

    Ashish Mishra1 said:
    but using UNIFLASH we are able to program the Information Memory.

    I assume you are using the UniFlash CLI.

    Did you try generating and using the standalone command line tool? Does that work?

    Thanks

    ki

  • I generated a package using the UNIFLASH GUI for standalone command line and was using the batch file generate by it. That didnt work for me.

  • That is odd. Flashing manually via the UniFlash GUI works fine but then generating the package from the GUI (after the successful flashing) and using that package does not work. Can you provide the settings file from the generated package?

  • Following is the setting that I'm using for same.

    {"TI MSP430 USB1/MSP430":{"MSP430DownloadOptions":"By Address Range (specify below)","MSP430EraseStartAddress":"0x1800","MSP430EraseEndAddress":"0x187F"}}

  • Thanks. I assume you are putting everything into INFOD.

    I created a standalone page with the same exact settings and ran it from the command-line. However, INFOD memory is programmed correctly.

    How are you confirming that INFOD is not being programmed? Are you looking at memory address 0x1800 via CCS or UniFlash GUI?

  • Hello Ki,

    I found my mistake, I was overwriting the information in Info D memory section in my operation software, due to which I was not able to see the information that I have flashed using the command line script.

    Similar on the line, I have a question regarding the INFO A memory: Is it possible to program this memory area as it requires locking and unlocking of memory area as I have not found how to supply the password on command line to lock and unlock this memory section?

    Thanks,

    Ashish

  • Ashish Mishra1 said:
    I found my mistake, I was overwriting the information in Info D memory section in my operation software, due to which I was not able to see the information that I have flashed using the command line script.

    Glad to hear you found the root cause of the issue.

    Ashish Mishra1 said:
    Similar on the line, I have a question regarding the INFO A memory: Is it possible to program this memory area as it requires locking and unlocking of memory area as I have not found how to supply the password on command line to lock and unlock this memory section?

    I suggest starting a new thread in the MSP forum. The experts there can help you best.

    Thanks

    ki