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.

Again: data verification error occurred

Other Parts Discussed in Thread: MSP430F1222, MSP430F1232

 

Here is my configuration:

1.Latest Code composer 5.3.0.00090

2. MPS-FET430UIF

3. My board with msp430F1222

A very simple program: (only to illustrate problem, not work at all)

#include <msp430.h>

/*
* main.c
*/
int main(void) {
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer

return 0;
}

#pragma vector = PORT2_VECTOR
__interrupt void port_vect(void)
{
while(1);
}

When try to upload on the target board and debugging, the error message appear. If change #pragma_vector to something else (PORT1_VECTOR, NMI_VECTOR and so) - no problems.

I check lnk_msp430f1222.cmd and all include files and can't see any strange.The processor type is correct in configuration. This error occurs only if I try to use PORT2_VECTOR !?

 

 

 

 

 

  • Hi, I am having exactly the same problem with the MSP430F1232. Have you found a solution meanwhile?

    BR,

    Klaus

  • What are the vectors (form 0xFFE0 to 0xFFFF) that CSC attempted to write? (You should be able to find out by telling the linker to generate an extra TI.txt file or INTEL.hex file.)

    What were actually written? (You should be able to find out by using other tools to read the contents of 0xFFE0 to 0xFFFF.)

    What was the address that CSC fails to verify?

    -- OCY

  • Here from the .txt file (I can load it with a Flash tool and it works):

    @ffe4
    28 E5 5E E7
    @ffea
    60 E8
    @fff2
    68 E8
    @fffe
    22 E8
    q

    I guess you are suggesting to read the data in the MSP430 flash after a CCS write attempt. How would I do this? Can I use the flash tool?

    Thanks

    Klaus

  • Klaus Seiberts said:
    I guess you are suggesting to read the data in the MSP430 flash after a CCS write attempt. How would I do this? Can I use the flash tool?

    Yes, to read the data in the MSP430 flash after a CCS write attempt use the Elprotronic FET-Pro430 tool and select the READ/COPY device action, which will then display the Flash Memory Data which you can save to a text file.

    Can you then post the contents of all vectors from 0xFFE0 to 0xFFFF.

    Note that since CCS appears to abort the flash programming after the first verification failure at address 0xFFEA, I would expect 0xFFF2 - 0xFFF3 and 0xFFFE - 0xFFFF to be blank (all 0xFFs).

**Attention** This is a public forum