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/MSP430G2452: Compilatioin is succeful, but .out file loading failde

Part Number: MSP430G2452
Other Parts Discussed in Thread: MSP-FLASHER

Tool/software: Code Composer Studio

Hallo Code Composer Forum,

maybe this thread should be moved to the MSP430 forum. Here is my problem:

In the Applicatrion Note SLAA422A (Digital Addressable Lighting Interface (DALI) Implementation Using MSP430 Value LineMicrocontrollers, www.ti.com/.../slaa422a.pdf) is an example how to make a DALI Receiver with the MSP430 launchpad and the included MSP430G2452 mcu.

So I added in the file 'dali_demo:hw.h' 

#define G2xx2_LAUNCHPAD

and compiled it. The compilation was succesful. But I am not able to start dubugging. A pop-up Widow with the message File xyz.out:a data verifiction error occured appears. In the console is written:

MSP430: File Loader: Verification failed: Values at address 0x0000000000001000 do not match Please verify target memory and memory map.
MSP430: GEL: File: W:\MSP430-Projekte\DALI-Empfaenger\Release\DALI-Empfaenger.out: a data verification error occurred, file load failed.


This address appears in the linker file lnk_msp430g2452.cmd:

INFOD                   : origin = 0x1000, length = 0x0040

And INFOD is used in two source code files:

dali_infod_default.c

#elif defined (__TI_COMPILER_VERSION__)
    #pragma DATA_SECTION(Default_Constants_infoD, ".infoD")

dali_infod_default.asm

.sect   ".infoD"

Maybe the length of the memory area labeld by INFOD is too short. But why was the building succesful? My experience with linker file is not very big. I am not sure if I can increase the INFOD area and decrease the other ones.

I choose TI_txt as an output format and tested it with the MSP-flasher and the command line (MSP430Flasher.exe -n 430G2xx2 -w dali.txt -v) and this worked. Now I am going to find a way how to test it.

But I am interested why Code Composer does not want to load the file in the MSP430.

Thanks for Your help.

Best Regards,

Guenther Beulen