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: Latest traffic monitoring on AWR1843

Expert 2985 points
Part Number: AWR1843BOOST
Other Parts Discussed in Thread: IWR1843BOOST, , AWR1843, UNIFLASH, IWR1843

Hi,

In the latest industrial toolbox 4.0.0, there is new traffic monitoring example on IWR1843BOOST (http://dev.ti.com/tirex/explore/node?node=AAd49J3UJXesWW0BZaoiBQ__VLyFKFf__LATEST).

What I have is AWR1843BOOST. So I tried this new version of traffic monitoring on AWR1843BOOST.

After flashing the board, I got an error when I run it as below

I have changed the mode to SOP[2:0]=001 when I run it. And the AWR1843 device is ES2.0 based on the reading of '502AD' on its surface.

My question is do I have to use IWR1843BOOST instead of AWR1843BOOST? I didn't see any functional difference between these two.

Thanks,

Feng

  • Former Member
    0 Former Member

    Hello,

    Are you sure you have an 1843 Device? Only ES1.0 has been released and the package info should show '502AC'. 

    The error you are seeing is related to the COM port availability. You should make sure you have the SOP mode set, then hit NRST. Also check that you don't have any other applications open that could be holding onto the COM port (close any other visualizers and Uniflash). 

    You can test the COM ports by also opening a terminal (Tera Term) for the CFG port at 115200 Baud rate. Hit enter. Then type in version. You should see the device information come back.

    Amanda

  • Hi,

    I'm sure it's AWR1843 with '502AD'. Maybe I'm wrong about that it's ES2.0. By the way, how to tell AWR1843 is ES1.0 or ES2.0?

    Thanks. I just want to make sure the latest traffic monitoring example can also work on AWR1843 (ES1.0 or 2.0 or both?).

    Thanks,

    Feng

  • Former Member
    0 Former Member in reply to Feng

    Hello,

    I've confirmed the same issue as what you've observed. This lab was only tested for IWR1843 since it's part of the Industrial Toolbox. Can you try recompiling for AWR1843 by changing the device from IWR1843 to AWR1832 in both of the projectspecs and then importing to CCS and recompiling?

    device="IWR1843" -> device="AWR1843"

    Amanda

     

  • Hi,

    I tried to rebuild the project with AWR1843 configuration as below.

    I got the same error as before.

    Would you please try to rebuild the project with AWR1843 configuration? 

    Thanks,

    Feng

  • I tried what you said to check the version through COM port. It failed. With flashing the .bin file under C:\ti\mmwave_industrial_toolbox_4_0_0\labs\out_of_box_demo\18xx_mmwave_sdk\prebuilt_binaries, I can get the correct connection through COM port.

    Thanks,

    Feng

  • Can you also make sure that IWR1843BOOST with the default .bin under C:\ti\mmwave_industrial_toolbox_4_0_0\labs\traffic_monitoring\18xx_68xx_traffic_monitoring\prebuilt_binaries works? 

    If so, I could order one IWR1843BOOST for quick evaluation. Then I'd solve the problem on AWR1843BOOST with your help later on.

    Thanks,

    Feng

  • Former Member
    0 Former Member in reply to Feng

    Hello Feng,

    I've verified that the pre-compiled 1843 bin definitely works for the IWR1843BOOST. 

    Thanks for reporting back your debug steps we'll have to look at what modifications are needed to support AWR1843BOOST.

    Amanda

  • Thank you, Amanda!

  • Former Member
    0 Former Member in reply to Feng

    Hello Feng,

    There is an error in the projectspec that was uploaded for 18xx. Please replace the 18xx mss projectspec file with the one attached. Change the extension back to .projectspec and recompile.

    The compiled .bin should work with AWR1843 device. I've verified that it runs without error. The toolbox will be updated in the furture with this MSS projectspec

    18xx_traffic_monitoring_mss.txt
    <?xml version="1.0" encoding="UTF-8"?>
    
    <projectSpec>
        <project
            name="traffic_monitoring_18xx_mss"
            deviceFamily="ARM"
            isTargetManual="false"
            device="Cortex R.IWR1843"
            endianness="little"
            cgtVersion="16.9.6.LTS"
            connection="common/targetdb/connections/TIXDS110_Connection.xml"
            toolChain="TI"
            linkerCommandFile="mmw_mss_linker.cmd"
            preannouncebuildStep="Deleting old Metaimage bin file"
            preBuildStep="rm -f ${PROJECT_ROOT}/traffic_monitoring_18xx_demo.bin"
            postannouncebuildStep="Preparing BIN format image"
            postBuildStep="${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/out2rprc/out2rprc.exe traffic_monitoring_18xx_mss.xer4f traffic_monitoring_18xx_mss.tmp;
            ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/multicore_image_generator/MulticoreImageGen.exe LE 37 0x02000006 traffic_monitoring_18xx_demo.bin 0x35510000 traffic_monitoring_18xx_mss.tmp 0xb5510000 ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/firmware/radarss/xwr18xx_radarss_rprc.bin 0xd5510000 ${WORKSPACE_LOC}/traffic_monitoring_18xx_dss/Release/traffic_monitoring_18xx_dss.bin;
            ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/crc_multicore_image/crc_multicore_image.exe traffic_monitoring_18xx_demo.bin traffic_monitoring_18xx_demo.tmp;
            ${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe traffic_monitoring_18xx_demo.bin;"
            description="Traffic Monitoring 18xx - MSS"
            launchWizard="false"
            configurations="Release"
            compilerBuildOptions="
            -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 -eo=.oer4f
            -I${PROJECT_ROOT}
            -I${PROJECT_ROOT}/mss
            -I${PROJECT_ROOT}/common
            -I${CG_TOOL_ROOT}/include
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/demo/utils
            -I${TI_PRODUCTS_DIR}/mathlib_c674x_3_1_2_1/packages
            -I${TI_PRODUCTS_DIR}/dsplib_c64Px_3_4_0_0/packages
            -I${TI_PRODUCTS_DIR}/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16_imre/c64P
            -I${TI_PRODUCTS_DIR}/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P
            -I${COM_TI_MMWAVE_INDUSTRIAL_TOOLBOX_INSTALL_DIR}/labs/common/src/dpu/trackerproc
            -I${COM_TI_MMWAVE_INDUSTRIAL_TOOLBOX_INSTALL_DIR}/labs/common/src/dpu/aoaproc
            -I${COM_TI_MMWAVE_INDUSTRIAL_TOOLBOX_INSTALL_DIR}/labs/common/src/dpu/aoaproc/include
            -I${COM_TI_MMWAVE_INDUSTRIAL_TOOLBOX_INSTALL_DIR}/labs/common/src/dpc/objectdetectionandtracking/objdetdsp
            -I${COM_TI_MMWAVE_INDUSTRIAL_TOOLBOX_INSTALL_DIR}/labs/common/src/dpc/objectdetectionandtracking/objdetdsp/include
            -I${COM_TI_MMWAVE_INDUSTRIAL_TOOLBOX_INSTALL_DIR}/labs/common/src/dpc/objectdetectionandtracking/objdetrangehwa
            -I${COM_TI_MMWAVE_INDUSTRIAL_TOOLBOX_INSTALL_DIR}/labs/common/src/dpc/objectdetectionandtracking/objdetrangehwa/include
            -DSOC_XWR18XX
            -DSUBSYS_MSS
            -DMMWAVE_L3RAM_NUM_BANK=6
            -DMMWAVE_SHMEM_TCMA_NUM_BANK=0
            -DMMWAVE_SHMEM_TCMB_NUM_BANK=0
            -DMMWAVE_SHMEM_BANK_SIZE=0x20000
            -DMMWAVE_L3_CODEMEM_SIZE=0x100
            -DDOWNLOAD_FROM_CCS
            -DDebugP_ASSERT_ENABLED
            -D_LITTLE_ENDIAN
            -DOBJDET_NO_RANGE
            -DGTRACK_3D
            -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="
            -mtraffic_monitoring_18xx_mss.map -otraffic_monitoring_18xx_mss.xer4f
            -I${PROJECT_ROOT}
            -I${CG_TOOL_ROOT}/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/control/mmwave/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/control/mmwavelink/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/control/dpm/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/adcbuf/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/crc/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/dma/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/edma/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/hwa/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/mailbox/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/osal/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/pinmux/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/soc/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/uart/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/utils/cli/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/utils/mathutils/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/datapath/dpu/rangeproc/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/datapath/dpedma/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/drivers/cbuff/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/utils/hsiheader/lib
            -I${COM_TI_MMWAVE_SDK_INSTALL_DIR}/packages/ti/alg/gtrack/lib
            -I${COM_TI_MMWAVE_INDUSTRIAL_TOOLBOX_INSTALL_DIR}/labs/common/src/dpu/trackerproc/lib
            -llibosal_xwr18xx.aer4f
            -llibesm_xwr18xx.aer4f
            -llibgpio_xwr18xx.aer4f
            -llibsoc_xwr18xx.aer4f
            -llibpinmux_xwr18xx.aer4f
            -llibcrc_xwr18xx.aer4f
            -llibuart_xwr18xx.aer4f
            -llibmailbox_xwr18xx.aer4f
            -llibmmwavelink_xwr18xx.aer4f
            -llibmmwave_xwr18xx.aer4f
            -llibadcbuf_xwr18xx.aer4f
            -llibdma_xwr18xx.aer4f
            -llibedma_xwr18xx.aer4f
            -llibcli_xwr18xx.aer4f
            -llibhwa_xwr18xx.aer4f
            -llibdpm_xwr18xx.aer4f
            -llibmathutils.aer4f
            -llibcbuff_xwr18xx.aer4f
            -llibhsiheader_xwr18xx.aer4f
            -llibrangeproc_hwa_xwr18xx.aer4f
            -llibdpedma_hwa_xwr18xx.aer4f
            -llibgtrack3D.aer4f
            -llibtrackerproc_xwr18xx.aer4f
            --define=MMWAVE_L3RAM_NUM_BANK=6
            --define=MMWAVE_SHMEM_TCMA_NUM_BANK=0
            --define=MMWAVE_SHMEM_TCMB_NUM_BANK=0
            --define=MMWAVE_SHMEM_BANK_SIZE=0x20000
            --define=MMWAVE_L3_CODEMEM_SIZE=0x100
            --reread_libs --diag_warning=225 --diag_error=10015 --diag_wrap=off --display_error_number --warn_sections --xml_link_info=xwr18xx_mmw_demo_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:03.03.00.02;com.ti.mmwave_industrial_toolbox:4.0.latest"/>
            <property name="xdcToolsVersion" value="3.50.08.24_core"/>
            <property name="target" value="ti.targets.arm.elf.R4Ft"/>
            <property name="platform" value="ti.platforms.cortexR:IWR18XX: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_INDUSTRIAL_TOOLBOX_INSTALL_DIR/labs/common/src/dpc/objectdetectionandtracking/objdetrangehwa/src/objdetrangehwa.c" openOnCreation="false" excludeFromBuild="false" action="copy"/>
            <file path="mss/mss_main.c" targetDirectory="mss" openOnCreation="false" excludeFromBuild="false" action="copy"/>
            <file path="mss/mmw_cli.c" targetDirectory="mss" openOnCreation="false" excludeFromBuild="false" action="copy"/>
            <file path="mss/mmw_lvds_stream.c" targetDirectory="mss" openOnCreation="false" excludeFromBuild="false" action="copy"/>
            <file path="mss/tracker_utils.c" targetDirectory="mss" openOnCreation="false" excludeFromBuild="false" action="copy"/>
            <file path="mss/tracker_utils.h" targetDirectory="mss" openOnCreation="false" excludeFromBuild="false" action="copy"/>
            <file path="mss/mmw_mss.h" targetDirectory="mss" openOnCreation="false" excludeFromBuild="false" action="copy"/>
            <file path="common/mmw_config.h" targetDirectory="common" openOnCreation="false" excludeFromBuild="false" action="copy"/>
            <file path="common/mmw_output.h" targetDirectory="common" openOnCreation="false" excludeFromBuild="false" action="copy"/>
            <file path="common/tracker_output.h" targetDirectory="common" openOnCreation="false" excludeFromBuild="false" action="copy"/>
            <file path="mmw_res.h" openOnCreation="false" excludeFromBuild="false" action="copy"/>
            <file path="mss/mmw_mss.cfg" targetDirectory="mss" openOnCreation="false" excludeFromBuild="false" action="copy"/>
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/demo/utils/mmwdemo_rfparser.c" openOnCreation="false" targetDirectory="mss" excludeFromBuild="false" action="copy"/>
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/demo/utils/mmwdemo_adcconfig.c" openOnCreation="false" targetDirectory="mss" excludeFromBuild="false" action="copy"/>
            <file path="COM_TI_MMWAVE_SDK_INSTALL_DIR/packages/ti/demo/utils/mmwdemo_monitor.c" openOnCreation="false" targetDirectory="mss" excludeFromBuild="false" action="copy"/>
            <file path="mss/mmw_mss_linker.cmd" targetDirectory="mss" openOnCreation="false" excludeFromBuild="false" action="copy"/>
            <file path="mss/r4f_linker.cmd" targetDirectory="mss" openOnCreation="false" excludeFromBuild="false" action="copy"/>
    
        </project>
    </projectSpec>
    

    Amanda

  • Thank you, Amanda. It works like a charm!

    Regards,

    Feng