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.

Issue compiling sample apps for MSP-EXP430F5529 and CC2564MODAEM.

Other Parts Discussed in Thread: MSP430F5529

I am trying to compile a sample app, SPPDemo in this case, but am encountering errors during linking. Since the bluetooth stack sample apps do not come with a build profile for the MSP-EXP430F5529, I created a new profile and changed the processor and hardware include paths to the appropriate values:

  • General->Processor Variant=MSP430F5529
  • General->Compiler version=TI v4.4.7
  • Build->MSP430 Compiler->Include Options->Search Path: changed the HW path to "${ProjDirPath}/../../../../Hardware/MSP430_EXP5529"

Here are the errors I'm running into:

<Linking>
warning #10204-D: could not resolve index library "libmath.a" to a compatible
   library
warning #10247-D: creating output section ".patch" without a SECTIONS
   specification
"../lnk_msp430f5529.cmd", line 146: error #10099-D: program will not fit into
   available memory.  placement with alignment fails for section ".text" size
   0x17b62 .  Available memory ranges:
   FLASH        size: 0xbb80       unused: 0x97c6       max hole: 0x97c6    


 undefined         first referenced
>> Compilation failure
  symbol               in file     
 ---------         ----------------
 _data20_read_char ./BTPSVEND.obj  

error #10234-D: unresolved symbols remain

Any suggestions?

  • It looks like the compiler version I was using is not compatible with the project. When you change the processor variant, CCS automatically changes the compiler version to the latest installed. I changed the compiler version to 4.1.9 and am getting to this point:

    <Linking>
    "../lnk_msp430f5529.cmd", line 221: warning #10374-D: Interrupt vector "RTC"
       does not have an interrupt handler routine.
    "../lnk_msp430f5529.cmd", line 223: warning #10374-D: Interrupt vector
       "TIMER2_A1" does not have an interrupt handler routine.
    "../lnk_msp430f5529.cmd", line 224: warning #10374-D: Interrupt vector
    
       "TIMER2_A0" does not have an interrupt handler routine.
    >> Compilation failure
    "../lnk_msp430f5529.cmd", line 225: warning #10374-D: Interrupt vector
       "USCI_B1" does not have an interrupt handler routine.
    "../lnk_msp430f5529.cmd", line 227: warning #10374-D: Interrupt vector "PORT1"
       does not have an interrupt handler routine.
    "../lnk_msp430f5529.cmd", line 228: warning #10374-D: Interrupt vector
       "TIMER1_A1" does not have an interrupt handler routine.
    "../lnk_msp430f5529.cmd", line 230: warning #10374-D: Interrupt vector "DMA"
       does not have an interrupt handler routine.
    "../lnk_msp430f5529.cmd", line 231: warning #10374-D: Interrupt vector
       "USB_UBM" does not have an interrupt handler routine.
    "../lnk_msp430f5529.cmd", line 232: warning #10374-D: Interrupt vector
       "TIMER0_A1" does not have an interrupt handler routine.
    "../lnk_msp430f5529.cmd", line 233: warning #10374-D: Interrupt vector
       "TIMER0_A0" does not have an interrupt handler routine.
    "../lnk_msp430f5529.cmd", line 234: warning #10374-D: Interrupt vector "ADC12"
       does not have an interrupt handler routine.
    "../lnk_msp430f5529.cmd", line 235: warning #10374-D: Interrupt vector
       "USCI_B0" does not have an interrupt handler routine.
    "../lnk_msp430f5529.cmd", line 236: warning #10374-D: Interrupt vector
       "USCI_A0" does not have an interrupt handler routine.
    "../lnk_msp430f5529.cmd", line 237: warning #10374-D: Interrupt vector "WDT"
       does not have an interrupt handler routine.
    "../lnk_msp430f5529.cmd", line 238: warning #10374-D: Interrupt vector
       "TIMER0_B1" does not have an interrupt handler routine.
    "../lnk_msp430f5529.cmd", line 239: warning #10374-D: Interrupt vector
       "TIMER0_B0" does not have an interrupt handler routine.
    "../lnk_msp430f5529.cmd", line 240: warning #10374-D: Interrupt vector "COMP_B"
       does not have an interrupt handler routine.
    "../lnk_msp430f5529.cmd", line 241: warning #10374-D: Interrupt vector "UNMI"
       does not have an interrupt handler routine.
    "../lnk_msp430f5529.cmd", line 242: warning #10374-D: Interrupt vector "SYSNMI"
       does not have an interrupt handler routine.
    warning #10247-D: creating output section ".patch" without a SECTIONS
       specification
    "../lnk_msp430f5529.cmd", line 146: error #10099-D: program will not fit into
       available memory.  placement with alignment fails for section ".text" size
       0x17b00 .  Available memory ranges:
       FLASH        size: 0xbb80       unused: 0x97c4       max hole: 0x97c4    
    error #10010: errors encountered during linking; "SPPDemo.out" not built
    gmake: *** [SPPDemo.out] Error 1

  • Nick,

    Note that the MSP430F5529 may not have enough memory to fit that specific sample application. It seems to be the case here.

    ~Miguel