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/TIDA-01485: TIDA-01485:

Part Number: TIDA-01485

Tool/software: Code Composer Studio

HI there,

I tried to evaluate TIDA-01485 with MSP FET flash emulation tool. following the instruction, downloading the CCS9.2 ( only installed  MSP430 related) and the example firmware TIDA-01485_Firmware_V1.0, there are a bunch of compilation and linking errors, such as cannot find stdin.h etc.

after delete and reinstall the firmware, then some undefined symbol appear, which I cannot search for within the workspace 

 undefined          first referenced
  symbol                in file     
 ---------          ----------------
 _delay_cycles      ./main.obj      
 _disable_interrupt ./main.obj      
 
error #10234-D: unresolved symbols remain

I am not sure if I  installed the CCS9.2 correctly  or I also have to configure the project instead of simply import to CCS? Do you have any document  for the TIDA-01485 project compiling, progarmming, and tsting thanks!

  • I imported the TIDA-01485_Firmware_V1.0 project into CCS 9.2 and it built fine without any errors for me.

    Attached is the full output seen in the CCS build console. Please take a look at it and compare it with your build output. That might give some clues as to why the build is failing in your environment. If you still need help understanding the errors or resolving the errors please let us know.

    1614.build_log.txt
    **** Build of configuration Debug for project TIDA-01485_Firmware_V1.0 ****
    
    "C:\\CCStudio_9.2.0.00013\\ccs\\utils\\bin\\gmake" -k all 
     
    Building file: "../drv8323.c"
    Invoking: MSP430 Compiler
    "C:/CCStudio_9.2.0.00013/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/bin/cl430" -vmspx --abi=eabi -g --include_path="C:/CCStudio_9.2.0.00013/ccs/ccs_base/msp430/include" --include_path="C:/CCStudio_9.2.0.00013/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/include" --advice:power=all --define=__MSP430F5132__ --diag_warning=225 --display_error_number --diag_wrap=off --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="drv8323.d_raw"  "../drv8323.c"
    "../drv8323.c", line 69: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../drv8323.c", line 142: remark #1544-D: (ULP 13.1) Detected loop counting up. Recommend loops count down as detecting zeros is easier
    "../drv8323.c", line 168: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../drv8323.c", line 170: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../drv8323.c", line 172: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../drv8323.c", line 174: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../drv8323.c", line 176: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../drv8323.c", line 178: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    Finished building: "../drv8323.c"
     
    Building file: "../main.c"
    Invoking: MSP430 Compiler
    "C:/CCStudio_9.2.0.00013/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/bin/cl430" -vmspx --abi=eabi -g --include_path="C:/CCStudio_9.2.0.00013/ccs/ccs_base/msp430/include" --include_path="C:/CCStudio_9.2.0.00013/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/include" --advice:power=all --define=__MSP430F5132__ --diag_warning=225 --display_error_number --diag_wrap=off --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="main.d_raw"  "../main.c"
    "../main.c", line 204: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 226: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 228: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 235: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 237: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 331: remark #1527-D: (ULP 2.1) Detected SW delay loop using __delay_cycles. Recommend using a timer module instead
    "../main.c", line 352: remark #1528-D: (ULP 3.1) Detected flag polling using PMMIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 359: remark #1528-D: (ULP 3.1) Detected flag polling using PMMIFG. Recommend using an interrupt combined with enter LPMx and ISR
    "../main.c", line 518: remark #1538-D: (ULP 10.1) ISR PORT2_ISR calls function Hall_State_Change_FORWARD. Recommend moving function call away from ISR, or inlining the function, or using pragmas
    "../main.c", line 522: remark #1538-D: (ULP 10.1) ISR PORT2_ISR calls function Hall_State_Change_REVERSE. Recommend moving function call away from ISR, or inlining the function, or using pragmas
    "../main.c", line 632: remark #1538-D: (ULP 10.1) ISR TIMER0_D1_ISR calls function A_Z. Recommend moving function call away from ISR, or inlining the function, or using pragmas
    "../main.c", line 633: remark #1538-D: (ULP 10.1) ISR TIMER0_D1_ISR calls function B_Z. Recommend moving function call away from ISR, or inlining the function, or using pragmas
    "../main.c", line 634: remark #1538-D: (ULP 10.1) ISR TIMER0_D1_ISR calls function C_Z. Recommend moving function call away from ISR, or inlining the function, or using pragmas
    "../main.c", line 636: remark #1527-D: (ULP 2.1) Detected SW delay loop using empty loop. Recommend using a timer module instead
    "../main.c", line 105: remark #1535-D: (ULP 8.1) variable "start_count" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    "../main.c", line 174: remark #1535-D: (ULP 8.1) variable "LPM3_On" is used as a constant. Recommend declaring variable as either 'static const' or 'const'
    Finished building: "../main.c"
     
    Building target: "TIDA-01485_Firmware_V1.0.out"
    Invoking: MSP430 Linker
    "C:/CCStudio_9.2.0.00013/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/bin/cl430" -vmspx --abi=eabi -g --advice:power=all --define=__MSP430F5132__ --diag_warning=225 --display_error_number --diag_wrap=off --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU40 --printf_support=minimal -z --stack_size=80 -m"TIDA-01485_Firmware_V1.0.map" --heap_size=80 --use_hw_mpy=F5 -i"C:/CCStudio_9.2.0.00013/ccs/ccs_base/msp430/include" -i"C:/CCStudio_9.2.0.00013/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/lib" -i"C:/CCStudio_9.2.0.00013/ccs/tools/compiler/ti-cgt-msp430_18.12.3.LTS/include" --reread_libs --warn_sections --display_error_number --diag_wrap=off --xml_link_info="TIDA-01485_Firmware_V1.0_linkInfo.xml" --rom_model -o "TIDA-01485_Firmware_V1.0.out" "./drv8323.obj" "./main.obj" "../lnk_msp430f5132.cmd"  -llibc.a 
    <Linking>
    remark #10372-D: (ULP 4.1) Detected uninitialized Port B in this project. Recommend initializing all unused ports to eliminate wasted current consumption on unused pins.
    remark #10422-D: (ULP 6.2) Detected use of a device with available 32-bit hardware multiplier and not also using MSPMATHLIB library (libmath.a).  Recommend using MSPMATHLIB library (libmath.a) for improved performance.
    Finished building target: "TIDA-01485_Firmware_V1.0.out"
     
    
    **** Build Finished ****
    

  • Thanks!

    I uninstall and reinstall a couple of times and it builds fine right now.