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.

MSP430: File Loader: Verification failed

Other Parts Discussed in Thread: MSP430F6726

Hello Community,

i searched the forum for a failure like this:

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

nothing found.

But i solved the failure by looking through the c-code, the map-file and the memory-browser.

in the Code i found a line with: 

#pragma LOCATION(pruefsumme,0x1804)
#pragma RETAIN(pruefsumme)
const uint16_t pruefsumme = 0x6111;   //checksumm for the code

in the map-file i found:

MEMORY CONFIGURATION

         name       origin              length          used        unused       attr          fill
----------------  --------               ---------         --------        --------         ----        --------

 INFOD         00001800   00000080  00000004  0000007c  RWIX                                 <---- right one with length 4 Bytes


When i connected the Debugger and opened Memory-Browser i found on location 0x1804 a different value.    <-- checked, failure located

i then inserted the value 0x6111 at this location via memory browser and i could load the programm as expected.

I use MSP430f6726 with MSP430FET430UIF, CCS V6.1

i hope this will help others in fixing such a failure.

Perhaps another one has additional information for us.

regards martin

  • Martin Hantke51 said:
    Perhaps another one has additional information for us.

    Under CCS Project Properties -> Debug -> MSP430 Properties the "Erase Options" specifies how CCS erases memory when downloading a program.

    The default for "Erase Options" is "Erase main memory only" which would give the observed error of CCS not attempting to program the information memory.

    If "Erase Options" is changed to "Erase main and information memory" then CCS will program any data in information memory, which should prevent the verification error.

    Note that "Erase and information memory" only programs the non-protected information memory sectors B to D. If you want to program the protected information sector A as well then use the "Erase main, information and and protected information memory" option.

**Attention** This is a public forum