Hi
I am trying to build the MSP-EXP430F5438_User_Experience for CCS v4 and a freshly downloaded slac227g.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 am gettiing the following error message:
Severity and Description Path Resource Location Creation Time Id cannot find file MSP-EXP430F5438_User_Experience line 43 1291549200774 2107creating output section ".infoB" without a SECTIONS specification MSP-EXP430F5438_User_Experience line 0 1291549200774 2111 expecting MSP-EXP430F5438_User_Experience line 43 1291549200774 2108cannot find file "$" MSP-EXP430F5438_User_Experience line 0 1291549200774 2109errors encountered during linking; "MSP-EXP430F5438UserExperience.out" not built MSP-EXP430F5438_User_Experience line 0 1291549200808 2257expecting filename, option, MEMORY, or SECTIONS instead of "(" MSP-EXP430F5438_User_Experience line 0 1291549200774 2110output file "MSP-EXP430F5438UserExperience.out" exceeds code size limit MSP-EXP430F5438_User_Experience line 0 1291549200808 2256unresolved symbol ADC12CTL0, first referenced in ./MSP-EXP430F5438_HAL/hal_adc.obj MSP-EXP430F5438_User_Experience line 0 1291549200775 2123unresolved symbol ADC12CTL1, first referenced in ./MSP-EXP430F5438_HAL/hal_adc.obj MSP-EXP430F5438_User_Experience line 0 1291549200775 2124unresolved symbol ADC12CTL2, first referenced in ./MSP-EXP430F5438_HAL/hal_adc.obj MSP-EXP430F5438_User_Experience line 0 1291549200775 2125unresolved symbol ADC12IE, first referenced in ./MSP-EXP430F5438_HAL/hal_adc.obj MSP-EXP430F5438_User_Experience line 0 1291549200775 2126unresolved symbol ADC12IFG, first referenced in ./MSP-EXP430F5438_HAL/hal_adc.obj MSP-EXP430F5438_User_Experience line 0 1291549200775 2127unresolved symbol ADC12IV, first referenced in ./MSP-EXP430F5438_HAL/hal_adc.obj MSP-EXP430F5438_User_Experience line 0 1291549200775 2128unresolved symbol ADC12MCTL0, first referenced in ./MSP-EXP430F5438_HAL/hal_adc.obj MSP-EXP430F5438_User_Experience line 0 1291549200776 2129unresolved symbol ADC12MCTL1, first referenced in ./MSP-EXP430F5438_HAL/hal_adc.obj MSP-EXP430F5438_User_Experience line 0 1291549200776 2130unresolved symbol ADC12MCTL2, first referenced in ./MSP-EXP430F5438_HAL/hal_adc.obj MSP-EXP430F5438_User_Experience line 0 1291549200776 2131unresolved symbol ADC12MEM0, first referenced in ./MSP-EXP430F5438_HAL/hal_adc.obj MSP-EXP430F5438_User_Experience line 0 1291549200776 2132unresolved symbol ADC12MEM1, first referenced in ./MSP-EXP430F5438_HAL/hal_adc.obj MSP-EXP430F5438_User_Experience line 0 1291549200776 2133unresolved symbol ADC12MEM2, first referenced in ./MSP-EXP430F5438_HAL/hal_adc.obj MSP-EXP430F5438_User_Experience line 0 1291549200776 2134unresolved symbol DMA0CTL, first referenced in ./UserExperienceDemo/audio.obj MSP-EXP430F5438_User_Experience line 0 1291549200776 2135unresolved symbol DMA0DA, first referenced in ./UserExperienceDemo/audio.obj MSP-EXP430F5438_User_Experience line 0 1291549200776 2136unresolved symbol DMA0SA, first referenced in ./UserExperienceDemo/audio.obj MSP-EXP430F5438_User_Experience line 0 1291549200776 2137unresolved symbol DMA0SZ, first referenced in ./UserExperienceDemo/audio.obj MSP-EXP430F5438_User_Experience line 0 1291549200777 2138unresolved symbol DMACTL0, first referenced in ./UserExperienceDemo/audio.obj MSP-EXP430F5438_User_Experience line 0 1291549200777 2139unresolved symbol FCTL1, first referenced in ./UserExperienceDemo/menuSetting.obj MSP-EXP430F5438_User_Experience line 0 1291549200777 2140unresolved symbol FCTL3, first referenced in ./UserExperienceDemo/menuSetting.obj MSP-EXP430F5438_User_Experience line 0 1291549200777 2141unresolved symbol MACS, first referenced in ./UserExperienceDemo/FFT_430.obj MSP-EXP430F5438_User_Experience line 0 1291549200777 2142unresolved symbol MPYS, first referenced in ./UserExperienceDemo/FFT_430.obj MSP-EXP430F5438_User_Experience line 0 1291549200777 2143unresolved symbol OP2, first referenced in ./UserExperienceDemo/FFT_430.obj MSP-EXP430F5438_User_Experience line 0 1291549200777 2144unresolved symbol PADIR_H, first referenced in ./MSP-EXP430F5438_HAL/hal_buttons.obj MSP-EXP430F5438_User_Experience line 0 1291549200778 2146unresolved symbol PADIR, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200777 2145unresolved symbol PAIE_H, first referenced in ./MSP-EXP430F5438_HAL/hal_buttons.obj MSP-EXP430F5438_User_Experience line 0 1291549200778 2148unresolved symbol PAIES_H, first referenced in ./MSP-EXP430F5438_HAL/hal_buttons.obj MSP-EXP430F5438_User_Experience line 0 1291549200778 2147unresolved symbol PAIFG_H, first referenced in ./MSP-EXP430F5438_HAL/hal_buttons.obj MSP-EXP430F5438_User_Experience line 0 1291549200778 2149unresolved symbol PAOUT_H, first referenced in ./MSP-EXP430F5438_HAL/hal_buttons.obj MSP-EXP430F5438_User_Experience line 0 1291549200779 2151unresolved symbol PAOUT_L, first referenced in ./UserExperienceDemo/flashUtils.obj MSP-EXP430F5438_User_Experience line 0 1291549200779 2152unresolved symbol PAOUT, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200778 2150unresolved symbol PAREN_H, first referenced in ./MSP-EXP430F5438_HAL/hal_buttons.obj MSP-EXP430F5438_User_Experience line 0 1291549200779 2153unresolved symbol PASEL_H, first referenced in ./MSP-EXP430F5438_HAL/hal_buttons.obj MSP-EXP430F5438_User_Experience line 0 1291549200780 2155unresolved symbol PASEL, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200779 2154unresolved symbol PBDIR, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200780 2156unresolved symbol PBOUT, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200780 2157unresolved symbol PBSEL_H, first referenced in ./UserExperienceDemo/audio.obj MSP-EXP430F5438_User_Experience line 0 1291549200781 2159unresolved symbol PBSEL, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200780 2158unresolved symbol PCDIR_H, first referenced in ./MSP-EXP430F5438_HAL/hal_adc.obj MSP-EXP430F5438_User_Experience line 0 1291549200781 2161unresolved symbol PCDIR_L, first referenced in ./MSP-EXP430F5438_HAL/hal_usb.obj MSP-EXP430F5438_User_Experience line 0 1291549200781 2162unresolved symbol PCDIR, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200781 2160unresolved symbol PCOUT_H, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200782 2164unresolved symbol PCOUT_L, first referenced in ./MSP-EXP430F5438_HAL/hal_usb.obj MSP-EXP430F5438_User_Experience line 0 1291549200782 2165unresolved symbol PCOUT, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200782 2163unresolved symbol PCREN_L, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200782 2166unresolved symbol PCSEL_H, first referenced in ./MSP-EXP430F5438_HAL/hal_adc.obj MSP-EXP430F5438_User_Experience line 0 1291549200783 2168unresolved symbol PCSEL_L, first referenced in ./MSP-EXP430F5438_HAL/hal_usb.obj MSP-EXP430F5438_User_Experience line 0 1291549200783 2169unresolved symbol PCSEL, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200783 2167unresolved symbol PDDIR_H, first referenced in ./MSP-EXP430F5438_HAL/hal_lcd.obj MSP-EXP430F5438_User_Experience line 0 1291549200784 2171unresolved symbol PDDIR, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200784 2170unresolved symbol PDIN_H, first referenced in ./UserExperienceDemo/UserExperience_F5438A.obj MSP-EXP430F5438_User_Experience line 0 1291549200784 2172unresolved symbol PDOUT_H, first referenced in ./MSP-EXP430F5438_HAL/hal_lcd.obj MSP-EXP430F5438_User_Experience line 0 1291549200785 2174unresolved symbol PDOUT, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200784 2173unresolved symbol PDREN_H, first referenced in ./UserExperienceDemo/UserExperience_F5438A.obj MSP-EXP430F5438_User_Experience line 0 1291549200785 2175unresolved symbol PDSEL_H, first referenced in ./MSP-EXP430F5438_HAL/hal_lcd.obj MSP-EXP430F5438_User_Experience line 0 1291549200786 2177unresolved symbol PDSEL_L, first referenced in ./UserExperienceDemo/adcTemp.obj MSP-EXP430F5438_User_Experience line 0 1291549200786 2178unresolved symbol PDSEL, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200785 2176unresolved symbol PEDIR_L, first referenced in ./MSP-EXP430F5438_HAL/hal_lcd.obj MSP-EXP430F5438_User_Experience line 0 1291549200786 2180unresolved symbol PEDIR, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200786 2179unresolved symbol PEOUT_L, first referenced in ./MSP-EXP430F5438_HAL/hal_lcd.obj MSP-EXP430F5438_User_Experience line 0 1291549200787 2182unresolved symbol PEOUT, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200786 2181unresolved symbol PESEL_L, first referenced in ./MSP-EXP430F5438_HAL/hal_lcd.obj MSP-EXP430F5438_User_Experience line 0 1291549200787 2184unresolved symbol PESEL, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200787 2183unresolved symbol PFDIR_L, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200787 2185unresolved symbol PFOUT_L, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200787 2186unresolved symbol PFSEL_L, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200788 2187unresolved symbol PJDIR, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200788 2188unresolved symbol PJOUT, first referenced in ./MSP-EXP430F5438_HAL/hal_board.obj MSP-EXP430F5438_User_Experience line 0 1291549200788 2189unresolved symbol PMMCTL0_H, first referenced in ./F5XX_6XX_Core_Lib/hal_PMM.obj MSP-EXP430F5438_User_Experience line 0 1291549200788 2191unresolved symbol PMMCTL0_L, first referenced in ./F5XX_6XX_Core_Lib/hal_PMM.obj MSP-EXP430F5438_User_Experience line 0 1291549200789 2192unresolved symbol PMMCTL0, first referenced in ./F5XX_6XX_Core_Lib/hal_PMM.obj MSP-EXP430F5438_User_Experience line 0 1291549200788 2190unresolved symbol PMMIFG, first referenced in ./F5XX_6XX_Core_Lib/hal_PMM.obj MSP-EXP430F5438_User_Experience line 0 1291549200789 2193unresolved symbol PMMRIE, first referenced in ./F5XX_6XX_Core_Lib/hal_PMM.obj MSP-EXP430F5438_User_Experience line 0 1291549200789 2194unresolved symbol REFCTL0, first referenced in ./MSP-EXP430F5438_HAL/hal_adc.obj MSP-EXP430F5438_User_Experience line 0 1291549200789 2195unresolved symbol RESHI, first referenced in ./UserExperienceDemo/FFT_430.obj MSP-EXP430F5438_User_Experience line 0 1291549200790 2196unresolved symbol RTCCTL01_L, first referenced in ./UserExperienceDemo/adcTemp.obj MSP-EXP430F5438_User_Experience line 0 1291549200790 2198unresolved symbol RTCCTL01, first referenced in ./UserExperienceDemo/clock.obj MSP-EXP430F5438_User_Experience line 0 1291549200790 2197unresolved symbol RTCDATE_H, first referenced in ./MSP-EXP430F5438_HAL/hal_rtc.obj MSP-EXP430F5438_User_Experience line 0 1291549200790 2199unresolved symbol RTCDATE_L, first referenced in ./MSP-EXP430F5438_HAL/hal_rtc.obj MSP-EXP430F5438_User_Experience line 0 1291549200790 2200unresolved symbol RTCIV, first referenced in ./UserExperienceDemo/UserExperience_F5438A.obj MSP-EXP430F5438_User_Experience line 0 1291549200791 2201unresolved symbol RTCPS0CTL, first referenced in ./UserExperienceDemo/balanceBall.obj MSP-EXP430F5438_User_Experience line 0 1291549200791 2202unresolved symbol RTCPS1CTL, first referenced in ./UserExperienceDemo/UserExperience_F5438A.obj MSP-EXP430F5438_User_Experience line 0 1291549200791 2203unresolved symbol RTCTIM0_H, first referenced in ./MSP-EXP430F5438_HAL/hal_rtc.obj MSP-EXP430F5438_User_Experience line 0 1291549200791 2204unresolved symbol RTCTIM0_L, first referenced in ./MSP-EXP430F5438_HAL/hal_rtc.obj MSP-EXP430F5438_User_Experience line 0 1291549200792 2205unresolved symbol RTCTIM1_L, first referenced in ./MSP-EXP430F5438_HAL/hal_rtc.obj MSP-EXP430F5438_User_Experience line 0 1291549200792 2206unresolved symbol RTCYEAR, first referenced in ./MSP-EXP430F5438_HAL/hal_rtc.obj MSP-EXP430F5438_User_Experience line 0 1291549200792 2207unresolved symbol SFRIE1, first referenced in ./UserExperienceDemo/adcTemp.obj MSP-EXP430F5438_User_Experience line 0 1291549200792 2208unresolved symbol SFRIFG1, first referenced in ./F5XX_6XX_Core_Lib/hal_UCS.obj MSP-EXP430F5438_User_Experience line 0 1291549200794 2209unresolved symbol SVSMHCTL, first referenced in ./F5XX_6XX_Core_Lib/hal_PMM.obj MSP-EXP430F5438_User_Experience line 0 1291549200795 2210unresolved symbol SVSMLCTL, first referenced in ./F5XX_6XX_Core_Lib/hal_PMM.obj MSP-EXP430F5438_User_Experience line 0 1291549200795 2211unresolved symbol SYSUNIV, first referenced in ./UserExperienceDemo/UserExperience_F5438A.obj MSP-EXP430F5438_User_Experience line 0 1291549200795 2212unresolved symbol TA0CCR0, first referenced in ./MSP-EXP430F5438_HAL/hal_lcd.obj MSP-EXP430F5438_User_Experience line 0 1291549200795 2213unresolved symbol TA0CCR3, first referenced in ./MSP-EXP430F5438_HAL/hal_lcd.obj MSP-EXP430F5438_User_Experience line 0 1291549200796 2214unresolved symbol TA0CCTL3, first referenced in ./MSP-EXP430F5438_HAL/hal_lcd.obj MSP-EXP430F5438_User_Experience line 0 1291549200796 2215unresolved symbol TA0CTL, first referenced in ./MSP-EXP430F5438_HAL/hal_lcd.obj MSP-EXP430F5438_User_Experience line 0 1291549200796 2216creating output section ".int41" without a SECTIONS specification MSP-EXP430F5438_User_Experience line 0 1291549200774 2112creating output section ".int42" without a SECTIONS specification MSP-EXP430F5438_User_Experience line 0 1291549200774 2113creating output section ".int46" without a SECTIONS specification MSP-EXP430F5438_User_Experience line 0 1291549200774 2114creating output section ".int50" without a SECTIONS specification MSP-EXP430F5438_User_Experience line 0 1291549200774 2115creating output section ".int55" without a SECTIONS specification MSP-EXP430F5438_User_Experience line 0 1291549200774 2116creating output section ".int58" without a SECTIONS specification MSP-EXP430F5438_User_Experience line 0 1291549200774 2117creating output section ".int59" without a SECTIONS specification MSP-EXP430F5438_User_Experience line 0 1291549200775 2118creating output section ".int60" without a SECTIONS specification MSP-EXP430F5438_User_Experience line 0 1291549200775 2119creating output section ".int61" without a SECTIONS specification MSP-EXP430F5438_User_Experience line 0 1291549200775 2120creating output section ".reset" without a SECTIONS specification MSP-EXP430F5438_User_Experience line 0 1291549200775 2121creating output section ".stack" without a SECTIONS specification MSP-EXP430F5438_User_Experience line 0 1291549200775 2122
I have just modified the project->properties->Include Options (by adding C:\Program Files (x86)\Texas Instruments\ccsv4\msp430\include directory). What is the problem? Thanks in advance.!
- Volkan
Looks like you include the wrong include files.The fact that you didn't get compiler errors about unknown symbols indicates that yoiu're including files which declare teh symbols, but in a way that they are declared as external unresolved symbols. But no global symbols are created.Normally, the symbols should be decalred in a way so that they are directly resolved. Since the mechanism for doing so is compiler-dependent, this may fail if you use the wrong include files.
Alternatively it may be that you used precompiled object files or a library, in which these symbols are unresolved global symbols while your compiler does nto generate these global symbols. Hnce the linker cannot resolve them.
Often it helps to create a blank project and copy the source files in there instead of just copying the existing demo project. Normally, it shouldn't be necessary then to add the default include path to the project.
_____________________________________Before posting bug reports or ask for help, do at least quick scan over this article. It applies to any kind of problem reporting. On any forum. And/or look here.If you cannot discuss your problem in the public, feel free to start a private conversation: click on my name and then 'start conversation'. But please do so only if you really cannot do it in a public thread, as I usually read all threads. And I prefer to answer where others can profit from it (or contribute to it) too.
Hi,
I found an error that showed up in the console but did not show up in the Workspace Log (Error or Problems Tab). So I missed the error about NOP is declared multiple tome for asm("NOP"); I changed this to __delay_cycles(25); Now I see the linker is started but then it appears to crash.
The console show this:
'Building target: MSP-EXP430F5529UserExperience.out''Invoking: MSP430 Linker'"C:/ti/ccsv5/tools/compiler/msp430_4.1.0/bin/cl430" -vmspx --abi=eabi -O2 --opt_for_speed=4 -g --gcc --define=__MSP430F5529__ --diag_warning=225 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --large_memory_model --printf_support=minimal --verbose -z --stack_size=200 -m"MSP-EXP430F5529UserExperience.map" --heap_size=160 --use_hw_mpy=F5 -i"C:/ti/ccsv5/ccs_base/msp430/include" -i"C:/ti/ccsv5/tools/compiler/msp430_4.1.0/lib" -i"C:/ti/ccsv5/tools/compiler/msp430_4.1.0/include" --reread_libs --warn_sections --rom_model -o "MSP-EXP430F5529UserExperience.out" "./CTS/structure.obj" "./CTS/CTS_Layer.obj" "./CTS/CTS_HAL.obj" "./F5xx_F6xx_Core_Lib/HAL_UCS.obj" "./F5xx_F6xx_Core_Lib/HAL_TLV.obj" "./F5xx_F6xx_Core_Lib/HAL_PMM.obj" "./F5xx_F6xx_Core_Lib/HAL_PMAP.obj" "./F5xx_F6xx_Core_Lib/HAL_FLASH.obj" "./FatFs/mmc.obj" "./FatFs/ff.obj" "./MSP-EXP430F5529_HAL/HAL_Wheel.obj" "./MSP-EXP430F5529_HAL/HAL_SDCard.obj" "./MSP-EXP430F5529_HAL/HAL_Menu.obj" "./MSP-EXP430F5529_HAL/HAL_Dogs102x6.obj" "./MSP-EXP430F5529_HAL/HAL_Cma3000.obj" "./MSP-EXP430F5529_HAL/HAL_Buttons.obj" "./MSP-EXP430F5529_HAL/HAL_Board.obj" "./MSP-EXP430F5529_HAL/HAL_AppUart.obj" "./RF_HAL/rx.obj" "./RF_HAL/hal_spi_config.obj" "./RF_HAL/hal_spi.obj" "./RF_HAL/hal_rf.obj" "./RF_HAL/hal_mcu.obj" "./RF_HAL/hal_int.obj" "./RF_HAL/hal_digio.obj" "./USB/USB_API/USB_CDC_API/UsbCdc.obj" "./USB/USB_API/USB_Common/usb.obj" "./USB/USB_API/USB_Common/dma.obj" "./USB/USB_API/USB_HID_API/UsbHidReq.obj" "./USB/USB_API/USB_HID_API/UsbHidReportHandler.obj" "./USB/USB_API/USB_HID_API/UsbHid.obj" "./USB/USB_API/USB_MSC_API/UsbMscStateMachine.obj" "./USB/USB_API/USB_MSC_API/UsbMscScsi.obj" "./USB/USB_API/USB_MSC_API/UsbMscReq.obj" "./USB/USB_API/USB_PHDC_API/UsbPHDC.obj" "./USB/USB_User/usb_eventHandling.obj" "./USB/USB_User/usbConstructs.obj" "./USB/USB_User/UsbMscUser.obj" "./USB/USB_config/descriptors.obj" "./USB/USB_config/UsbIsr.obj" "./UserExperienceDemo/Puzzle/fsm_transition.obj" "./UserExperienceDemo/Puzzle/fsm.obj" "./UserExperienceDemo/Puzzle/Puzzle.obj" "./UserExperienceDemo/Settings.obj" "./UserExperienceDemo/SDCard.obj" "./UserExperienceDemo/Random.obj" "./UserExperienceDemo/PowerTest.obj" "./UserExperienceDemo/PMM.obj" "./UserExperienceDemo/Mouse.obj" "./UserExperienceDemo/MenuGames.obj" "./UserExperienceDemo/MassStorageCommon.obj" "./UserExperienceDemo/MassStorage.obj" "./UserExperienceDemo/LPM.obj" "./UserExperienceDemo/EchoUsb.obj" "./UserExperienceDemo/Demo_Cube.obj" "./UserExperienceDemo/DemoApps.obj" "./UserExperienceDemo/Clock.obj" "./UserExperienceDemo/5xx_ACTIVE_test.obj" "./system_pre_init.obj" "./UserExperience.obj" -l"libc.a" "../lnk_msp430f5529.cmd" "../lnk_msp430f5529_USB.cmd" MSP430 C/C++ Compiler v4.1.0Tools Copyright (c) 2003-2012 Texas Instruments Incorporated<Linking>warning: automatic library build: using library "C:\ti\ccsv5\tools\compiler\msp430_4.1.0\lib\rts430x_lc_ld_eabi.lib" for the first time, so it must be built. This may take a few minutes.gmake.exe[1]: *** [c:/users/prince/appdata/local/temp/ti16a4~1/obj/asinl.obj] Error -1073741819>> Compilation failuregmake.exe[1]: *** [c:/users/prince/appdata/local/temp/ti16a4~1/obj/sinh.obj] Error 1>> Compilation failuregmake.exe[1]: *** [c:/users/prince/appdata/local/temp/ti16a4~1/obj/erfcf.obj] Error 1gmake.exe[1]: *** [c:/users/prince/appdata/local/temp/ti16a4~1/obj/difftime.obj] InterruptTerminate batch job (Y/N)? ^Cgmake: *** [MSP-EXP430F5529UserExperience.out] Interruptgmake.exe[1]: *** [c:/users/prince/appdata/local/temp/ti16a4~1/obj/errno.obj] Interruptgmake.exe[1]: *** [c:/users/prince/appdata/local/temp/ti16a4~1/obj/fclose.obj] Interruptgmake.exe[1]: *** [c:/users/prince/appdata/local/temp/ti16a4~1/obj/ctime_.obj] Interrupt**** Build of configuration Debug for project MSP-EXP430F5529 User Experience ****Command canceledError: Program "C:/ti/ccsv5/utils/bin/gmake" is not found in PATHPATH=[C:\ti\ccsv5\ccs_base\common\bin;C:\ti\ccsv5\ccs_base\common\uscif;C:\ti\ccsv5\ccs_base\DebugServer\license;C:/ti/ccsv5/eclipse/jre/bin/client;C:/ti/ccsv5/eclipse/jre/bin;C:/ti/ccsv5/eclipse/jre/lib/i386;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\ESTsoft\ALZip;C:\Program Files\jZip;C:\Program Files\ESTsoft\ALZip;c:\altera\10.1\modelsim_ase\win32aloem;C:\ti\ccsv5\eclipse;]**** Build Finished ****
I also get a pop-up window that is from embed430.exe - Application Error
"The application failed to initialize properly (0xc00000005). Click OK to terminate the application"
I see multiple of these, not sure how many since I cancelled the build after a few.
How do I know if I exceeded the allowable size for the evaluation copy of CCS V5.2. Further when and if I purchase the CCS license?
Regards,
Ed
I stripped out code to fit on development board. CCS V5 starts the linker and then experiences application errors for obj files that do not exist in the project (lround.obj, fmal.obj, xltgamma.obj to name a few). The log data is shown below. I am very frustrated with the CCS, please provide insight as to what is going on:)
'Building target: MSP-EXP430F5529UserExperience.out''Invoking: MSP430 Linker'"C:/ti/ccsv5/tools/compiler/msp430_4.1.0/bin/cl430" -vmspx --abi=eabi -Ooff --opt_for_speed=0 -g --gcc --define=__MSP430F5529__ --diag_warning=225 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --large_memory_model --printf_support=minimal --verbose -z --stack_size=200 -m"MSP-EXP430F5529UserExperience.map" --heap_size=160 --use_hw_mpy=F5 -i"C:/ti/ccsv5/ccs_base/msp430/include" -i"C:/ti/ccsv5/tools/compiler/msp430_4.1.0/lib" -i"C:/ti/ccsv5/tools/compiler/msp430_4.1.0/include" --reread_libs --warn_sections --rom_model -o "MSP-EXP430F5529UserExperience.out" "./CTS/structure.obj" "./CTS/CTS_Layer.obj" "./CTS/CTS_HAL.obj" "./F5xx_F6xx_Core_Lib/HAL_UCS.obj" "./F5xx_F6xx_Core_Lib/HAL_TLV.obj" "./F5xx_F6xx_Core_Lib/HAL_PMM.obj" "./F5xx_F6xx_Core_Lib/HAL_PMAP.obj" "./F5xx_F6xx_Core_Lib/HAL_FLASH.obj" "./MSP-EXP430F5529_HAL/HAL_Wheel.obj" "./MSP-EXP430F5529_HAL/HAL_Menu.obj" "./MSP-EXP430F5529_HAL/HAL_Dogs102x6.obj" "./MSP-EXP430F5529_HAL/HAL_Buttons.obj" "./MSP-EXP430F5529_HAL/HAL_Board.obj" "./MSP-EXP430F5529_HAL/HAL_AppUart.obj" "./RF_HAL/rx.obj" "./RF_HAL/hal_spi_config.obj" "./RF_HAL/hal_spi.obj" "./RF_HAL/hal_rf.obj" "./RF_HAL/hal_mcu.obj" "./RF_HAL/hal_int.obj" "./RF_HAL/hal_digio.obj" "./USB/USB_API/USB_CDC_API/UsbCdc.obj" "./USB/USB_API/USB_Common/usb.obj" "./USB/USB_API/USB_Common/dma.obj" "./USB/USB_API/USB_HID_API/UsbHidReq.obj" "./USB/USB_API/USB_HID_API/UsbHidReportHandler.obj" "./USB/USB_API/USB_HID_API/UsbHid.obj" "./USB/USB_API/USB_MSC_API/UsbMscStateMachine.obj" "./USB/USB_API/USB_MSC_API/UsbMscScsi.obj" "./USB/USB_API/USB_MSC_API/UsbMscReq.obj" "./USB/USB_API/USB_PHDC_API/UsbPHDC.obj" "./USB/USB_User/usb_eventHandling.obj" "./USB/USB_User/usbConstructs.obj" "./USB/USB_User/UsbMscUser.obj" "./USB/USB_config/descriptors.obj" "./USB/USB_config/UsbIsr.obj" "./UserExperienceDemo/Settings.obj" "./UserExperienceDemo/EchoUsb.obj" "./system_pre_init.obj" "./UserExperience.obj" -l"libc.a" "../lnk_msp430f5529.cmd" "../lnk_msp430f5529_USB.cmd" MSP430 C/C++ Compiler v4.1.0Tools Copyright (c) 2003-2012 Texas Instruments Incorporated<Linking>warning: automatic library build: using library "C:\ti\ccsv5\tools\compiler\msp430_4.1.0\lib\rts430x_lc_ld_eabi.lib" for the first time, so it must be built. This may take a few minutes.gmake.exe[1]: *** [c:/users/prince/appdata/local/temp/ti451b~1/obj/lround.obj] Error -1073741819>> Compilation failuregmake.exe[1]: *** [c:/users/prince/appdata/local/temp/ti451b~1/obj/fmal.obj] Error 1>> Compilation failuregmake.exe[1]: *** [c:/users/prince/appdata/local/temp/ti451b~1/obj/xltgamma.obj] Error 1>> Compilation failuregmake.exe[1]: *** [c:/users/prince/appdata/local/temp/ti451b~1/obj/xlsinh.obj] Error 1gmake.exe[1]: *** [c:/users/prince/appdata/local/temp/ti451b~1/obj/xlvalues.obj] InterruptTerminate batch job (Y/N)? ^Cgmake.exe[1]: *** [c:/users/prince/appdata/local/temp/ti451b~1/obj/hypotf.obj] Interruptgmake.exe[1]: *** [c:/users/prince/appdata/local/temp/ti451b~1/obj/hypot.obj] Interruptgmake: *** [MSP-EXP430F5529UserExperience.out] Interruptgmake.exe[1]: *** [c:/users/prince/appdata/local/temp/ti451b~1/obj/xlhypot.obj] Interrupt**** Build of configuration Debug for project MSP-EXP430F5529 User Experience ****Command canceledError: Program "C:/ti/ccsv5/utils/bin/gmake" is not found in PATH
These errors are beyond my familiarity with TI CCS environment. Need help resolving these errors. Here is the Error Log and Problems Log from CCS.
Error Log:
eclipse.buildId=M20120208-0800java.version=1.6.0_13java.vendor=Sun Microsystems Inc.BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_USFramework arguments: -product com.ti.ccstudio.branding.productCommand-line arguments: -os win32 -ws win32 -arch x86 -product com.ti.ccstudio.branding.productInfoSun Jun 10 11:09:35 EDT 2012Indexed 'MSP-EXP430F5529 User Experience' (40 sources, 77 headers) in 3.12 sec: 4,086 declarations; 14,210 references; 4 unresolved inclusions; 88 syntax errors; 460 unresolved names (2.45%)<<<< I ran Index "Search unresolved inclusions" and found no problems, How to debug these unresolved and syntax errors when CCS does not identify them during compilation phase? >>>>
Problems Log:
Errors:
errors encountered during linking; "MSP-EXP430F5529UserExperience.out" not built MSP-EXP430F5529 User Experience C/C++ Problem
first defined in "./RF_HAL/rx.obj"; MSP-EXP430F5529 User Experience C/C++ Problemfirst defined in "./RF_HAL/rx.obj"; redefined in "./RF_HAL/hal_digio.obj" MSP-EXP430F5529 User Experience C/C++ Problem
program will not fit into available memory. placement with alignment fails for section ".int42" size 0x4 . Available memory ranges: INT42 size: 0x2 unused: 0x2 max hole: 0x2 lnk_msp430f5529.cmd /MSP-EXP430F5529 User Experience line 168 C/C++ Problem
program will not fit into available memory. placement with alignment fails for section ".int47" size 0x4 . Available memory ranges: INT47 size: 0x2 unused: 0x2 max hole: 0x2 lnk_msp430f5529.cmd /MSP-EXP430F5529 User Experience line 173 C/C++ Problem
unresolved symbols remain MSP-EXP430F5529 User Experience C/C++ Problem
Warnings:
automatic library build: using library "C:\ti\ccsv5\tools\compiler\msp430_4.1.0\lib\rts430x_lc_ld_eabi.lib" for the first time, so it must be built. This may take a few minutes. MSP-EXP430F5529 User Experience C/C++ Problem
automatic RTS selection: resolving index library "libc.a" to "C:\ti\ccsv5\tools\compiler\msp430_4.1.0\lib\rts430x_lc_ld_eabi.lib", but "C:\ti\ccsv5\tools\compiler\msp430_4.1.0\lib\rts430x_lc_ld_eabi.lib" was not found MSP-EXP430F5529 User Experience C/C++ Problem
creating output section ".data" without a SECTIONS specification MSP-EXP430F5529 User Experience C/C++ Problem
entry-point symbol "_c_int00" undefined MSP-EXP430F5529 User Experience C/C++ Problem
no suitable entry-point found; setting to 0 MSP-EXP430F5529 User Experience C/C++ Problem
I get this error in the Console:
MSP430 C/C++ Compiler v4.1.0Tools Copyright (c) 2003-2012 Texas Instruments Incorporated<Linking>warning: automatic library build: using library "C:\ti\ccsv5\tools\compiler\msp430_4.1.0\lib\rts430x_lc_ld_eabi.lib" for the first time, so it must be built. This may take a few minutes.>> Compilation failuregmake.exe[1]: *** [c:/users/prince/appdata/local/temp/tic41f~1/obj/xlatan.obj] Error 1>> Compilation failuregmake.exe[1]: *** [c:/users/prince/appdata/local/temp/tic41f~1/obj/remainder.obj] Error 1>> Compilation failuregmake.exe[1]: *** [c:/users/prince/appdata/local/temp/tic41f~1/obj/xlcosh.obj] Error 1>> Compilation failuregmake.exe[1]: *** [c:/users/prince/appdata/local/temp/tic41f~1/obj/xlsin.obj] Error 1>> Compilation failuregmake.exe[1]: *** [c:/users/prince/appdata/local/temp/tic41f~1/obj/xfcosh.obj] Error 1>> Compilation failuregmake.exe[1]: *** [c:/users/prince/appdata/local/temp/tic41f~1/obj/placedel.obj] Error 1gmake.exe[1]: *** [c:/users/prince/appdata/local/temp/tic41f~1/obj/xfpostox.obj] Error -1073741819gmake.exe[1]: Target `library' not remade because of errors.>> ERROR: mklib: gmake error during rts430x_lc_ld_eabi.lib buildwarning: automatic RTS selection: resolving index library "libc.a" to "C:\ti\ccsv5\tools\compiler\msp430_4.1.0\lib\rts430x_lc_ld_eabi.lib", but "C:\ti\ccsv5\tools\compiler\msp430_4.1.0\lib\rts430x_lc_ld_eabi.lib" was not founderror: symbol "pinGDO0" redefined: first defined in "./RF_HAL/rx.obj"; redefined in "./RF_HAL/hal_digio.obj"error: symbol "pinGDO2" redefined: first defined in "./RF_HAL/rx.obj"; redefined in "./RF_HAL/hal_digio.obj">> Compilation failurewarning: creating output section ".data" without a SECTIONS specification"../lnk_msp430f5529.cmd", line 168: error: program will not fit into available memory. placement with alignment fails for section ".int42" size 0x4 . Available memory ranges: INT42 size: 0x2 unused: 0x2 max hole: 0x2 "../lnk_msp430f5529.cmd", line 173: error: program will not fit into available memory. placement with alignment fails for section ".int47" size 0x4 . Available memory ranges: INT47 size: 0x2 unused: 0x2 max hole: 0x2 warning: entry-point symbol "_c_int00" undefined undefined first referenced symbol in file --------- ---------------- USB_RX_memcpy ./USB/USB_API/USB_CDC_API/UsbCdc.obj USB_TX_memcpy ./USB/USB_API/USB_CDC_API/UsbCdc.obj __TI_decompress_none __TI_decompress_rle24 __TI_zero_init __mspabi_mpyl ./USB/USB_API/USB_CDC_API/UsbCdc.obj __mspabi_slli ./MSP-EXP430F5529_HAL/HAL_Dogs102x6.obj __mspabi_slll_8 ./USB/USB_API/USB_CDC_API/UsbCdc.obj __mspabi_srll_8 ./USB/USB_API/USB_CDC_API/UsbCdc.obj memset ./MSP-EXP430F5529_HAL/HAL_Dogs102x6.objerror: unresolved symbols remainwarning: no suitable entry-point found; setting to 0error: errors encountered during linking; "MSP-EXP430F5529UserExperience.out" not builtgmake: *** [MSP-EXP430F5529UserExperience.out] Error 1gmake: Target `all' not remade because of errors.**** Build Finished ****
Thanks,
Is project setup correct? In first post processor is different from the following.
The project need to be imported and CCS on windows need that all files reside on same drive, I am not sure this has been corrected on latest version.
Regards
Roberto
Please login & click Verify Answer if this post answered your question.
Ed Lombardo I see multiple of these, not sure how many since I cancelled the build after a few. How do I know if I exceeded the allowable size for the evaluation copy of CCS V5.2. Further when and if I purchase the CCS license?
Hi Ed these error seems to be relative to missing files, wrong program setting or project made with old version and loaded instead of importing.
If you are in the evaluation mode no limit exist and if code limited version code size error appear at link time, linker start only after compilation is succesful.
Hi Roberto,
The first post was from someone else, I am targeting msp430f5529 device.
I took the MSP-EXP430F5529 development board and added CC1100 sources.
The project is on the C drive where CCS resides.
Ok, sorry Ed, first two post are two year old, next time is better to open a new fresh post instead of reply on older.
CC1100 code is for simpliciTI? Code alone compile ok or problem arises also from example?
How do I know if project was made with old version? I used the CCS copy command to import CC1100 sources. I have evaluation copy of CCS 5.2, and I deleted many sources from original demo project in hopes that CC1100 will fit. Do I need to worry about IAR sources copied to CCS?
Ed LombardoError: Program "C:/ti/ccsv5/utils/bin/gmake" is not found in PATH
Hi, Is gmake there?
I did not try CC1100 code alone. I took CC1100 code and brought it to the development board example code. I then fixed compile errors and now code compiles with no errors. When linker starts I get errors that are impossible for me to figure out.
yes, gmake if present at the path specified.
Ed Lombardo How do I know if project was made with old version? I used the CCS copy command to import CC1100 sources. I have evaluation copy of CCS 5.2, and I deleted many sources from original demo project in hopes that CC1100 will fit. Do I need to worry about IAR sources copied to CCS?
Hi Ed, I am experienced on GCC and IAR usage but I am at early stage too with CCS, I am using under Linux for Stellaris and new version require me a new license I cannot resolve for now. I used the windows version before this last one and I suggest you to post again this on Code composer studio forum to see if someone has more idea about.
I suggest you start again in importing CC1100 code and try compilation of one example before to try combine codes. If code is simpliciTI this code is not so trivial and need a lot of attention in library setup and configuration files.
Tomorrow I try solve the license question so I can try load the example, please post the link of original demo project.
IAR is too much expensive to be considered on mid low budget, I use IAR on code limited version but CCS quadravox and rowley are the only affordable for large project.
http://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSPEXP430F5529UE/latest/index_FDS.html
MSP430F5529 experimental board software download.
I created a new project called hello_program, added one line of code to disable the WD.
The linker failed in similar way. Something related to the library file "C:\ti\ccsv5\tools\compiler\msp430_4.1.0\lib\rts430x_lc_sd_eabi.lib"