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.

CODECOMPOSER: Verification failed

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: MSP430FR2475, MSP430FR2476, UNIFLASH

I am using 3 Pin SPY bi wire connection to program my protoype board (MSP430FR2475) over launchpad (MSP430FR2476).

IDE : CCS  Version: 11.1.0.00011

Compiler version: v21.6.0 LTS

I tryed different usb port, different workspace none of them works

I got these errors here below when click on debug;

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

I uploaded build log file, .ccsproject, .cproject, .project, lnk_msp430fr2475.cmd, debug_config, properties into the zip file.

5758.files.zip

I just try to upload an emty project to see whats gonna happen i got same error;

MSP430: Trouble Writing Memory Block at 0x8000 on Page 0 of Length 0x70: Could not erase device memory
MSP430: File Loader: Verification failed: Target failed to write 0x08000
MSP430: GEL: File: C:\Users\pitstop\workspace_v11\empty\Debug\empty.out: Load failed.

  • Hi,

    The SPY wire are including TEST and RESET pins. You might also need to connect the VCC and GND pin. 

    What three pins you are using to connect your board to the Launchpad?

    Best regards,

    Cash Hao

  • Hello Cash;

    Yes i connected VCC and GND pin otherwise it gives an another error "5v is not detected". I check the connection couple of times it is working well. BTW i am using pic kit 4.

    Br...

    Erkan

  • Hi Erkan,

    Okay. Could you try to download an example code to your board? You can find the example code in this link. https://dev.ti.com/tirex/explore/node?node=AFLMWoobNC-EFUiFlvqU9w__IOGqZri__LATEST

    Best regards,

    Cash Hao

  • Hello Cash;

    I tryed one of sample code and got same error;

    MSP430: Trouble Writing Memory Block at 0x8000 on Page 0 of Length 0x70: Could not erase device memory
    MSP430: File Loader: Verification failed: Target failed to write 0x08000
    MSP430: GEL: File: C:\Users\pitstop\workspace_v11\msp430fr267x_RTC_01\Debug\msp430fr267x_RTC_01.out: Load failed.

  • Hi Erkan,

    The example code should not have these errors. Could you try to build the example project on CCS cloud and try again? You can find the CCS cloud link here.

    https://dev.ti.com/tirex/wizard

    Best regards,

    Cash Hao

  • Hello Cash;

    I got same error on CCS Cloud.

    Thanks in advance...

  • Hi Erkan,

    Well. You can try erase the device first. MSP430FRxx MCU can be erase by CCS -> project properties -> debug -> MSP43x options -> on connect, erase user code and unlock the device.

    Best regards,

    Cash Hao

  • I try all erase option one by one none of them works.

    I am able to erase memory over uniflash then try to upload the program but same error again.

    Format my pc, create new different workspace, re select program from program tab not works for me.

    I can able to run the debug mode only if chose debug conf-- program "load symbols only" instead of "load program"

    What is wrong with my MSP430FR2475?

    The strange thing is it was working but suddenly it stops working.

  • Well finally i found the issue, I changed linker as here below;

    -vmspx -O2 --opt_for_speed=0 --use_hw_mpy=F5 --advice:power=all --advice:hw_config=all --define=__MSP430FR2475__ --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 -z -m"AudioControls.map" --heap_size=160 --stack_size=160 --cinit_hold_wdt=on -i"C:/ti/ccs1110/ccs/ccs_base/msp430/include" -i"C:/ti/ccs1110/ccs/ccs_base/msp430/lib/FR2xx" -i"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-msp430_21.6.0.LTS/lib" -i"C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-msp430_21.6.0.LTS/include" --priority --reread_libs --diag_wrap=off --display_error_number --warn_sections --xml_link_info="AudioControls_linkInfo.xml" --use_hw_mpy=F5 --rom_model

    and compiler as here below;

    -vmspx -O2 --opt_for_speed=0 --use_hw_mpy=F5 --include_path="C:/ti/ccs1110/ccs/ccs_base/msp430/include" --include_path="C:/Users/potstip/workspace_v11/AudioControls" --include_path="C:/ti/ccs1110/ccs/tools/compiler/ti-cgt-msp430_21.6.0.LTS/include" --advice:power=all --advice:hw_config=all --define=__MSP430FR2475__ --printf_support=minimal --diag_warning=225 --diag_wrap=off --display_error_number --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40

    I got these from a working code.

    I do not know exactly which part solved the issue