Part Number:AWR1843BOOST
各位前輩們大家好
我在第一次 Rebuild lab0011_mrr_beamsteering 的時候會產生一些 Warnings,請問這樣是否正常呢?
因為我碰到與此問題<<AWR1843BOOST: Technical issues, MRR lab>>一樣狀況,UART 的 DATA 是收不到訊號的。
請問我是不是哪邊設定錯誤或是少設定到了呢?或是要使用那些SDK的Version組合才能正確執行呢?謝謝。
Rebuild mrr_18xx_dss 會產生以下 Warnings,Console如文最後的 CDT Build Console mrr_18xx_dss.txt
#10068-D no matching section
#10370-D Possible codesize or performance degradation. Section ".text:SOC_init:libsoc_xwr18xx.ae674<soc.oe674>" has calls to rts routines, but rts is placed out of range from call site at 0x20002460, or in a different section. To optimize codesize, either 1) place rts closer to call site, or 2) place rts in same section, or 3) compile with –disable_push_pop.
#10370-D Possible codesize or performance degradation. Section ".text:SOC_init:libsoc_xwr18xx.ae674<soc.oe674>" has calls to rts routines, but rts is placed out of range from call site at 0x20002590, or in a different section. To optimize codesize, either 1) place rts closer to call site, or 2) place rts in same section, or 3) compile with –disable_push_pop.
#9-D nested comment is not allowed
Product mmWave SDK v3.2.0.04 is not currently installed. A compatible version 3.6.0.00-LTS will be used.
然而 Rebuild mrr_18xx_mss 會產生以下Errors 與 Warnings
#167 too few arguments in function call
gmake: *** [all] Error 2
gmake[1]: *** [mss_main.obj] Error 1
gmake[1]: Target 'main-build' not remade because of errors.
#121-D return value type does not match the function type
#169-D argument of type "CANFD_MCANInitParams *" is incompatible with parameter of type "uint8_t"
#169-D argument of type "int32_t *" is incompatible with parameter of type "const CANFD_MCANInitParams *"
#169-D argument of type "volatile rlRfPhaseShiftCfg_t *" is incompatible with parameter of type "rlRfPhaseShiftCfg_t *"
#179-D variable "endIndex" was declared but never referenced
#179-D variable "scanCount" was declared but never referenced
#179-D variable "startIndex" was declared but never referenced
Product mmWave SDK v3.2.0.04 is not currently installed. A compatible version 3.6.0.00-LTS will be used.
然後我直接修改Code將
變為
Error是沒了,但還是有以下 Warnings,Console如文最後 CDT Build Console mrr_18xx_mss.txt
#121-D return value type does not match the function type
#169-D argument of type "volatile rlRfPhaseShiftCfg_t *" is incompatible with parameter of type "rlRfPhaseShiftCfg_t *"
#179-D variable "endIndex" was declared but never referenced
#179-D variable "scanCount" was declared but never referenced
#179-D variable "startIndex" was declared but never referenced
Product mmWave SDK v3.2.0.04 is not currently installed. A compatible version 3.6.0.00-LTS will be used.
然而執行 Debug 時候 出現以下 Console,吃載會在1.7W~4點多W之間飄,可確認 code 有在運作
[Cortex_R4_0] Debug: Launched the Initialization Task
Debug: Initialized the mmWave module
Debug: Synchronized the mmWave module
Set LDO Bypass
Debug: MMWave has been configured for MRR.
Debug: Sensor will start momentarily.
但是使用TeraTerm或是 mRR_Viz_1_4.exe 依然無法收到任何Data 訊號在UART上面傳輸。
請問是否任何我能嘗試檢查的參數?
或是建議的環境版本組合嗎?
謝謝。
環境版本如下
CDT Build Console mrr_18xx_mss.txt
**** Clean-only build of configuration Debug for project mrr_18xx_mss **** "C:\\ti\\ccs1200\\ccs\\utils\\bin\\gmake" -k -j 8 clean -O DEL /F "mrr_18xx_mss.hex" "configPkg\linker.cmd" "configPkg\compiler.opt" "mrr_18xx_mss.xer4f" DEL /F "mss_main.obj" "mss_mrr_cli.obj" "common\cfg.obj" DEL /F "mss_main.d" "mss_mrr_cli.d" "common\cfg.d" RMDIR /S/Q "configPkg\" 找不到 C:\Users\T000090\workspace_v12\mrr_18xx_mss\Debug\mrr_18xx_mss.hex 找不到 C:\Users\T000090\workspace_v12\mrr_18xx_mss\Debug\mrr_18xx_mss.xer4f Finished clean **** Build Finished **** **** Build of configuration Debug for project mrr_18xx_mss **** "C:\\ti\\ccs1200\\ccs\\utils\\bin\\gmake" -k -j 8 all -O rm -f C:/Users/T000090/workspace_v12/mrr_18xx_mss/mrr_18xx_mss.bin makefile:190: recipe for target 'pre-build' failed process_begin: CreateProcess(NULL, rm -f C:/Users/T000090/workspace_v12/mrr_18xx_mss/mrr_18xx_mss.bin, ...) failed. make (e=2): 系統找不到指定的檔案。 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/T000090/workspace_v12/mrr_18xx_mss/src/sysbios/sysbios.aer4f ... gmake[1]: Entering directory `C:/Users/T000090/workspace_v12/mrr_18xx_mss/src/sysbios' gmake[1]: Nothing to be done for `all'. gmake[1]: Leaving directory `C:/Users/T000090/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/T000090/workspace_v12/mrr_18xx_mss" --include_path="C:/ti/mmwave_sdk_03_06_00_00-LTS" --include_path="C:/ti/mmwave_sdk_03_06_00_00-LTS/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/T000090/workspace_v12/mrr_18xx_mss" --include_path="C:/ti/mmwave_sdk_03_06_00_00-LTS" --include_path="C:/ti/mmwave_sdk_03_06_00_00-LTS/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" "../mss_mrr_cli.c", line 307: warning #179-D: variable "startIndex" was declared but never referenced "../mss_mrr_cli.c", line 308: warning #179-D: variable "endIndex" was declared but never referenced "../mss_mrr_cli.c", line 309: warning #179-D: variable "scanCount" was declared but never referenced 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/T000090/workspace_v12/mrr_18xx_mss" --include_path="C:/ti/mmwave_sdk_03_06_00_00-LTS" --include_path="C:/ti/mmwave_sdk_03_06_00_00-LTS/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" "../mss_main.c", line 644: warning #169-D: argument of type "volatile rlRfPhaseShiftCfg_t *" is incompatible with parameter of type "rlRfPhaseShiftCfg_t *" "../mss_main.c", line 890: warning #121-D: return value type does not match the function type 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_06_00_00-LTS/packages/ti/control/mmwave/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/control/mmwavelink/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/esm/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/gpio/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/osal/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/pinmux/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/mailbox/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/dma/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/soc/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/uart/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/canfd/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/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_06_00_00-LTS/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 Appending zeros 79556 File conversion complete! C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/multicore_image_generator/MulticoreImageGen.exe LE 37 0x00000008 xwr18xx_mrr_demo.bin 0x35510000 C:/Users/T000090/workspace_v12/mrr_18xx_mss/Debug/mrr_18xx_mss.bin 0xb5510000 C:/ti/mmwave_sdk_03_06_00_00-LTS/firmware/radarss/xwr18xx_radarss_rprc.bin 0xd5510000 C:/Users/T000090/workspace_v12/mrr_18xx_dss/Debug/mrr_18xx_dss.bin Number of Input Files 3 Number of zeros 48 Number of zeros 48 C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/crc_multicore_image/crc_multicore_image.exe xwr18xx_mrr_demo.bin xwr18xx_mrr_demo.bin.tmp size of App Image is 275136 bytes cur_crc_read_addr 128 cur_crc_read_addr 91072 cur_crc_read_addr 125952 Failed to remove CRC temp file C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/append_bin_crc/gen_bincrc32.exe xwr18xx_mrr_demo.bin >>>> Binary CRC32 = 714f6636 <<<< >>>> Total bytes in binary file 275140 <<<< **** Build Finished ****
CDT Build Console mrr_18xx_dss.txt
**** Build of configuration Debug for project mrr_18xx_dss **** "C:\\ti\\ccs1200\\ccs\\utils\\bin\\gmake" -k -j 8 all -O rm -f C:/Users/T000090/workspace_v12/mrr_18xx_dss/mrr_18xx_dss.bin makefile:197: recipe for target 'pre-build' failed process_begin: CreateProcess(NULL, rm -f C:/Users/T000090/workspace_v12/mrr_18xx_dss/mrr_18xx_dss.bin, ...) failed. make (e=2): 系統找不到指定的檔案。 gmake[1]: [pre-build] Error 2 (ignored) Building file: "../dss_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.elf.C674 -p ti.platforms.c6x:AWR16XX:false:600 -r release -c "C:/ti/ti-cgt-c6000_8.3.3" "../dss_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 dss_mrr.xe674 from package/cfg/dss_mrr_pe674.cfg ... generating custom ti.sysbios library makefile ... Starting build of library sources ... making C:/Users/T000090/workspace_v12/mrr_18xx_dss/src/sysbios/sysbios.ae674 ... gmake[1]: Entering directory `C:/Users/T000090/workspace_v12/mrr_18xx_dss/src/sysbios' cle674 C:/ti/bios_6_73_01_01/packages/ti/sysbios/BIOS.c ... asme674 C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/c64p/Exception_asm.s64P ... asme674 C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/c64p/Hwi_asm.s62 ... asme674 C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/c64p/Hwi_asm_switch.s62 ... asme674 C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/c64p/Hwi_disp_always.s64P ... asme674 C:/ti/bios_6_73_01_01/packages/ti/sysbios/rts/ti/tls_get_tp.asm ... asme674 C:/ti/bios_6_73_01_01/packages/ti/sysbios/family/c62/TaskSupport_asm.s62 ... are674 BIOS.obj c64p_Exception_asm.obj c64p_Hwi_asm.obj c64p_Hwi_asm_switch.obj c64p_Hwi_disp_always.obj ti_tls_get_tp.obj c62_TaskSupport_asm.obj ... gmake[1]: Leaving directory `C:/Users/T000090/workspace_v12/mrr_18xx_dss/src/sysbios' Build of libraries done. cle674 package/cfg/dss_mrr_pe674.c ... Finished building: "../dss_mrr.cfg" Building file: "../gen_twiddle_fft16x16.c" Invoking: C6000 Compiler "C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/T000090/workspace_v12/mrr_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_06_00_00-LTS/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ti-cgt-c6000_8.3.3/include" --define=SOC_XWR18XX --define=SUBSYS_DSS --define=ENABLE_ADVANCED_FRAME --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3RAM_SIZE=0x100000 --define=SHMEM_ALLOC=0x00000008 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --disable_push_pop --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="gen_twiddle_fft16x16.d_raw" --cmd_file="configPkg/compiler.opt" "../gen_twiddle_fft16x16.c" Finished building: "../gen_twiddle_fft16x16.c" Building file: "../dss_config_edma_util.c" Invoking: C6000 Compiler "C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/T000090/workspace_v12/mrr_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_06_00_00-LTS/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ti-cgt-c6000_8.3.3/include" --define=SOC_XWR18XX --define=SUBSYS_DSS --define=ENABLE_ADVANCED_FRAME --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3RAM_SIZE=0x100000 --define=SHMEM_ALLOC=0x00000008 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --disable_push_pop --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss_config_edma_util.d_raw" --cmd_file="configPkg/compiler.opt" "../dss_config_edma_util.c" Finished building: "../dss_config_edma_util.c" Building file: "../gen_twiddle_fft32x32.c" Invoking: C6000 Compiler "C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/T000090/workspace_v12/mrr_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_06_00_00-LTS/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ti-cgt-c6000_8.3.3/include" --define=SOC_XWR18XX --define=SUBSYS_DSS --define=ENABLE_ADVANCED_FRAME --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3RAM_SIZE=0x100000 --define=SHMEM_ALLOC=0x00000008 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --disable_push_pop --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="gen_twiddle_fft32x32.d_raw" --cmd_file="configPkg/compiler.opt" "../gen_twiddle_fft32x32.c" Finished building: "../gen_twiddle_fft32x32.c" Building file: "../config_edma_util_hwa.c" Invoking: C6000 Compiler "C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/T000090/workspace_v12/mrr_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_06_00_00-LTS/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ti-cgt-c6000_8.3.3/include" --define=SOC_XWR18XX --define=SUBSYS_DSS --define=ENABLE_ADVANCED_FRAME --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3RAM_SIZE=0x100000 --define=SHMEM_ALLOC=0x00000008 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --disable_push_pop --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="config_edma_util_hwa.d_raw" --cmd_file="configPkg/compiler.opt" "../config_edma_util_hwa.c" Finished building: "../config_edma_util_hwa.c" Building file: "../common/cfg.c" Invoking: C6000 Compiler "C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/T000090/workspace_v12/mrr_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_06_00_00-LTS/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ti-cgt-c6000_8.3.3/include" --define=SOC_XWR18XX --define=SUBSYS_DSS --define=ENABLE_ADVANCED_FRAME --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3RAM_SIZE=0x100000 --define=SHMEM_ALLOC=0x00000008 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --disable_push_pop --obj_extension=.oe674 --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: "../clusteringDBscan.c" Invoking: C6000 Compiler "C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/T000090/workspace_v12/mrr_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_06_00_00-LTS/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ti-cgt-c6000_8.3.3/include" --define=SOC_XWR18XX --define=SUBSYS_DSS --define=ENABLE_ADVANCED_FRAME --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3RAM_SIZE=0x100000 --define=SHMEM_ALLOC=0x00000008 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --disable_push_pop --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="clusteringDBscan.d_raw" --cmd_file="configPkg/compiler.opt" "../clusteringDBscan.c" Finished building: "../clusteringDBscan.c" Building file: "../config_hwa_util.c" Invoking: C6000 Compiler "C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/T000090/workspace_v12/mrr_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_06_00_00-LTS/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ti-cgt-c6000_8.3.3/include" --define=SOC_XWR18XX --define=SUBSYS_DSS --define=ENABLE_ADVANCED_FRAME --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3RAM_SIZE=0x100000 --define=SHMEM_ALLOC=0x00000008 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --disable_push_pop --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="config_hwa_util.d_raw" --cmd_file="configPkg/compiler.opt" "../config_hwa_util.c" Finished building: "../config_hwa_util.c" Building file: "../dss_main.c" Invoking: C6000 Compiler "C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/T000090/workspace_v12/mrr_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_06_00_00-LTS/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ti-cgt-c6000_8.3.3/include" --define=SOC_XWR18XX --define=SUBSYS_DSS --define=ENABLE_ADVANCED_FRAME --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3RAM_SIZE=0x100000 --define=SHMEM_ALLOC=0x00000008 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --disable_push_pop --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss_main.d_raw" --cmd_file="configPkg/compiler.opt" "../dss_main.c" Finished building: "../dss_main.c" Building file: "../Extended_Kalman_Filter_xyz.c" Invoking: C6000 Compiler "C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/T000090/workspace_v12/mrr_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_06_00_00-LTS/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ti-cgt-c6000_8.3.3/include" --define=SOC_XWR18XX --define=SUBSYS_DSS --define=ENABLE_ADVANCED_FRAME --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3RAM_SIZE=0x100000 --define=SHMEM_ALLOC=0x00000008 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --disable_push_pop --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="Extended_Kalman_Filter_xyz.d_raw" --cmd_file="configPkg/compiler.opt" "../Extended_Kalman_Filter_xyz.c" Finished building: "../Extended_Kalman_Filter_xyz.c" Building file: "../dss_data_path.c" Invoking: C6000 Compiler "C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --include_path="C:/Users/T000090/workspace_v12/mrr_18xx_dss" --include_path="C:/ti/mmwave_sdk_03_06_00_00-LTS/packages" --include_path="C:/ti/mathlib_c674x_3_1_2_1/packages" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft16x16/c64P" --include_path="C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/src/DSP_fft32x32/c64P" --include_path="C:/ti/ti-cgt-c6000_8.3.3/include" --define=SOC_XWR18XX --define=SUBSYS_DSS --define=ENABLE_ADVANCED_FRAME --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3RAM_SIZE=0x100000 --define=SHMEM_ALLOC=0x00000008 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --disable_push_pop --obj_extension=.oe674 --preproc_with_compile --preproc_dependency="dss_data_path.d_raw" --cmd_file="configPkg/compiler.opt" "../dss_data_path.c" "../dss_data_path.c", line 782: warning #9-D: nested comment is not allowed Finished building: "../dss_data_path.c" Building target: "mrr_18xx_dss.xe674" Invoking: C6000 Linker "C:/ti/ti-cgt-c6000_8.3.3/bin/cl6x" -mv6740 --abi=eabi -O3 --define=SOC_XWR18XX --define=SUBSYS_DSS --define=ENABLE_ADVANCED_FRAME --define=MMWAVE_L3RAM_NUM_BANK=8 --define=MMWAVE_SHMEM_BANK_SIZE=0x20000 --define=MMWAVE_L3RAM_SIZE=0x100000 --define=SHMEM_ALLOC=0x00000008 --define=DOWNLOAD_FROM_CCS --define=DebugP_ASSERT_ENABLED -g --gcc --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --disable_push_pop --obj_extension=.oe674 -z -m"mrr_18xx_dss.map" --heap_size=0x800 --stack_size=0x800 -i"C:/ti/ti-cgt-c6000_8.3.3/lib" -i"C:/Users/T000090/workspace_v12/mrr_18xx_dss" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/control/mmwave/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/control/mmwavelink/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/crc/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/mailbox/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/osal/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/hwa/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/soc/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/uart/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/edma/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/drivers/adcbuf/lib" -i"C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/ti/alg/mmwavelib/lib" -i"C:/ti/dsplib_c64Px_3_4_0_0/packages/ti/dsplib/lib" -i"C:/ti/mathlib_c674x_3_1_2_1/packages/ti/mathlib/lib" -i"C:/ti/ti-cgt-c6000_8.3.3/include" --reread_libs --disable_auto_rts --diag_warning=225 --diag_wrap=off --display_error_number --warn_sections --xml_link_info="xwr18xx_mrr_18xx_dss_linkInfo.xml" --ram_model --unused_section_elimination=on -o "mrr_18xx_dss.xe674" "./Extended_Kalman_Filter_xyz.oe674" "./clusteringDBscan.oe674" "./config_edma_util_hwa.oe674" "./config_hwa_util.oe674" "./dss_config_edma_util.oe674" "./dss_data_path.oe674" "./dss_main.oe674" "./gen_twiddle_fft16x16.oe674" "./gen_twiddle_fft32x32.oe674" "./common/cfg.oe674" "../c674x_linker.cmd" "../dss_mrr_linker.cmd" -l"configPkg/linker.cmd" -llibosal_xwr18xx.ae674 -llibsoc_xwr18xx.ae674 -llibhwa_xwr18xx.ae674 -llibcrc_xwr18xx.ae674 -llibuart_xwr18xx.ae674 -llibmailbox_xwr18xx.ae674 -llibmmwavelink_xwr18xx.ae674 -llibmmwave_xwr18xx.ae674 -lmathlib.ae674 -ldsplib.ae64P -llibedma_xwr18xx.ae674 -llibadcbuf_xwr18xx.ae674 -llibmmwavealg_xwr18xx.ae674 -lrts6740_elf.lib -llibc.a <Linking> "../dss_mrr_linker.cmd", line 79: warning #10068-D: no matching section warning #10370-D: Possible codesize or performance degradation. Section ".text:SOC_init:libsoc_xwr18xx.ae674<soc.oe674>" has calls to rts routines, but rts is placed out of range from call site at 0x20002590, or in a different section. To optimize codesize, either 1) place rts closer to call site, or 2) place rts in same section, or 3) compile with --disable_push_pop. warning #10370-D: Possible codesize or performance degradation. Section ".text:SOC_init:libsoc_xwr18xx.ae674<soc.oe674>" has calls to rts routines, but rts is placed out of range from call site at 0x20002460, or in a different section. To optimize codesize, either 1) place rts closer to call site, or 2) place rts in same section, or 3) compile with --disable_push_pop. Finished building target: "mrr_18xx_dss.xe674" C:/ti/mmwave_sdk_03_06_00_00-LTS/packages/scripts/ImageCreator/out2rprc/out2rprc.exe mrr_18xx_dss.xe674 mrr_18xx_dss.bin Parsing the input object file, mrr_18xx_dss.xe674. Appending zeros 8387896 Appending zeros 8511776 Appending zeros 8515752 File conversion complete! **** Build Finished ****
Shine:
请问先不要编译,用lab0011_mrr_beamsteering\prebuilt_binaries里的xwr18xx_mrr_demo.bin文件能运行吗?
,
Johns Chuang:
Hi Shine
感謝回覆,使用prebuilt_binaries裡面的 bin檔,是可以使用GUI\mRR_Viz_1_4.exe顯示的
使用 mmwave_sdk_03_06_00_00-LTS\packages\ti\demo\xwr18xx\mmw\xwr18xx_mmw_demo.bin
也是可以使用mmWave_Demo_Visualizer來操作,
但就只有改成
mmwave_sdk_03_06_00_00-LTS\packages\ti\utils\ccsdebug\xwr18xx_ccsdebug.bin
的時候,無法在CCS的Debug下,看到UART上有傳資料出來。
,
Shine:
Johns Chuang 说:無法在CCS的Debug下,看到UART上有傳資料出來。
mmw demo也不能在ccs debug模式下运行吗?
,
Johns Chuang:
Hi Shine
所以不一定要更新為xwr18xx_ccsdebug.bin,才能使用ccs debug,
直接使用
mmwave_sdk_03_06_00_00-LTS\packages\ti\demo\xwr18xx\mmw\xwr18xx_mmw_demo.bin
也能使用ccs debug功能嗎??
謝謝。
,
Shine:
Johns Chuang 说:所以不一定要更新為xwr18xx_ccsdebug.bin,才能使用ccs debug,
ccs debug一定要xwr18xx_ccsdebug.bin,ccs load的是.out文件,不是xwr18xx_mmw_demo.bin文件。建议先在ccs debug模式下load demo里自带的.out文件,看是否能运行。如果可以运行,再去看重新编译的.out文件为什么不能运行。
,
Johns Chuang:
Hi Shine
感謝解釋,mmw Demo 是可以在ccs debug模式下使用的。
那這樣了話,請問我能檢查哪裡,來確認為什麼我無法使用CCS來Rebuild lab0011_mrr_beamsteering 出可執行的檔案呢?
謝謝。