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: CCS studio building errors and a guide for .cfg modification?

Part Number: AWR1843BOOST
Other Parts Discussed in Thread: SYSBIOS, IWR6843ISK, AWR1843

Hello TI expert!

I am trying to use the AWR1843BOOST for tracking the vehicle, and flashed xwr18xx_mrr_demo.bin from lab0007_medium_range_radar (mmwave automotive tool box 3.6.0, and also tried to use 3.5.0). 

Now I am trying to capture the raw data by using python code for the raspberry pi operation.

I captured the hex data format and decoded using UART Data Output Format.

For now, I would like to modify the configuration of the sensor because it is measuring too many data points and my questions are as follows:

1. CCS studio building error

I followed the instruction on your user guide and tried to build from the source code that you provided. 

However, building is not processed and stopped working while rebuilding the "mrr_18xx_mss" as you can see the below image at 40%. (mrr_18xx_dss was rebuilt completely)

My CCS studio version is 12.4.0 and employed mmwave automotive tool box 3.6.0, or 3.5.0. 

And console messages are as follows:


**** Build of configuration Debug for project mrr_18xx_mss ****

"C:\\ti\\ccs1240\\ccs\\utils\\bin\\gmake" -k -j 16 all -O

rm -f C:/Users/Kyong Hongjoon/workspace_v12/mrr_18xx_mss/mrr_18xx_mss.bin
makefile:176: recipe for target 'pre-build' failed
process_begin: CreateProcess(NULL, rm -f C:/Users/Kyong Hongjoon/workspace_v12/mrr_18xx_mss/mrr_18xx_mss.bin, ...) failed.
make (e=2): SYSTEM CANNOT FIND THE FILE SPECIFIED

gmake[1]: [pre-build] Error 2 (ignored)

Building file: "../mss_mrr.cfg"
Invoking: XDCtools
"C:/ti/xdctools_3_50_08_24_core/xs" --xdcpath="C:/ti/bios_6_73_01_01/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.R4F -p ti.platforms.cortexR:AWR16XX:false:200 -r release -c "C:/ti/ti-cgt-arm_16.9.6.LTS" --compileOptions "--enum_type=int " "../mss_mrr.cfg"
making package.mak (because of package.bld) ...
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring mss_mrr.xer4f from package/cfg/mss_mrr_per4f.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making C:/Users/KYONGH~1/workspace_v12/mrr_18xx_mss/src/sysbios/sysbios.aer4f ...
gmake[1]: Entering directory `C:/Users/KYONGH~1/workspace_v12/mrr_18xx_mss/src/sysbios'
cler4f C:/ti/bios_6_73_01_01/packages/ti/sysbios/BIOS.c ...
asmer4f C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm.asm ...
asmer4f C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/arm/TaskSupport_asm.asm ...
asmer4f C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/arm/v7r/vim/Hwi_asm.sv7R ...
asmer4f C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/arm/v7r/vim/Hwi_asm_switch.sv7R ...
asmer4f C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/arm/exc/Exception_asm.asm ...
asmer4f C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/arm/v7r/tms570/Core_asm.sv7R ...
arer4f BIOS.obj arm_IntrinsicsSupport_asm.obj arm_TaskSupport_asm.obj vim_Hwi_asm.obj vim_Hwi_asm_switch.obj exc_Exception_asm.obj tms570_Core_asm.obj ...
gmake[1]: Leaving directory `C:/Users/KYONGH~1/workspace_v12/mrr_18xx_mss/src/sysbios'
Build of libraries done.
cler4f package/cfg/mss_mrr_per4f.c ...
Finished building: "../mss_mrr.cfg"

Building file: "../common/cfg.c"
Invoking: Arm Compiler
"C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/Kyong Hongjoon/workspace_v12/mrr_18xx_mss" --include_path="C:/ti/mmwave_sdk_03_05_00_04" --include_path="C:/ti/mmwave_sdk_03_05_00_04/packages" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=_LITTLE_ENDIAN --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 --define=SOC_XWR18XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=SHMEM_ALLOC=0x00000008 --define=DebugP_ASSERT_ENABLED -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi --preproc_with_compile --preproc_dependency="common/cfg.d_raw" --obj_directory="common" --cmd_file="configPkg/compiler.opt" "../common/cfg.c"
Finished building: "../common/cfg.c"

Building file: "../mss_mrr_cli.c"
Invoking: Arm Compiler
"C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/Kyong Hongjoon/workspace_v12/mrr_18xx_mss" --include_path="C:/ti/mmwave_sdk_03_05_00_04" --include_path="C:/ti/mmwave_sdk_03_05_00_04/packages" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=_LITTLE_ENDIAN --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 --define=SOC_XWR18XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=SHMEM_ALLOC=0x00000008 --define=DebugP_ASSERT_ENABLED -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi --preproc_with_compile --preproc_dependency="mss_mrr_cli.d_raw" --cmd_file="configPkg/compiler.opt" "../mss_mrr_cli.c"
Finished building: "../mss_mrr_cli.c"

Building file: "../mss_main.c"
Invoking: Arm Compiler
"C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --include_path="C:/Users/Kyong Hongjoon/workspace_v12/mrr_18xx_mss" --include_path="C:/ti/mmwave_sdk_03_05_00_04" --include_path="C:/ti/mmwave_sdk_03_05_00_04/packages" --include_path="C:/ti/ti-cgt-arm_16.9.6.LTS/include" --define=_LITTLE_ENDIAN --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 --define=SOC_XWR18XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=SHMEM_ALLOC=0x00000008 --define=DebugP_ASSERT_ENABLED -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi --preproc_with_compile --preproc_dependency="mss_main.d_raw" --cmd_file="configPkg/compiler.opt" "../mss_main.c"
Finished building: "../mss_main.c"

Building target: "mrr_18xx_mss.xer4f"
Invoking: Arm Linker
"C:/ti/ti-cgt-arm_16.9.6.LTS/bin/armcl" -mv7R4 --code_state=16 --float_support=VFPv3D16 -me -O3 --define=_LITTLE_ENDIAN --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 --define=SOC_XWR18XX --define=SUBSYS_MSS --define=DOWNLOAD_FROM_CCS --define=SHMEM_ALLOC=0x00000008 --define=DebugP_ASSERT_ENABLED -g --c99 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --enum_type=int --abi=eabi -z -m"mrr_18xx_mss.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ti-cgt-arm_16.9.6.LTS/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/control/mmwave/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/control/mmwavelink/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/drivers/crc/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/drivers/esm/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/drivers/gpio/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/drivers/osal/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/drivers/pinmux/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/drivers/mailbox/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/drivers/dma/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/drivers/soc/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/drivers/uart/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/drivers/canfd/lib" -i"C:/ti/mmwave_sdk_03_05_00_04/packages/ti/utils/cli/lib" -i"C:/ti/ti-cgt-arm_16.9.6.LTS/include" --reread_libs --disable_auto_rts --define=MMWAVE_L3RAM_SIZE=0x100000 --diag_warning=225 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="mrr_18xx_mss.xml" --rom_model --unused_section_elimination=on -o "mrr_18xx_mss.xer4f" "./mss_main.obj" "./mss_mrr_cli.obj" "./common/cfg.obj" "../mss_mrr_linker.cmd" "../r4f_linker.cmd" -l"configPkg/linker.cmd" -llibosal_xwr18xx.aer4f -llibesm_xwr18xx.aer4f -llibgpio_xwr18xx.aer4f -llibsoc_xwr18xx.aer4f -llibmailbox_xwr18xx.aer4f -llibpinmux_xwr18xx.aer4f -llibcrc_xwr18xx.aer4f -llibDMA_xwr18xx.aer4f -llibuart_xwr18xx.aer4f -llibcanfd_xwr18xx.aer4f -llibmmwavelink_xwr18xx.aer4f -llibmmwave_xwr18xx.aer4f -llibcli_xwr18xx.aer4f -lrtsv7R4_T_le_v3D16_eabi.lib -llibc.a
<Linking>
Finished building target: "mrr_18xx_mss.xer4f"

C:/ti/mmwave_sdk_03_05_00_04/packages/scripts/ImageCreator/out2rprc/out2rprc.exe mrr_18xx_mss.xer4f mrr_18xx_mss.bin
Parsing the input object file, mrr_18xx_mss.xer4f.
Appending zeros 0
Appending zeros 256
File conversion complete!
C:/ti/mmwave_sdk_03_05_00_04/packages/scripts/ImageCreator/multicore_image_generator/MulticoreImageGen.exe LE 37 0x00000008 xwr18xx_mrr_demo.bin 0x35510000 C:/Users/Kyong Hongjoon/workspace_v12/mrr_18xx_mss/Debug/mrr_18xx_mss.bin 0xb5510000 C:/ti/mmwave_sdk_03_05_00_04/firmware/radarss/xwr18xx_radarss_rprc.bin 0xd5510000 C:/Users/Kyong Hongjoon/workspace_v12/mrr_18xx_dss/Debug/mrr_18xx_dss.bin

2. CFG modification

I want to change some of the configuration of the sensor, let's say I want to reduce the measured points and modify the SNR of cfarcfg.

How can I change the sensor parameters? I have used IWR6843ISK before and it was easily modified by sending .cfg file to the sensor through UART.

But it seems like the parameters of the AWR1843BOOST is not easily changed through sending a  command or using .cfg file.

Should it be changed through changing the parameters on the common, dss, mss files?

And Is there a specific guide for tuning the parameters of AWR1843?

3. Built-in cfg?

Can you specify the configuration of AWR1843BOOST that is initially built-in?

  • Hi,

    Let's address your first question regarding building.

    Please make sure you are importing the CCS project as described in

    Slides 24,25

    mmwave_automotive_toolbox_3_6_0\labs\lab0007_medium_range_radar\docs\MediumRangeRadar_DeveloperGuide.pdf

    As menitoned in the release notes, this lab requires SDK 3.5.0.4

    Thank you

    Cesar

  • Hi Cesar. 

    I erased the SDK, CCS and re-install again several times but still cannot build the mss files.

    dss files seem well built but once I rebuild the mss projects, the building process always stuck at the 40%.

    Is there any other ways to change parameters, preferences, or settings?

    Attached are preferences of my CCS and error messages. 

  • Can you please show me a snapshot of the ccs workspace folder that has been created for this project?

    After importing the two ccs projectspec:

                          labs\lab0007_medium_range_radar\src\mrr_dss.projectspec

                          labs\lab0007_medium_range_radar\src\mrr_mss.projectspec

    You should have two folders in the ccs workspace

                          mrr_18xx_dss

                          mrr_18xx_mss

    Do you have these folders?

    Thank you

    Cesar

     

  • Hello Cesar

    I can see two folders in the workspace. 

  • Hi

    Sorry for the delay

    This looks good. It seems that the binaries have been built successfully. Do you still see any errors?

    thank you

    Cesar