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.
I am trying to build the MSP-EXP430F5438_User_Experience for CCE and so far this user's experience is less than optimal. I am using a freshly downloaded CCE Version: CCE v3.1 Build: 3.2.4.3.8 and a freshly downloaded slac227c.zip. I am following the directions in slau263a.pdf chapter 4. I right-click on the project and select "Build Project" and the files compile error-free but I get the following error message:
"MSP-EXP430F5438_User_Experience.out"
<Linking>
undefined first referenced
symbol in file
--------- ----------------
TB0CCR0 ./UserExperienceDemo/UserExperience.obj
>> Compilation failure
TB0CCR1 ./UserExperienceDemo/UserExperience.obj
TB0CCR4 ./UserExperienceDemo/UserExperience.obj
TB0CCTL1 ./UserExperienceDemo/UserExperience.obj
TB0CCTL4 ./UserExperienceDemo/UserExperience.obj
TB0CTL ./UserExperienceDemo/UserExperience.obj
TB0IV ./UserExperienceDemo/UserExperience.obj
TB0R ./UserExperienceDemo/UserExperience.obj
UCA1BRW_H ./MSP-EXP430F5438 HAL/hal_usb.obj
UCA1BRW_L ./MSP-EXP430F5438 HAL/hal_usb.obj
UCA1CTLW0_H ./MSP-EXP430F5438 HAL/hal_usb.obj
UCA1CTLW0_L ./MSP-EXP430F5438 HAL/hal_usb.obj
UCA1ICTL_H ./MSP-EXP430F5438 HAL/hal_usb.obj
UCA1ICTL_L ./MSP-EXP430F5438 HAL/hal_usb.obj
UCB2BRW_H ./MSP-EXP430F5438 HAL/hal_lcd.obj
UCB2BRW_L ./MSP-EXP430F5438 HAL/hal_lcd.obj
UCB2CTLW0_H ./MSP-EXP430F5438 HAL/hal_lcd.obj
UCB2CTLW0_L ./MSP-EXP430F5438 HAL/hal_lcd.obj
UCB2ICTL_H ./MSP-EXP430F5438 HAL/hal_lcd.obj
error: unresolved symbols remain
error: errors encountered during linking; "MSP-EXP430F5438_User_Experience.out"
not built
C:\Program Files\Texas Instruments\CC Essentials v3.1\utils\gmake\gmake: *** [MSP-EXP430F5438_User_Experience.out] Error 1
C:\Program Files\Texas Instruments\CC Essentials v3.1\utils\gmake\gmake: Target `all' not remade because of errors.
Build complete for project MSP-EXP430F5438_User_Experience
I have not modified either the compiler or the project. What is the problem? TIA!
Hey there,
There is problem that we recently discovered where the new release of CCE has register naming convention for 5xx that does not support older CCE versions.
However, the temporary workaround is
1. In your project, deleted lnk_msp430f5438.cmd
2. Goto Project --> Properties
3. Select TI Build Settings.
4. Change the Device Variant from F5438 to F5437 for now. Click OK.
5. Go back into TI Build Settings and change the Device Variant back from F5437 to F5438.
That should do the trick.
William
I had the same problem as Jim. Did what William suggested; it worked well and cleared up the symbol errors. But here's an error that comes up now:
<Linking>
fatal error: file "C:/Program Files/Texas Instruments/CC Essentials
v3.1/tools/compiler/MSP430/lib/rts430x.lib<boot.obj>" specifies small data
memory model, which is not compatible with large data memory model specified
in a previous file or on the command line
>> Compilation failure
C:\Program Files\Texas Instruments\CC Essentials v3.1\utils\gmake\gmake: *** [MSP-EXP430F5438_User_Experience.out] Error 1
C:\Program Files\Texas Instruments\CC Essentials v3.1\utils\gmake\gmake: Target `all' not remade because of errors.
Build complete for project MSP-EXP430F5438_User_Experience
- Payton
Looks like switching the Device variant changed the runtime library too.
1. Go back into Project --> Properties
2. Click TI Build Settings
3. Pull down Runtime Support Library. Select rts430xl.lib
If you are creating a new project, you don't have to worry about it.
However, if you are using an existing 5xx project that you had created, you may get this error. You will just need to follow the procedures in this post to fix it.
Regards,
William
**Attention** This is a public forum