Other Parts Discussed in Thread: MMWAVE-L-SDK, SYSCONFIG
Hi Team,
I got segmentation fault when building project with Linux CCS. Could you advise how to debug this issue?
Building target: "motion_and_presence_detection_demo_xwrL64xx-evm_m4fss0-0_freertos_ti-arm-clang.out" Invoking: Arm Linker "/home/vivint/ti/ti-cgt-armllvm_2.1.3.LTS/bin/tiarmclang" -mcpu=cortex-m4 -mfloat-abi=hard -mlittle-endian -mthumb -DSOC_XWRL64XX -DGTRACK_3D=1 -DTRACKER_MAX_NUM_TR=10 -D_DEBUG_=1 -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -mno-unaligned-access -Wl,-m"motion_and_presence_detection_demo.Debug.map" -Wl,-i"/builds/radar_rs01/hb/copy-of-hummingbird-radar-on-wnc/project/ti_6432_app_golden" -Wl,-i"/builds/radar_rs01/hb/copy-of-hummingbird-radar-on-wnc/project/ti_6432_app_golden/source/alg/gtrack/lib" -Wl,-i"/builds/radar_rs01/hb/copy-of-hummingbird-radar-on-wnc/project/ti_6432_app_golden/source/alg/featExtract/spectrumBased/lib" -Wl,-i"/builds/radar_rs01/hb/copy-of-hummingbird-radar-on-wnc/project/ti_6432_app_golden/source/alg/classifier/targetClassifier/lib" -Wl,-i"/builds/radar_rs01/hb/copy-of-hummingbird-radar-on-wnc/project/ti_6432_app_golden/source/kernel/freertos/lib" -Wl,-i"/builds/radar_rs01/hb/copy-of-hummingbird-radar-on-wnc/project/ti_6432_app_golden/source/drivers/lib" -Wl,-i"/builds/radar_rs01/hb/copy-of-hummingbird-radar-on-wnc/project/ti_6432_app_golden/source/datapath/lib" -Wl,-i"/builds/radar_rs01/hb/copy-of-hummingbird-radar-on-wnc/project/ti_6432_app_golden/source/board/lib" -Wl,-i"/builds/radar_rs01/hb/copy-of-hummingbird-radar-on-wnc/project/ti_6432_app_golden/source/control/lib" -Wl,-i"/builds/radar_rs01/hb/copy-of-hummingbird-radar-on-wnc/project/ti_6432_app_golden/source/utils/lib" -Wl,-i"/builds/radar_rs01/hb/copy-of-hummingbird-radar-on-wnc/project/ti_6432_app_golden/firmware/mmwave_dfp/mmwavelink/lib/xWRLx432" -Wl,-i"/builds/radar_rs01/hb/copy-of-hummingbird-radar-on-wnc/project/ti_6432_app_golden/firmware/mmwave_dfp/fecsslib/lib/xWRLx432" -Wl,-i"/home/vivint/ti/ti-cgt-armllvm_2.1.3.LTS/lib" -Wl,--reread_libs -Wl,--diag_wrap=off -Wl,--display_error_number -Wl,--warn_sections -Wl,--xml_link_info="motion_and_presence_detection_demo_xwrL64xx-evm_m4fss0-0_freertos_ti-arm-clang_linkInfo.xml" -Wl,--ram_model -o "motion_and_presence_detection_demo_xwrL64xx-evm_m4fss0-0_freertos_ti-arm-clang.out" "./common_full.o" "./syscfg/ti_dpl_config.o" "./syscfg/ti_drivers_config.o" "./syscfg/ti_drivers_open_close.o" "./syscfg/ti_pinmux_config.o" "./syscfg/ti_power_clock_config.o" "./syscfg/ti_board_config.o" "./syscfg/ti_board_open_close.o" "./main.o" "./mmw_cli.o" "./mmw_flash.o" "./motion_detect.o" "./tracker_utils.o" "/builds/radar_rs01/hb/copy-of-hummingbird-radar-on-wnc/project/ti_6432_app_golden/examples/mmw_demo/motion_and_presence_detection/xwrL64xx-evm/m4fss0-0_freertos/ti-arm-clang/linker.cmd" -Wl,-lalg_gtrack3d.xwrL64xx.m4f.ti-arm-clang.debug.lib -Wl,-lalg_featExtract.xwrL64xx.m4f.ti-arm-clang.debug.lib -Wl,-lalg_classifier.xwrL64xx.m4f.ti-arm-clang.debug.lib -Wl,-lfreertos.xwrL64xx.m4f.ti-arm-clang.debug.lib -Wl,-ldatapath_tracker3d.xwrL64xx.m4f.ti-arm-clang.debug.lib -Wl,-ldrivers.xwrL64xx.m4f.ti-arm-clang.debug.lib -Wl,-lboard.xwrL64xx.m4f.ti-arm-clang.debug.lib -Wl,-lcontrol.xwrL64xx.m4f.ti-arm-clang.debug.lib -Wl,-lutils.xwrL64xx.m4f.ti-arm-clang.debug.lib -Wl,-lmmwavelink_m4.lib -Wl,-lfecss_rom_m4.lib -Wl,-llibc.a Finished building target: "motion_and_presence_detection_demo_xwrL64xx-evm_m4fss0-0_freertos_ti-arm-clang.out" /home/vivint/ti/ccs1250/ccs/utils/bin/gmake -C /builds/radar_rs01/hb/copy-of-hummingbird-radar-on-wnc/project/ti_6432_app_golden/motion_and_presence_detection_demo_xwrL64xx-evm_m4fss0-0_freertos_ti-arm-clang -f makefile_ccs_bootimage_gen OUTNAME=motion_and_presence_detection_demo_xwrL64xx-evm_m4fss0-0_freertos_ti-arm-clang PROFILE=Debug MCU_PLUS_SDK_PATH=/builds/radar_rs01/hb/copy-of-hummingbird-radar-on-wnc/project/ti_6432_app_golden CG_TOOL_ROOT=/home/vivint/ti/ti-cgt-armllvm_2.1.3.LTS CCS_INSTALL_DIR=/home/vivint/ti/ccs1250/ccs CCS_IDE_MODE=desktop Boot image: xwrL64xx:m4fss0-0:freertos:ti-arm-clang ... mono /builds/radar_rs01/hb/copy-of-hummingbird-radar-on-wnc/project/ti_6432_app_golden/tools/boot/out2rprc/out2rprc Debug/motion_and_presence_detection_demo_xwrL64xx-evm_m4fss0-0_freertos_ti-arm-clang.out motion_and_presence_detection_demo.Debug_rprc.bin >> Debug/temp_stdout_Debug.txt /builds/radar_rs01/hb/copy-of-hummingbird-radar-on-wnc/project/ti_6432_app_golden/tools/boot/multicoreImageGen/MulticoreImageGen LE 0 0x400000 0 /builds/radar_rs01/hb/copy-of-hummingbird-radar-on-wnc/project/ti_6432_app_golden/motion_and_presence_detection_demo_xwrL64xx-evm_m4fss0-0_freertos_ti-arm-clang/Debug/motion_and_presence_detection_demo.Debug.appimage 0x35510000 motion_and_presence_detection_demo.Debug_rprc.bin 0xb5510000 /builds/radar_rs01/hb/copy-of-hummingbird-radar-on-wnc/project/ti_6432_app_golden/firmware/mmwave_dfp/rfsfirmware/xWRL6432/mmwave_rfs_rprc.bin >> Debug/temp_stdout_Debug.txt /builds/radar_rs01/hb/copy-of-hummingbird-radar-on-wnc/project/ti_6432_app_golden/tools/boot/crcMulticoreImageGen/crcMulticoreimage /builds/radar_rs01/hb/copy-of-hummingbird-radar-on-wnc/project/ti_6432_app_golden/motion_and_presence_detection_demo_xwrL64xx-evm_m4fss0-0_freertos_ti-arm-clang/Debug/motion_and_presence_detection_demo.Debug.appimage motion_and_presence_detection_demo.Debug_temp.appimage >> Debug/temp_stdout_Debug.txt makefile_ccs_bootimage_gen:55: recipe for target 'all' failed Segmentation fault (core dumped) gmake[3]: *** [all] Error 139 gmake[2]: [post-build] Error 2 (ignored) makefile:173: recipe for target 'post-build' failed **** Build Finished ****