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.

errors initializing HFP on MSP-EXP430F5438 + PAN1323ETU -- (Stack Initialization on Port 1 115200 (UART) Failed: -4.)

I am trying HFP demo on the MSP-EXP430F5438 +  PAN1323ETU boards. I have followed all instructions according to this and the code compiles/ports fine onto the boards. When I reset the MSP-EXP430F5438 I see the following error on Tera Term.

When I press the reset button I first receive the error above, then the red and yellow LED start flashing. Also my display does not show the help menu (mentioned here). The example SLAC227 software complies and runs fine, so MSP-EXP430F5438 hardware should be ok.

I am using CCS Version: 6.0.1.00040 and receive the following warnings:

Thanks for your help !

-Darius

  • Hi,

    NOTE that for PAN1323ETU you don't have to add the CC256xB patch (#define __SUPPORT_CC256XB_PATCH__)

    I think you have selected the wrong Build Configuration, right click on the profile-> Build Configurations -> Set Active -> "Debug - MSP430F5438A Exp" 
    See processors.wiki.ti.com/.../CC256x_MSP430_TI%27s_Bluetooth_Stack_Basic_Demo_APPS

  • Hi Sundeep,

    I have followed everything exactly as outlined on  processors.wiki.ti.com/.../CC256x_MSP430_TI%27s_Bluetooth_Stack_Basic_Demo_APPS. I am not sure if this is related but I have had some issues with the other versions of the compiler and only compiler version V 4.3.3 works - see my previous posting (click here). I have not included the CC256xB patch (#define __SUPPORT_CC256XB_PATCH__) patch. I assume the patch is not included by default and that I don't have to delete it manually? 

    Thanks,

    Darius

  • Hi,

    I have tried it myself again and I did not face any problem with the same set up (MSP-EXP430F5438 + PAN1323ETU, with bluetopia version 1.5 R2).

    and related to the compiler version issue, have you checked the last replay I have posted? with the latest compiler also I was able to make it work.

    and yes the patch is not include by default.

    If you have done a clean build after changing the compilers then it should not matter. As I was able to bring up the board with both old and new compiler.

    And I have forcefully downloaded the wrong Build Configurations. profile-> Build Configurations -> Set Active -> "Debug - ez430", and I was able to see the red and yellow LED start flashing. As you are sure that this is not the issue you are facing, Make sure that the boot-up sequence is fine as mentioned below.

    From what you provided, I can say that the service pack download has failed with error Error -4 which is defined as BTPS_ERROR_HCI_INITIALIZATION_ERROR (in BTErrors.h), which means that you UART is not configured correctly.
    make sure first three steps mentioned here processors.wiki.ti.com/.../CC256x_Testing_Guide are followed.
  • Hi Sundeep,

    I double checked all the things you mentioned above but I still get the same error. I haven't had a chance to check the first three steps of "CC256x_Testing_Guide". I also updated my compiler to the V4.4.2 version and have not been successful in posting the code due to the following error (I have attached the log files for your reference):

    I have a question: under the "hardware setup" section of "CC256x MSP430 TI's Bluetooth Stack Basic Demo APPS" wiki, part b says "Place the included jumper block on RF3 connector". I cannot clearly  identify from the image if there is a jumper board solder on top of RF3 connector or if its just the connector. I did not receive a jumper board in my evaluation package so I assume all of this is not due to a missing jumper block ?

    Thanks,

    Darius

    **** Clean-only build of configuration Debug - MSP430F5438A Exp for project HFPDemo ****
    
    "c:\\ti\\ccsv6\\utils\\bin\\gmake" -k clean 
    DEL /F  "HFPDemo.out"  "HFPDemo.hex" 
    Could Not Find C:\CC256x MSP430 Bluetopia SDK\v1.5 R2\MSP430_Experimentor\Samples\HFPDemo\Projects\CCS5\Debug - MSP430F5438A Exp\HFPDemo.out
    DEL /F "BTPSKRNL.pp" "BTPSVEND.pp" "BTVS.pp" "HCITRANS.pp" "HFPDemo.pp" "Main.pp" "pre_init.pp" "sprintf.pp" "MSP430_EXP5438\HAL.pp" 
    DEL /F "BTPSKRNL.obj" "BTPSVEND.obj" "BTVS.obj" "HCITRANS.obj" "HFPDemo.obj" "Main.obj" "pre_init.obj" "sprintf.obj" "MSP430_EXP5438\HAL.obj" 
    Could Not Find C:\CC256x MSP430 Bluetopia SDK\v1.5 R2\MSP430_Experimentor\Samples\HFPDemo\Projects\CCS5\Debug - MSP430F5438A Exp\BTPSKRNL.obj
    Could Not Find C:\CC256x MSP430 Bluetopia SDK\v1.5 R2\MSP430_Experimentor\Samples\HFPDemo\Projects\CCS5\Debug - MSP430F5438A Exp\MSP430_EXP5438\HAL.obj
    'Finished clean'
    ' '
    
    **** Build Finished ****
    
    **** Build of configuration Debug - MSP430F5438A Exp for project HFPDemo ****
    
    "c:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
    'Building file: C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl/BTPSKRNL.c'
    'Invoking: MSP430 Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=coffabi --code_model=large --data_model=small --use_hw_mpy=F5 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo" -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="BTPSKRNL.pp"  "C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl/BTPSKRNL.c"
    'Finished building: C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl/BTPSKRNL.c'
    ' '
    'Building file: C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend/BTPSVEND.c'
    'Invoking: MSP430 Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=coffabi --code_model=large --data_model=small --use_hw_mpy=F5 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo" -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="BTPSVEND.pp"  "C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend/BTPSVEND.c"
    "C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend/BTPSVEND.c", line 151: warning #225-D: function "_data20_read_char" declared implicitly
    'Finished building: C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend/BTPSVEND.c'
    ' '
    'Building file: C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs/BTVS.c'
    'Invoking: MSP430 Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=coffabi --code_model=large --data_model=small --use_hw_mpy=F5 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo" -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="BTVS.pp"  "C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs/BTVS.c"
    "C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs/BTVS.c", line 169: warning #188-D: pointless comparison of unsigned integer with zero
    "C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs/BTVS.c", line 431: warning #188-D: pointless comparison of unsigned integer with zero
    "C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs/BTVS.c", line 645: warning #188-D: pointless comparison of unsigned integer with zero
    "C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs/BTVS.c", line 645: warning #188-D: pointless comparison of unsigned integer with zero
    "C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs/BTVS.c", line 731: warning #188-D: pointless comparison of unsigned integer with zero
    'Finished building: C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs/BTVS.c'
    ' '
    'Building file: C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans/HCITRANS.c'
    'Invoking: MSP430 Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=coffabi --code_model=large --data_model=small --use_hw_mpy=F5 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo" -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="HCITRANS.pp"  "C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans/HCITRANS.c"
    'Finished building: C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans/HCITRANS.c'
    ' '
    'Building file: C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo/HFPDemo.c'
    'Invoking: MSP430 Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=coffabi --code_model=large --data_model=small --use_hw_mpy=F5 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo" -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="HFPDemo.pp"  "C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo/HFPDemo.c"
    'Finished building: C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo/HFPDemo.c'
    ' '
    'Building file: C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo/Main.c'
    'Invoking: MSP430 Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=coffabi --code_model=large --data_model=small --use_hw_mpy=F5 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo" -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="Main.pp"  "C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo/Main.c"
    'Finished building: C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo/Main.c'
    ' '
    'Building file: C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/pre_init.c'
    'Invoking: MSP430 Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=coffabi --code_model=large --data_model=small --use_hw_mpy=F5 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo" -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="pre_init.pp"  "C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/pre_init.c"
    'Finished building: C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/pre_init.c'
    ' '
    'Building file: C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl/sprintf.c'
    'Invoking: MSP430 Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=coffabi --code_model=large --data_model=small --use_hw_mpy=F5 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo" -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="sprintf.pp"  "C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl/sprintf.c"
    'Finished building: C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl/sprintf.c'
    ' '
    'Building file: C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438/HAL.c'
    'Invoking: MSP430 Compiler'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=coffabi --code_model=large --data_model=small --use_hw_mpy=F5 --include_path="c:/ti/ccsv6/ccs_base/msp430/include" --include_path="c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpsvend" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btvs" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/btpskrnl" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/hcitrans" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/profiles/HFP/include" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438" --include_path="C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Samples/HFPDemo" -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal --preproc_with_compile --preproc_dependency="MSP430_EXP5438/HAL.pp" --obj_directory="MSP430_EXP5438"  "C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438/HAL.c"
    'Finished building: C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Hardware/MSP430_EXP5438/HAL.c'
    ' '
    'Building target: HFPDemo.out'
    'Invoking: MSP430 Linker'
    "c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/bin/cl430" -vmspx --abi=coffabi --code_model=large --data_model=small --use_hw_mpy=F5 -g --define=__MSP430F5438A__ --define=BTPS_MEMORY_BUFFER_SIZE=3250 --define=__SUPPORT_LOW_ENERGY__ --define=__DISABLE_SMCLK__ --diag_warning=225 --display_error_number --diag_suppress=172 --silicon_errata=CPU21 --silicon_errata=CPU22 --silicon_errata=CPU23 --silicon_errata=CPU40 --printf_support=minimal -z -m"HFPDemo.map" --heap_size=0 --stack_size=1200 --cinit_hold_wdt=on -i"c:/ti/ccsv6/ccs_base/msp430/include" -i"c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/lib" -i"c:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.2/include" -i"C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/lib/CCS/DefaultMTU/coffabi" -i"C:/CC256x MSP430 Bluetopia SDK/v1.5 R2/MSP430_Experimentor/Bluetopia/profiles/HFP/lib/CCS/coffabi" -i"c:/ti/ccsv6/ccs_base/msp430/lib/5xx_6xx_FRxx" --reread_libs --warn_sections --xml_link_info="HFPDemo_linkInfo.xml" --use_hw_mpy=F5 --rom_model -o "HFPDemo.out"  "./BTPSKRNL.obj" "./BTPSVEND.obj" "./BTVS.obj" "./HCITRANS.obj" "./HFPDemo.obj" "./Main.obj" "./pre_init.obj" "./sprintf.obj" "./MSP430_EXP5438/HAL.obj" "../lnk_msp430f5438a.cmd" -l"libc.a" -l"libBluetopia_SCO.a" -llibSS1BTHFP.a -l"libmath.a" 
    <Linking>
    "../lnk_msp430f5438a.cmd", line 127: warning #10424-D: Linker command file has
       no sections of type=VECT_INIT, but does contain .intXX sections.  This file
       may be out of date.  Generating interrupt pointers for all .intXX sections. 
       The default handler provided in the RTS will be used if no other handler is
       found.  It is recommend that you update your linker command file to the
       latest version.
    warning #10204-D: could not resolve index library "libmath.a" to a compatible
       library
    
     undefined         first referenced
      symbol               in file     
     ---------         ----------------
     _data20_read_char ./BTPSVEND.obj  
    
    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "HFPDemo.out" not built
    
    >> Compilation failure
    gmake: *** [HFPDemo.out] Error 1
    gmake: Target `all' not remade because of errors.
    
    **** Build Finished ****
    

  • Hi,

    You have not changed _data20_read_char to" ___data20_read_char" as mentioned in the other E2E (http://e2e.ti.com/support/wireless_connectivity/f/660/t/394430).

    You should have received the RF3 jumper block along with PAN module. you need to connect it on the RF3 connector.

    Please also see http://processors.wiki.ti.com/index.php/CC256X_MSP:EXP430F5438#RF3_Connector

    Could you also please let me know what is written on the module highlighted in red below (on my device I see PAN1323), 

  • Hi,

    After changing  _data20_read_char to __data20_read_char everything ported fine with the latest compiler (V4.4.2). I still do get the same error though.

    Unfortunately, I did not receive the RF3 jumper block. I will solder the pis as mentioned here and keep you posted if that fixes the problem. 

    As per your request the highlighted component on my PAN1323ETU module reads "PAN1326". 

    Thanks,

    Darius

  • Hi,

    That is strange have you done a clean, as we have change it you should not be getting the same error "undefined symbol _data20_read_char" as this does not exists anywhere.

    As I suspected the module was changed, PAN1326 is a CC2564B device, Please do enable the CC256xB patch (#define __SUPPORT_CC256XB_PATCH__)
  • Hi Sundeep,

    I think there was a miscommunication. Changing to "__data20_read_char" did take care of the "undefined symbol _data20_read_char" error. Also after soldering the pins of RF3 according to processors.wiki.ti.com/.../CC256X_MSP:EXP430F5438, and applying the CC256xB patch everything is working.

    Thanks for your help !

    Darius