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.

AWR1843BOOST: SDK 3.3 mmw demo project: "unresolved symbols remain" error

Part Number: AWR1843BOOST

Hi, 

I want to test the LVDS streaming using SDK 3.3's mmw demo project. Since projectspec files were not present, I copied the available ones into the xwr18xx/mmw folder and modified the sdk version to 3.3 for the projectspec files. 

Now, when I compile the project using CCS, I get "unresolved symbols remain" error while rebuilding mss projectspec file. I've attached a screenshot of the console output for the reference. I tried to include the corresponding files (e.g.  #include <ti/drivers/cbuff/cbuff.h>  in the mmw_mss.h folder) to see if that helps in mitigating the issue, but it didn't. 

I'm trying to understand why this few symbols are unresolved while others aren't, but haven't been able to narrow down as of now. It'd be great if you could please suggest why is it occurring?
Thank you
  • Hi,

    You need to add the files where these symbols are defined in the projectspec file

    thank you

    Cesar

  • Hi Cesar, 

    It makes sense - thank you for the suggestion. While adding required files resolved the symbols in the screenshot - and a few more, the project is still running into unresolved symbols remain errors - and these errors are strange. I have attached a screenshot of it. 

    These all symbols have origin in include\cbuff_internal.h file. Now, even if I include or I don't include this header file in the projectspec file, the error remains. On top of that, if I do incude, then when I locate the symbols and try opening the declaration, there are two conflicting references. One occurs because I included it, and the second occurs because of adding the /packages directory in compilerBuildOptions. I have also attached the created projectspec file for reference (I've changed the extension to .xml as the .projectspec isn't recognized on the portal).

    I tried multiple combinations, but these errors don't go away. I'm not sure what bug is in there. Please let me know if you have any solution for it. You may please try using the projectspec file to create MSS CCS project as well.

    Thank you

    Arvind

    <?xml version="1.0" encoding="UTF-8"?>
    
    <projectSpec>
        <project
            name="demo18_mss_sdk33"
            deviceFamily="ARM"
            isTargetManual="false"
            device="Cortex R.AWR1843"
            endianness="little"
            cgtVersion="16.9.6.LTS"
            connection="common/targetdb/connections/TIXDS110_Connection.xml"
            toolChain="TI"
            linkerCommandFile="mss_mmw_linker.cmd"
            preannouncebuildStep="Deleting old BIN format image"
            preBuildStep="rm -f ${PROJECT_ROOT}/xwr18xx_mmw_mss.bin;"
            postannouncebuildStep="Preparing BIN format image"
            postBuildStep="${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/out2rprc/out2rprc.exe xwr18xx_mmw_mss.xer4f xwr18xx_mmw_mss.bin;${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/multicore_image_generator/MulticoreImageGen.exe LE 37 0x00000006 xwr18xx_mmw.bin 0x35510000 xwr18xx_mmw_mss.bin 0xb5510000 ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/firmware/radarss/xwr18xx_radarss_rprc.bin 0xd5510000 ${WORKSPACE_LOC}/mmw_dss_18xx/Debug/xwr18xx_mmw_dss.bin;${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/crc_multicore_image/crc_multicore_image.exe xwr18xx_mmw.bin xwr18xx_mmw.bin.tmp;${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe xwr18xx_mmw.bin;"
            description="mmWave Out of box demo: mmw"
            launchWizard="false"
            configurations="Debug, Release"
            compilerBuildOptions="
            -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 -eo=.oer4f
            -I${PROJECT_ROOT}
            -I${CG_TOOL_ROOT}/include
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages
            -I${COM_TI_MMWAVE_SDK_INCLUDE_PATH}
            -D${COM_TI_MMWAVE_SDK_SYMBOLS}
            -D${BIOS_SYMBOLS}
            -DSOC_XWR18XX
            -DSUBSYS_MSS
            -DDOWNLOAD_FROM_CCS
            -DDebugP_ASSERT_ENABLED
            -D_LITTLE_ENDIAN
            -DMMWAVE_L3RAM_SIZE=0x100000
    		-DMMWAVE_L3RAM_NUM_BANK=8
            -DMMWAVE_SHMEM_TCMA_NUM_BANK=0
            -DMMWAVE_SHMEM_TCMB_NUM_BANK=0
            -DMMWAVE_SHMEM_BANK_SIZE=0x20000
    		-DAPP_RESOURCE_FILE=&apos;&lt;&apos;ti/demo/xwr18xx/mmw/mmw_res.h&apos;&gt;&apos;
            -g --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi"
            linkerBuildOptions="
            -mxwr18xx_mmw_mss.map -oxwr18xx_mmw_mss.xer4f
            -I${COM_TI_MMWAVE_SDK_LIBRARY_PATH}
            -I${CG_TOOL_ROOT}/lib
    		-I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/pinmux/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/uart/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/crc/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/mailbox/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/adcbuf/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/dma/lib
    		-I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/esm/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/gpio/lib
    		-I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/soc/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/edma/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/control/mmwavelink/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/utils/cli/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/control/mmwave/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/control/dpm/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/utils/mathutils/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/osal/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/demo/xwr18xx/mmw/lib
    
    		-llibpinmux_xwr18xx.aer4f
            -llibcrc_xwr18xx.aer4f
    		-llibesm_xwr18xx.aer4f
            -llibuart_xwr18xx.aer4f
    		-llibsoc_xwr18xx.aer4f
            -llibmailbox_xwr18xx.aer4f
            -llibmmwavelink_xwr18xx.aer4f
            -llibmmwave_xwr18xx.aer4f
            -llibadcbuf_xwr18xx.aer4f
            -llibdma_xwr18xx.aer4f
            -llibgpio_xwr18xx.aer4f
            -llibedma_xwr18xx.aer4f
            -llibcli_xwr18xx.aer4f
            -llibdpm_xwr18xx.aer4f
            -llibosal_xwr18xx.aer4f
            -llibmathutils.aer4f
            --define=MMWAVE_L3RAM_SIZE=0x100000
            --define=MMWAVE_L3RAM_NUM_BANK=8
            --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0
            --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0
            --define=MMWAVE_SHMEM_BANK_SIZE=0x20000
    		--reread_libs --diag_warning=225 --diag_wrap=off --display_error_number --warn_sections --xml_link_info=xwr18xx_mmw_mss_linkInfo.xml --rom_model --unused_section_elimination=on --disable_auto_rts -lrtsv7R4_T_le_v3D16_eabi.lib">
    
            <!-- Project properties -->
            <property name="type" value="rtsc"/>
    		<property name="products" value="com.ti.rtsc.SYSBIOS:6.73.01.01;com.ti.MMWAVE_SDK:3.3.0.03;"/>
            <property name="xdcToolsVersion" value="3.50.08.24_core"/>
            <property name="target" value="ti.targets.arm.elf.R4F"/>
            <property name="platform" value="ti.platforms.cortexR:AWR18XX:false:200"/>
            <property name="endianness" value="little"/>
            <property name="output_format" value="elf"/>
            <property name="buildProfile" value="release"/>
            <property name="configuroOptions" value="--compileOptions &quot;--enum_type=int &quot; "/>
    
    		
            <!-- Project files -->
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/demo/xwr18xx/mmw/mss/mss_main.c" openOnCreation="false" excludeFromBuild="false" action="copy"/>
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/demo/xwr18xx/mmw/mss/mmw_mss.cfg" openOnCreation="false" excludeFromBuild="false" action="copy"/>
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/demo/xwr18xx/mmw/mss/mmw_mss.h" openOnCreation="false" excludeFromBuild="false" action="copy"/>
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/demo/xwr18xx/mmw/mss/mmw_cli.c" openOnCreation="false" excludeFromBuild="false" action="copy"/>
    		<file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/demo/utils/mmwdemo_rfparser.c" openOnCreation="false" excludeFromBuild="false" action="copy"/>	
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/demo/utils/mmwdemo_rfparser.h" openOnCreation="false" excludeFromBuild="false" action="copy"/>	
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/demo/utils/mmwdemo_adcconfig.c" openOnCreation="false" excludeFromBuild="false" action="copy"/>	
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/demo/utils/mmwdemo_adcconfig.h" openOnCreation="false" excludeFromBuild="false" action="copy"/>	
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/demo/utils/mmwdemo_monitor.h" openOnCreation="false" excludeFromBuild="false" action="copy"/>	
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/demo/utils/mmwdemo_monitor.c" openOnCreation="false" excludeFromBuild="false" action="copy"/>	
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/demo/xwr18xx/mmw/mss/mmw_mss_linker.cmd" openOnCreation="false" excludeFromBuild="false" action="copy"/>        <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/drivers/cbuff/cbuff.h" openOnCreation="false" excludeFromBuild="false" action="copy"/>	
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/drivers/cbuff/src/cbuff.c" openOnCreation="false" excludeFromBuild="false" action="copy"/>	
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/drivers/cbuff/src/cbuff_lvds.c" openOnCreation="false" excludeFromBuild="false" action="copy"/>
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/drivers/cbuff/src/cbuff_edma.c" openOnCreation="false" excludeFromBuild="false" action="copy"/>
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/drivers/cbuff/src/cbuff_transfer.c" openOnCreation="false" excludeFromBuild="false" action="copy"/>	
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/drivers/cbuff/include/cbuff_internal.h" openOnCreation="false" excludeFromBuild="false" action="copy"/>	
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/drivers/cbuff/include/reg_cbuff.h" openOnCreation="false" excludeFromBuild="false" action="copy"/>
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/utils/hsiheader/hsiheader.h" openOnCreation="false" excludeFromBuild="false" action="copy"/>	
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/utils/hsiheader/src/hsiheader.c" openOnCreation="false" excludeFromBuild="false" action="copy"/>
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/demo/xwr18xx/mmw/mss/mmw_lvds_stream.h" openOnCreation="false" excludeFromBuild="false" action="copy"/>	        
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/demo/xwr18xx/mmw/mss/mmw_lvds_stream.c" openOnCreation="false" excludeFromBuild="false" action="copy"/>	
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/platform/xwr18xx/r4f_linker.cmd" openOnCreation="false" excludeFromBuild="false"/>
    
        </project>
    </projectSpec>
    
    

  • Hi Cesar, 

    Did you have a look at the issue? Please let me know if you have any suggestions on how to address it. Also, I was wondering if the mmw demo for sdk 3.3 was built and tested in CCS by TI. 

    Thank you

  • Hi,

    Please see this related thread

    Please update this projectspec as needed

    thank you

    Cesar

  • Hi Cesar,

    Thank you for replying. The attached projectspec file is where I started working on this problem. Even after requisite modification, the "unresolved symbols remain" issue is present for five variables, and surprisingly, they all are declared in the cbuff_internal.h file. 

    /***************************************************************************************
     * Internal Exported Defintions:
     ***************************************************************************************/
    extern CBUFF_InterfaceFxn       gCBUFFInterfaceFxn[];
    extern CBUFF_Hw_Attrib          gCBUFFHwAttribute;
    extern CBUFF_setupTransferFxn   gInterleavedTransferFxn[];
    extern CBUFF_setupTransferFxn   gNonInterleavedTransferFxn[];
    extern CBUFF_setupTransferFxn   gMultipleChirpNonInterleavedTransferFxn[];
    

    Thanks. 

  • Hi,

    Sorry for the delay

    cbuff is a driver

    C:\ti\mmwave_sdk_03_03_00_03\packages\ti\drivers\cbuff\lib

    It should be included as a lib in the project similar to adcbuf for example

    -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/adcbuf/lib

    Thank you

    Cesar