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.

MSP430F5508: Data verification error

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

Hi, 

I tried to download the example code included with SLAA514.

In this example, the device is set to F5510.

I have several F5508.

So I changed the device setting to F5508 and got the .out file.

And then I download image in the CCS, but it is failed. 

The UniFlash also failed.

I couldn't capture error, but the error is similar to below. I remember that only the address is different.

MSP430: File Loader: Data verification failed at address 0x0000C000 Please verify target memory and memory map.
MSP430: GEL: File: C:\Workspace\MSP\USB_KBD\Debug\USB_KBD.out: a data verification error occurred, file load failed.

Downloading to F5510 was successful. 

However, When the verification option is no verification, downloading is successful.

When the verification is full verification or fast verification, downloading is failed. 

And after launching ccxml, the load symbols loads fine, but the load program doesn't 

  • It seems that the loading code is different with the host. Try to build a new F5508 project and copy the code to the project.

  • Hi, 

    I made a new F5508 project and copy the code to the project. 

    And then I downloaded project to F5508, but it is failed.

    Below is error. 

    MSP430: File Loader: Verification failed: Values at address 0x00000 do not match Please verify target memory and memory map.
    MSP430: GEL: File: C:\Workspace\MSP\USB_Keyboard\Debug\USB_Keyboard.out: a data verification error occurred, file load failed.

    So I made a simple test project (led blinking) and downloaded, It was successful.

  • When I compile the project, warning is occurred. Could this have any effect?

    "..\Src\driverlib\MSP430F5xx_6xx\inc\../deprecated/CCS/msp430f5xx_6xxgeneric.h", line 160: warning #48-D: incompatible redefinition of macro "LPM0" (declared at line 136 of "C:\ti\ccs1040\ccs\ccs_base\msp430\include\msp430f5508.h")
    "..\Src\driverlib\MSP430F5xx_6xx\inc\../deprecated/CCS/msp430f5xx_6xxgeneric.h", line 161: warning #48-D: incompatible redefinition of macro "LPM0_EXIT" (declared at line 137 of "C:\ti\ccs1040\ccs\ccs_base\msp430\include\msp430f5508.h")
    "..\Src\driverlib\MSP430F5xx_6xx\inc\../deprecated/CCS/msp430f5xx_6xxgeneric.h", line 162: warning #48-D: incompatible redefinition of macro "LPM1" (declared at line 138 of "C:\ti\ccs1040\ccs\ccs_base\msp430\include\msp430f5508.h")
    "..\Src\driverlib\MSP430F5xx_6xx\inc\../deprecated/CCS/msp430f5xx_6xxgeneric.h", line 163: warning #48-D: incompatible redefinition of macro "LPM1_EXIT" (declared at line 139 of "C:\ti\ccs1040\ccs\ccs_base\msp430\include\msp430f5508.h")
    "..\Src\driverlib\MSP430F5xx_6xx\inc\../deprecated/CCS/msp430f5xx_6xxgeneric.h", line 164: warning #48-D: incompatible redefinition of macro "LPM2" (declared at line 140 of "C:\ti\ccs1040\ccs\ccs_base\msp430\include\msp430f5508.h")
    "..\Src\driverlib\MSP430F5xx_6xx\inc\../deprecated/CCS/msp430f5xx_6xxgeneric.h", line 165: warning #48-D: incompatible redefinition of macro "LPM2_EXIT" (declared at line 141 of "C:\ti\ccs1040\ccs\ccs_base\msp430\include\msp430f5508.h")
    "..\Src\driverlib\MSP430F5xx_6xx\inc\../deprecated/CCS/msp430f5xx_6xxgeneric.h", line 166: warning #48-D: incompatible redefinition of macro "LPM3" (declared at line 142 of "C:\ti\ccs1040\ccs\ccs_base\msp430\include\msp430f5508.h")
    "..\Src\driverlib\MSP430F5xx_6xx\inc\../deprecated/CCS/msp430f5xx_6xxgeneric.h", line 167: warning #48-D: incompatible redefinition of macro "LPM3_EXIT" (declared at line 143 of "C:\ti\ccs1040\ccs\ccs_base\msp430\include\msp430f5508.h")
    "..\Src\driverlib\MSP430F5xx_6xx\inc\../deprecated/CCS/msp430f5xx_6xxgeneric.h", line 168: warning #48-D: incompatible redefinition of macro "LPM4" (declared at line 144 of "C:\ti\ccs1040\ccs\ccs_base\msp430\include\msp430f5508.h")
    "..\Src\driverlib\MSP430F5xx_6xx\inc\../deprecated/CCS/msp430f5xx_6xxgeneric.h", line 169: warning #48-D: incompatible redefinition of macro "LPM4_EXIT" (declared at line 145 of "C:\ti\ccs1040\ccs\ccs_base\msp430\include\msp430f5508.h")

  • Hi, 

    I solved this problem.

    I missed the warning messages.

    I saw the link below and modified the .cmd file and the download with full verification was successful.

    https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/172473/usb-keyboard-for-msp430f5529---data-verification-failed-at-address-0x00000000

    Thank you.

  • Hi, 

    Thanks for your sharing.

**Attention** This is a public forum