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.

MSP430F5247: File Loader: Verification failed: Values at address 0x019AA do not match Please verify target memory and memory map.

Part Number: MSP430F5247
Other Parts Discussed in Thread: UNIFLASH, MSP430F5529

Hi,

I working to re-program MSP430F5247 by using MSP FET EMULATOR on address 0x199A to 0x19AD.

I would like to modify one of the byte then re-flash, but getting error. Please help to advise and below are the details:

the original byte data dump out is (in HEX):

:020000040000FA
:13199A0054453632383439323033027E135415124241303E
:00000001FF

Below are the command and message:

C:\ti\uniflash_4.0>dslite.bat -c MSP430F5247.ccxml -f -v crop_199ATO19AD.hex
Executing the following command:
> "C:\ti\uniflash_4.0\deskdb\content\TICloudAgent\win\ccs_base\DebugServer\bin\DSLite" flash -c MSP430F5247.ccxml -f -v crop_199ATO19AD.hex

info: MSP430: There were 19 bytes written.
info: MSP430: Program verification successful for crop_199ATO19AD.hex

the new byte data to write is (in HEX):

:020000040000FA
:13199A0054453632383439323033027E135415124141303F
:00000001FF

Below are the command and error message:

C:\ti\uniflash_4.0>dslite.bat -c MSP430F5247.ccxml -f -v crop_199ATO19AD_REVA.hex
Executing the following command:
> "C:\ti\uniflash_4.0\deskdb\content\TICloudAgent\win\ccs_base\DebugServer\bin\DSLite" flash -c MSP430F5247.ccxml -f -v crop_199ATO19AD_REVA.hex

error: MSP430: File Loader: Verification failed: Values at address 0x019AA do not match Please verify target memory and memory map.
Failed: File: crop_199ATO19AD_REVA.hex: a data verification error occurred, file load failed.

  • Hi,

    I also try in MSP430Flasher.exe. below is the error.

  • Hi,

    we're looking into your problem and come back to you as soon as possible.

    Best regards

    Peter

  • Hi Sir,

    Do you have any update?

    Thanks. 

  • Hi SJ,

    the location that you would like to program resides on the protected information flash memory. you might need to unlock this section and erase before writing it. could you please share the .ccxml that you saved from the UniFlash? we can check the settings you have there.

  • Hi,

    Thanks for reply.

    Please show to me how to unlock the protected information flash memory and erase commande.

    I'm attached the ccmxl file created by using code composer studio 10.1.0MSP430F5247.zip

    <?xml version="1.0" encoding="UTF-8" standalone="no"?>
    <configurations XML_version="1.2" id="configurations_0">
    <configuration XML_version="1.2" id="TI MSP430 USB1_0">
    <instance XML_version="1.2" desc="TI MSP430 USB1_0" href="connections/TIMSP430-USB.xml" id="TI MSP430 USB1_0" xml="TIMSP430-USB.xml" xmlpath="connections"/>
    <connection XML_version="1.2" id="TI MSP430 USB1_0">
    <instance XML_version="1.2" href="drivers/msp430_emu.xml" id="drivers" xml="msp430_emu.xml" xmlpath="drivers"/>
    <platform XML_version="1.2" id="platform_0">
    <instance XML_version="1.2" desc="MSP430F5247_0" href="devices/MSP430F5247.xml" id="MSP430F5247_0" xml="MSP430F5247.xml" xmlpath="devices"/>
    </platform>
    </connection>
    </configuration>
    </configurations>

  • Hi SJ,

    under UniFlash you can setup the erase execution under "Settings & Utilities" Tab

    Sorry I was mistaken, it is not under .ccxml but: uniflash_windows\user_files\settings\generated.ufsettings

    The setup from the GUI shall be reflected on this file: generated.ufsettings

    Could you please try using this erase function and see if the byte is now programmed correctly ?

  • Hi,

    I not able to view the picture your are sharing above.

    I have try using GUI and select "setting & Utilities" > "Erase and download necessary segments only (Differential Download)" but also not working.

    I am working on auto program, so I need command line / batch instead of using GUI.

  • Hi SJ,

    I apologized, seems the screenshot was gone from my post before. Can you try the second bullet from your screenshot "Erase main and information memory" and see what happened?

    Once it is tested, we can get the new batch file with the correct setting and you can run the command line again.

  • Hi,

    I have tried second, fourth and fifth bullets but also having same error as showed below picture.

    Only success when selected 3rd bullet "Erase main, information and protected information memory". Can you provide me command line by using uniflash dslite or MSP430flasher?

    By the way, after selected  3rd bullet and successful load program, I found out there are alot address missmatch after compare with original dump hex. 

    Can you have a look attachment. Compare.zip

  • Hi SJ,
    thank you for your confirmation. I need to forward your finding to my colleague. I am taking care the programming UniFlash for the bootloader mode, not JTAG, so I need further detailed on the JTAG side.

  • Hi,

    If possible I just would like to overwrite 0x199A to 0x19AD, somthing command like erase segment or erase address only Hex mention.

    I prefer not to erase whole information and protected memory, i found above bullet selection will erase all values. 

    Thanks. 

  • Hi,

    Well I'm able to load and overwrite for the protected memory, but same time this also erase main and information memory.

    Is that possible to provide me batch command that only erase selected address 0x199A to 0x19AD mention in HEX, something like erase segment for follwo with HEX file.

    Thanks. 

  • HI Sir,

    Any Update?

    Thanks. 

  • Hi SJ,

    thanks for the update. based on your requirement, you can choose the "By address range" and enter the start- and end-address

    afterwards, you can generate package with the new batch file on the "Standalone Command Line" tab

  • HI,

    Where to select "By address range"? In my GUI, i couldn't found this selection.

  • Hi SJ,

    I have installed the newer version of 6.1.0.2819

    You can download the newest version under: https://www.ti.com/tool/download/UNIFLASH

  • Hi,

    I have download 6.1.0.2819.

    And I do try select "By address range",  then click on "Load image" but still fail you can see on below.

    Please also provide me sample full command line so i can try. I need solve this urgently!!

  • Hi SJ,

    thanks for the update. I forwarded the case to my colleague who owns the component. Please accept some time for them to identify and debug the problem.

  • Hi,

    Thanks. My intention is not to erase others address out of the address range I'm going to replace.

    Hope to get you fedback soon, I need this solution urgently. 

    Thanks. 

  • Hi SJ,

    The info memory area you are trying to program is within the locked flash memory segment INFOA. To be able to erase or program it, it needs to be unlocked first.

    In order to do that, you can either:

    1. Use MSP430Flasher command line with the option -u to unlock the locked flash memory INFOA for writing and -w followed by the file you are trying to program into flash.

    2. Use Uniflash with the setting "Erase main, information and protected information memory" and load your HEX file using the GUI. If you'd like to use the Standalone command line, set the erase settings to the one above and follow the instructions in Uniflash: 

    Once you unzip the package, you can run dslite.bat with the option -l followed by the settings file, -c followed by the ccxml file and -f followed by your hex file.

    dslite.bat -l user_files\settings\generated.ufsettings -c user_files\configs\MSP430F5529.ccxml -f user_files\images\Firmware.txt

    the settings file and the ccxml file can be found inside the uniflash_windows package.

    Please let us know if you need any further assistance.

    thanks and best regards,

    Majdouline Najdini

**Attention** This is a public forum