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/MSP430I2020: Verification failure at 0xC000 when programming uC

Part Number: MSP430I2020
Other Parts Discussed in Thread: MSP-FET

Tool/software: Code Composer Studio

Hello,

I am using a TI-MSP430i2020 surface mount soldered onto a TSSOP-28 breakout board and I'm trying to use code composer and the MSP-FETFlash to program a basic sample BlankLED program onto the board and I keep running into the following errors:

MSP430: File Loader: Verification failed: Values at address 0xC000 do not match Please verify target memory and memory map.
MSP430: GEL: File: C:\Users\Mackenzie\workspace_v7\test\Debug\test.out: a data verification error occurred, file load failed.

I have not been able to program this microcontroller yet, but have programmed others on breakout boards and soldered to PCBs using the same setup. I am able to disconnect and reconnect the target microcontroller while I am in debug mode and am able to look at the values of everything in memory, but whenever I try to change a value or reprogram the microcontroller I cannot program it. I have the 47kOhm resistor going to Vcc and a 2.2nF capacitor going to ground on the input to the reset/SBWTDIO line. 

Any help would be massively appreciated, this is my first experience with the MSP430 family I'm unsure what's going wrong.

  • I am also getting an error in the debug that says "no source avaible for 0xfffe", which should be the reset vector.
  • Hello Johanesen,
    Can you try your debugging by reducing cap value on RESET pin. You can first try this by removing cap and see if it works perfectly. If it doesn't work, Please share your programming connector connections.

    Regards,
    Vikas Chola
  • When I remove the capacitor the error changes and I see the error: 

    MSP430: Trouble Writing Memory Block at 0xc000 on Page 0 of Length 0x26: Could not erase device memory
    MSP430: File Loader: Verification failed: Target failed to write 0xC000
    MSP430: GEL: File: C:\Users\Mackenzie\workspace_v7\test\Debug\test.out: Load failed.

    My current connections on the board are:

    MSP_FET             MSP430I2020

    TDO/TDI                RST/SBWTDIO
    VCC_TOOL          VCC
    TCK                        TEST/SBWTCK
    GND                       DVSS

    I have a 47k resistor running between the TDO/TDI line and VCC, .1uF and 10uF capactors running VCC to ground, and the capacitor that attached TDO/TDI to ground has been removed.

  • Hello Johanesen,
    As per your description you are using Tool power supply for running the code . Your device is getting detected and CCS trying to write it with your program. Your connection looks ok :

    MSP_FET MSP430I2020

    TDO/TDI( Pin no 1) RST/SBWTDIO
    VCC_TOOL (Pin no 2) VCC
    TCK (Pin no 7) TEST/SBWTCK
    GND (Pin no 9) DVSS

    Hope you don't have any cap on TEST/SBWTCK and RST/SBWTDIO. try to reduce connection wire length from MSP-FET to Board. How you have made connections for below signals at MSP430i202x:

    AVSS
    ROSC
    DVSS
    VCC
    VCORE

    have you tried it on single board or multiple board?


    regards,
    Vikas Chola
  • Hello Vikas,

    I do not have any caps on TEST/SBWTCK and RST/SBWTDIO. I reduced my wiring from the MSP-FET to about 3 inches on the TEST/SBWTCK and RST/SBWTDIO connections.

    The connections are like this on my board for those pins:

    AVSS - gnd
    ROSC - gnd
    DVSS - gnd
    VCC - 3.3V
    VCORE - no connection.

    I have tried this on one board prior, with the exact same error message.

    Regards,

    Mackenzie

**Attention** This is a public forum