主题中讨论的其他器件:HALCOGEN
工具/软件:TI C/C++编译器
我正在开发一个目标文件、以支持使用 MATLAB Embedded Coder 进行代码生成工作流程、如 https://www.mathworks.com/help/releases/R2017a/supportpkg/armcortexr/develop-a-target.html 中所述。 我 分别在 HalCoGen 和 CCSv9中为我的硬件创建了*。HCG、*。DIL 和*。ccxml 文件。 然后、在为 Simulink 模型生成 C 代码后立即运行的 MATLAB 函数中、我调用 HALCOGEN 来生成特定于硬件的源代码和 armcl 实用程序、以编译所有代码并将其链接到可执行的*。out 文件中。 最后、我调用 loadti 实用程序来在硬件上加载可执行文件。
遗憾的是、在加载过程中、我遇到了以下问题
===生成(null)===
###正在启动模型的构建过程:测试
###在构建文件夹中生成代码:C:\Users\witch\MATLAB \test_ERT_RTW
###生成的'test'代码是最新的、因为未找到结构、参数或代码替换库更改。
###评估模型中指定的 PostCodeGenCommand
###使用工具链:TI ARM 代码生成工具 v5.2.x | gmake (64位 Windows)
###'C:\Users\witch\MATLAB \test_ERT_RTW\test.mk 是最新的
###生成'test':"C:\PROGRA~1\MATLAB \R2017a\bin\win64\gmake"-f test.mk ALL
C:\Users\witch\MATLAB \test_ERT_RTW>CD。
C:\Users\witch\MATLAB \test_ERT_RTW>如果"="("C:\PROGRA~1\MATLAB~\bin\win64\gmake"-f test.mk)否则("C:\PROGRA 1\MATLAB \R2017a\win64\gmake"-f test.mk)
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl --compile_only -i"C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/include"--preproc_with_compile --preproc_ependence="HL_CAN.pp"--obj_directory="/"-mv7R5 --code_state=32 --float_support=VFP_hl_cand=-out-out_excl-/ud_id_-/vidag=v16-en_id_ab-out-out_id=vid_-out_idag_-vidag_-out-out_-out-out-out-out-out- DIAG_WARNING=225 -DMMODEL=TEST -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_EXCE_CODE=0 -DINTEGETR=0 -DCLESTE=0 -DMONESTE_ENTR=0 -DMTR_ENTR=0 -DMTR_DMTR_ENTR=0 -DMTREM_ENTR=0 -DMACT_DESTR=0 -DMTR_ENTR=0 -DMTR_ENTR=0 -DMTR=0 -DMTR_DMTR_DMTR_ENTR=0 -DMACT_DESDESD0 -DMTR=0 -DMTR=0 -DMTR_COUNT_TR_ENTR=0 -DMTR_DMTR=0 -DMTR_DMTR=0 -DMACT_DMTRIC=0 -DMACT_DMTR_DMTRIC=0 -DMACT_DESDESD0 -DMTR_ENTR=0 -DMTR_ENTR=0 /Users/Witch/MATLAB /Users/Witch/MATLAB/test_ert_rtw/source/HL_can.c /Users/Witch/MATLAB/test_ert_rtw/include~~~~~/Users/Witch/MATLAB/test_ert_rtw~-
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl -compile_only -i"C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/include"-preproc_with_compile -preproc_Dependency="hl_evc.pp"-obj_directory="/"-mv7R5 -code_state=32 -float_support=vp_sup相关性-"hl_ev_excl-/-obj_directory=-/-display_off-out-vid=-vabi-packed -ex-id_id_-/-vidag_abi-display-v16-en_id=vid_off-/ DIAG_WARNING=225 -DMMODEL=TEST -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_EXCE_CODE=0 -DINTEGETR=0 -DCLESTE=0 -DMONESTE_ENTR=0 -DMTR_ENTR=0 -DMTR_DMTR_ENTR=0 -DMTREM_ENTR=0 -DMACT_DESTR=0 -DMTR_ENTR=0 -DMTR_ENTR=0 -DMTR=0 -DMTR_DMTR_DMTR_ENTR=0 -DMACT_DESDESD0 -DMTR=0 -DMTR=0 -DMTR_COUNT_TR_ENTR=0 -DMTR_DMTR=0 -DMTR_DMTR=0 -DMACT_DMTRIC=0 -DMACT_DMTR_DMTRIC=0 -DMACT_DESDESD0 -DMTR_ENTR=0 -DMTR_ENTR=0 /Users/Witch/MATLAB /Users/Witch/MATLAB/test_ert_rtw/source/HL_epc.c /Users/Witch/MATLAB/test_ert_rtw/include~~~~~/Users/Witch/MATLAB/test_ert_rtw~-
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl --compile_only -i"C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/include"--preproc_with_compile --preproc_dependence="HL_errater.pP"--obj_directory="/"-mv7R5 --code_state=32 --float_support=VFP_errat=p-mp-/idat_en_off-/-mpid_-/-mpue_display-/vid=-vidag_id=-v16-en_off-id_id=aid_id_-v16-en_id=vidate-pack-/ DIAG_WARNING=225 -DMMODEL=TEST -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_EXCE_CODE=0 -DINTEGETR=0 -DCLESTE=0 -DMONESTE_ENTR=0 -DMTR_ENTR=0 -DMTR_DMTR_ENTR=0 -DMTREM_ENTR=0 -DMACT_DESTR=0 -DMTR_ENTR=0 -DMTR_ENTR=0 -DMTR=0 -DMTR_DMTR_DMTR_ENTR=0 -DMACT_DESDESD0 -DMTR=0 -DMTR=0 -DMTR_COUNT_TR_ENTR=0 -DMTR_DMTR=0 -DMTR_DMTR=0 -DMACT_DMTRIC=0 -DMACT_DMTR_DMTRIC=0 -DMACT_DESDESD0 -DMTR_ENTR=0 -DMTR_ENTR=0 /Users/Witch/MATLAB /Users/Witch/MATLAB/test_ert_rtw/source/HL_errata.c /Users/Witch/MATLAB/test_ert_rtw/include~~~~~/Users/Witch/MATLAB/test_ert_rtw~-
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl --compile_only -i"C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/include"--preproc_with_compile --preproc_dependence="HL_errata_SSWF021_45.pp"--obj_directory="/"-mv7R5 --code_state=32 --preproc_dependency="hl_sswF021_45.pp"---obj_directory=vid=vid_off-out-vid=vid=vid_support=vidat=-vidat=16 -vidat_off-vidat=vid_support=vidat DIAG_WARNING=225 -DMMODEL=TEST -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_EXCE_CODE=0 -DINTEGETR=0 -DCLESTE=0 -DMONESTE_ENTR=0 -DMTR_ENTR=0 -DMTR_DMTR_ENTR=0 -DMTREM_ENTR=0 -DMACT_DESTR=0 -DMTR_ENTR=0 -DMTR_ENTR=0 -DMTR=0 -DMTR_DMTR_DMTR_ENTR=0 -DMACT_DESDESD0 -DMTR=0 -DMTR=0 -DMTR_COUNT_TR_ENTR=0 -DMTR_DMTR=0 -DMTR_DMTR=0 -DMACT_DMTRIC=0 -DMACT_DMTR_DMTRIC=0 -DMACT_DESDESD0 -DMTR_ENTR=0 -DMTR_ENTR=0 /Users/Witch/MATLAB /Users/Witch/MATLAB/test_ert_rtw/source/HL_errata_SSWF021_45.c /Users/Witch/MATLAB/test_ert_rtw/include~~~~~/Users/Witch/MATLAB/test_ert_rtw~-
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl --compile_only -i"C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/include"--preproc_with_compile --preproc_dependence="HL_ESM.pp"--obj_directory="/"-mv7R5 --code_state=32 --float_support=VFP_support=hl_ecurity=-obj_directory=""---- v7ral-abi-display_off-out_id=vid=-out-out_id=vid=v-out-out-out_en_en_en_id=v-out-out-out DIAG_WARNING=225 -DMMODEL=TEST -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_EXCE_CODE=0 -DINTEGETR=0 -DCLESTE=0 -DMONESTE_ENTR=0 -DMTR_ENTR=0 -DMTR_DMTR_ENTR=0 -DMTREM_ENTR=0 -DMACT_DESTR=0 -DMTR_ENTR=0 -DMTR_ENTR=0 -DMTR=0 -DMTR_DMTR_DMTR_ENTR=0 -DMACT_DESDESD0 -DMTR=0 -DMTR=0 -DMTR_COUNT_TR_ENTR=0 -DMTR_DMTR=0 -DMTR_DMTR=0 -DMACT_DMTRIC=0 -DMACT_DMTR_DMTRIC=0 -DMACT_DESDESD0 -DMTR_ENTR=0 -DMTR_ENTR=0 /Users/Witch/MATLAB /Users/Witch/MATLAB/test_ert_rtw/source/HL_esm.c /Users/Witch/MATLAB/test_ert_rtw/include~~~~~/Users/Witch/MATLAB/test_ert_rtw~-
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl -compile_only -i"C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/include"-preproc_with_compile -preproc_Dependency="hl_gio.pp"-obj_directory="/"-mv7R5 -code_state=32 -float_support=vproc_support=hl_gio.pp"-obj_directory=-display-/vid_off-/vidag-/vidag_off-/vidag-/vidag_ab-/vid_off-/v/-/vidag_ab- DIAG_WARNING=225 -DMMODEL=TEST -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_EXCE_CODE=0 -DINTEGETR=0 -DCLESTE=0 -DMONESTE_ENTR=0 -DMTR_ENTR=0 -DMTR_DMTR_ENTR=0 -DMTREM_ENTR=0 -DMACT_DESTR=0 -DMTR_ENTR=0 -DMTR_ENTR=0 -DMTR=0 -DMTR_DMTR_DMTR_ENTR=0 -DMACT_DESDESD0 -DMTR=0 -DMTR=0 -DMTR_COUNT_TR_ENTR=0 -DMTR_DMTR=0 -DMTR_DMTR=0 -DMACT_DMTRIC=0 -DMACT_DMTR_DMTRIC=0 -DMACT_DESDESD0 -DMTR_ENTR=0 -DMTR_ENTR=0 /Users/Witch/MATLAB /Users/Witch/MATLAB/test_ert_rtw/source/HL_gio.c /Users/Witch/MATLAB/test_ert_rtw/include~~~~~/Users/Witch/MATLAB/test_ert_rtw~-
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl -compile_only -i"C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/include"-preproc_with_compile -preproc_dependence="hl_nmpu.pP"-obj_directory="/"-mv7R5 -code_state=32 --float_support=vabi_support=vidp16 -wrap_display-vabi_number=vid_off-vidag-vidag-vid_off-vid_-vidag-vidag_off -vidag_ab-v16-bi-display-vid_off- DIAG_WARNING=225 -DMMODEL=TEST -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_EXCE_CODE=0 -DINTEGETR=0 -DCLESTE=0 -DMONESTE_ENTR=0 -DMTR_ENTR=0 -DMTR_DMTR_ENTR=0 -DMTREM_ENTR=0 -DMACT_DESTR=0 -DMTR_ENTR=0 -DMTR_ENTR=0 -DMTR=0 -DMTR_DMTR_DMTR_ENTR=0 -DMACT_DESDESD0 -DMTR=0 -DMTR=0 -DMTR_COUNT_TR_ENTR=0 -DMTR_DMTR=0 -DMTR_DMTR=0 -DMACT_DMTRIC=0 -DMACT_DMTR_DMTRIC=0 -DMACT_DESDESD0 -DMTR_ENTR=0 -DMTR_ENTR=0 /Users/Witch/MATLAB /Users/Witch/MATLAB/test_ert_rtw/source/HL_nmpu.c /Users/Witch/MATLAB/test_ert_rtw/include~~~~~/Users/Witch/MATLAB/test_ert_rtw~-
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl --compile_only -i"C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/include"--preproc_with_compile --preproc_ependence="HL_notification.pP"--obj_directory="/"-mv7R5 --code_state=32 --float_support=VFP_notification=-obj_directory=""---obj_display_off-out-out-out-out-out-out-out-out-out-out-out-out-out-out-out-out-out-out-out-out-out-out-out-out-out-ud DIAG_WARNING=225 -DMMODEL=TEST -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_EXCE_CODE=0 -DINTEGETR=0 -DCLESTE=0 -DMONESTE_ENTR=0 -DMTR_ENTR=0 -DMTR_DMTR_ENTR=0 -DMTREM_ENTR=0 -DMACT_DESTR=0 -DMTR_ENTR=0 -DMTR_ENTR=0 -DMTR=0 -DMTR_DMTR_DMTR_ENTR=0 -DMACT_DESDESD0 -DMTR=0 -DMTR=0 -DMTR_COUNT_TR_ENTR=0 -DMTR_DMTR=0 -DMTR_DMTR=0 -DMACT_DMTRIC=0 -DMACT_DMTR_DMTRIC=0 -DMACT_DESDESD0 -DMTR_ENTR=0 -DMTR_ENTR=0 /Users/Witch/MATLAB /Users/Witch/MATLAB/test_ert_rtw/source/HL_notification.c /Users/Witch/MATLAB/test_ert_rtw/include~~~~~/Users/Witch/MATLAB/test_ert_rtw~-
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl -compile_only -i"C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/include"-preproc_with_compile -preproc_dependence="hl_pinmux.ppp"-obj_directory="/"-mv7R5 -code_state=32 --float_support=vabi_pinmux-mpage=-display-/vidi=vidat_off-/vidag-/vidi=vidag_off-vidag-/vidag_ab-/vidag=v16-/vid_off-/vidag_ DIAG_WARNING=225 -DMMODEL=TEST -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_EXCE_CODE=0 -DINTEGETR=0 -DCLESTE=0 -DMONESTE_ENTR=0 -DMTR_ENTR=0 -DMTR_DMTR_ENTR=0 -DMTREM_ENTR=0 -DMACT_DESTR=0 -DMTR_ENTR=0 -DMTR_ENTR=0 -DMTR=0 -DMTR_DMTR_DMTR_ENTR=0 -DMACT_DESDESD0 -DMTR=0 -DMTR=0 -DMTR_COUNT_TR_ENTR=0 -DMTR_DMTR=0 -DMTR_DMTR=0 -DMACT_DMTRIC=0 -DMACT_DMTR_DMTRIC=0 -DMACT_DESDESD0 -DMTR_ENTR=0 -DMTR_ENTR=0 /Users/Witch/MATLAB /Users/Witch/MATLAB/test_ert_rtw/source/HL_pinmux.c /Users/Witch/MATLAB/test_ert_rtw/include~~~~~/Users/Witch/MATLAB/test_ert_rtw~-
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl -compile_only -i"C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/include"-preproc_with_compile -preproc_Dependency="hl_sci.pP"-obj_directory="/"-mv7R5 -code_state=32 -float_support=vproc-display=vid_off-v3b_id=vid_ex-v16-p=vid_pack-ex-/vid_id_-/ovidag_ab-display-/vid_off-vidag_-/vidag_-/vid_ab- DIAG_WARNING=225 -DMMODEL=TEST -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_EXCE_CODE=0 -DINTEGETR=0 -DCLESTE=0 -DMONESTE_ENTR=0 -DMTR_ENTR=0 -DMTR_DMTR_ENTR=0 -DMTREM_ENTR=0 -DMACT_DESTR=0 -DMTR_ENTR=0 -DMTR_ENTR=0 -DMTR=0 -DMTR_DMTR_DMTR_ENTR=0 -DMACT_DESDESD0 -DMTR=0 -DMTR=0 -DMTR_COUNT_TR_ENTR=0 -DMTR_DMTR=0 -DMTR_DMTR=0 -DMACT_DMTRIC=0 -DMACT_DMTR_DMTRIC=0 -DMACT_DESDESD0 -DMTR_ENTR=0 -DMTR_ENTR=0 /Users/Witch/MATLAB /Users/Witch/MATLAB/test_ert_rtw/source/HL_sci.c /Users/Witch/MATLAB/test_ert_rtw/include~~~~~/Users/Witch/MATLAB/test_ert_rtw~-
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl -compile_only -i"C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/include"-preproc_with_compile -preproc_Dependency="hl_sys_dma.pP"-obj_directory="/"-mv7R5 -code_state=32 --float_support=vabi_support=vid_pack-/excl-/vid_number=vid_off-vidag-vid_ab-/-vidag=vid_off-vidag_-/vidag=vidag_-/-vid_ab-v DIAG_WARNING=225 -DMMODEL=TEST -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_EXCE_CODE=0 -DINTEGETR=0 -DCLESTE=0 -DMONESTE_ENTR=0 -DMTR_ENTR=0 -DMTR_DMTR_ENTR=0 -DMTREM_ENTR=0 -DMACT_DESTR=0 -DMTR_ENTR=0 -DMTR_ENTR=0 -DMTR=0 -DMTR_DMTR_DMTR_ENTR=0 -DMACT_DESDESD0 -DMTR=0 -DMTR=0 -DMTR_COUNT_TR_ENTR=0 -DMTR_DMTR=0 -DMTR_DMTR=0 -DMACT_DMTRIC=0 -DMACT_DMTR_DMTRIC=0 -DMACT_DESDESD0 -DMTR_ENTR=0 -DMTR_ENTR=0 /Users/Witch/MATLAB /Users/Witch/MATLAB/test_ert_rtw/source/HL_sys_dma.c /Users/Witch/MATLAB/test_ert_rtw/include~~~~~/Users/Witch/MATLAB/test_ert_rtw~-
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl -compile_only -i"C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/include"-preproc_with_compile -preproc_ependence="hl_sys_pcr.pP"-obj_directory="/"-mv7R5 -code_state=32 --float_support=vabi_support=vid_pack-/ovid_type=-excl-/vabi_number=vid_off-/vid_off-vidag-vidag-vid_-vidag-vid_-/vidag_off-/vid_ DIAG_WARNING=225 -DMMODEL=TEST -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_EXCE_CODE=0 -DINTEGETR=0 -DCLESTE=0 -DMONESTE_ENTR=0 -DMTR_ENTR=0 -DMTR_DMTR_ENTR=0 -DMTREM_ENTR=0 -DMACT_DESTR=0 -DMTR_ENTR=0 -DMTR_ENTR=0 -DMTR=0 -DMTR_DMTR_DMTR_ENTR=0 -DMACT_DESDESD0 -DMTR=0 -DMTR=0 -DMTR_COUNT_TR_ENTR=0 -DMTR_DMTR=0 -DMTR_DMTR=0 -DMACT_DMTRIC=0 -DMACT_DMTR_DMTRIC=0 -DMACT_DESDESD0 -DMTR_ENTR=0 -DMTR_ENTR=0 /Users/Witch/MATLAB /Users/Witch/MATLAB/test_ert_rtw/source/HL_sys_pcr.c /Users/Witch/MATLAB/test_ert_rtw/include~~~~~/Users/Witch/MATLAB/test_ert_rtw~-
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl -compile_only -i"C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/include"-preproc_with_compile -preproc_Dependency="hl_sys_phanty.pP"-obj_directory="/"-mv7R5 -code_state=32 -float_support=vabi_support=vidat_pack-/ovidat_display-/vabi_number=-vidag-vid_off-vidag-vidag-/vidat_off-vidag_-vidag-/vidag_off-v DIAG_WARNING=225 -DMMODEL=TEST -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_EXCE_CODE=0 -DINTEGETR=0 -DCLESTE=0 -DMONESTE_ENTR=0 -DMTR_ENTR=0 -DMTR_DMTR_ENTR=0 -DMTREM_ENTR=0 -DMACT_DESTR=0 -DMTR_ENTR=0 -DMTR_ENTR=0 -DMTR=0 -DMTR_DMTR_DMTR_ENTR=0 -DMACT_DESDESD0 -DMTR=0 -DMTR=0 -DMTR_COUNT_TR_ENTR=0 -DMTR_DMTR=0 -DMTR_DMTR=0 -DMACT_DMTRIC=0 -DMACT_DMTR_DMTRIC=0 -DMACT_DESDESD0 -DMTR_ENTR=0 -DMTR_ENTR=0 /Users/Witch/MATLAB /Users/Witch/MATLAB/test_ert_rtw/source/HL_sys_phantom.c /Users/Witch/MATLAB/test_ert_rtw/include~~~~~/Users/Witch/MATLAB/test_ert_rtw~-
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl -compile_only -i"C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/include"-preproc_with_compile -preproc_Dependency="hl_sys_pMM.pp"-obj_directory="/"-mv7R5 -code_state=32 --float_support=vabi_support=vid_off-vid_-excl-/ovid_number=-vid_ab-vid_off-vidag=-v16-en_pack-vid_off-vid_id=vid_ab-vid_-vidag_- DIAG_WARNING=225 -DMMODEL=TEST -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_EXCE_CODE=0 -DINTEGETR=0 -DCLESTE=0 -DMONESTE_ENTR=0 -DMTR_ENTR=0 -DMTR_DMTR_ENTR=0 -DMTREM_ENTR=0 -DMACT_DESTR=0 -DMTR_ENTR=0 -DMTR_ENTR=0 -DMTR=0 -DMTR_DMTR_DMTR_ENTR=0 -DMACT_DESDESD0 -DMTR=0 -DMTR=0 -DMTR_COUNT_TR_ENTR=0 -DMTR_DMTR=0 -DMTR_DMTR=0 -DMACT_DMTRIC=0 -DMACT_DMTR_DMTRIC=0 -DMACT_DESDESD0 -DMTR_ENTR=0 -DMTR_ENTR=0 /Users/Witch/MATLAB /Users/Witch/MATLAB/test_ert_rtw/source/HL_sys_pmm.c /Users/Witch/MATLAB/test_ert_rtw/include~~~~~/Users/Witch/MATLAB/test_ert_rtw~-
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl -compile_only -i"C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/include"-preproc_with_compile -preproc_Dependency="hl_sys_startup.pP"-obj_directory="/"-mv7R5 -code_state=32 --float_support=vabi_support=vid_boot_mp"-obj_directory=-/-display_off-mvabi=vid=vid=-/vidag_off-vidag-vid=-vid_off-/vidag_off-vidag_- DIAG_WARNING=225 -DMMODEL=TEST -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_EXCE_CODE=0 -DINTEGETR=0 -DCLESTE=0 -DMONESTE_ENTR=0 -DMTR_ENTR=0 -DMTR_DMTR_ENTR=0 -DMTREM_ENTR=0 -DMACT_DESTR=0 -DMTR_ENTR=0 -DMTR_ENTR=0 -DMTR=0 -DMTR_DMTR_DMTR_ENTR=0 -DMACT_DESDESD0 -DMTR=0 -DMTR=0 -DMTR_COUNT_TR_ENTR=0 -DMTR_DMTR=0 -DMTR_DMTR=0 -DMACT_DMTRIC=0 -DMACT_DMTR_DMTRIC=0 -DMACT_DESDESD0 -DMTR_ENTR=0 -DMTR_ENTR=0 /Users/Witch/MATLAB /Users/Witch/MATLAB/test_ert_rtw/source/HL_sys_startup.c /Users/Witch/MATLAB/test_ert_rtw/include~~~~~/Users/Witch/MATLAB/test_ert_rtw~-
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl -compile_only -i"C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/include"-preproc_with_compile -preproc_dependence="hl_sys_vim.pP"-obj_directory="/"-mv7R5 -code_state=32 -float_support=vabi_support=-vid_off-vidag=-vid_abi-display-v16-en_packed -vid_error-/-vidag_off-vidag=-vidag_ab-v16-en_off-vid_-vidag_off-/ DIAG_WARNING=225 -DMMODEL=TEST -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_EXCE_CODE=0 -DINTEGETR=0 -DCLESTE=0 -DMONESTE_ENTR=0 -DMTR_ENTR=0 -DMTR_DMTR_ENTR=0 -DMTREM_ENTR=0 -DMACT_DESTR=0 -DMTR_ENTR=0 -DMTR_ENTR=0 -DMTR=0 -DMTR_DMTR_DMTR_ENTR=0 -DMACT_DESDESD0 -DMTR=0 -DMTR=0 -DMTR_COUNT_TR_ENTR=0 -DMTR_DMTR=0 -DMTR_DMTR=0 -DMACT_DMTRIC=0 -DMACT_DMTR_DMTRIC=0 -DMACT_DESDESD0 -DMTR_ENTR=0 -DMTR_ENTR=0 /Users/Witch/MATLAB /Users/Witch/MATLAB/test_ert_rtw/source/HL_sys_vim.c /Users/Witch/MATLAB/test_ert_rtw/include~~~~~/Users/Witch/MATLAB/test_ert_rtw~-
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl --compile_only -i"C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/include"--preproc_with_compile --preproc_ependence="HL_system.pP"--obj_directory="/"-mv7R5 --code_state=32 --float_support=VFP_system.pp"--obj_directory=""---- vabi_off-code_display=-out-out-out-out-out-out-out-out-out-out-out-out-out-out-out-out-out-out-out-out-out-out-out- DIAG_WARNING=225 -DMMODEL=TEST -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_EXCE_CODE=0 -DINTEGETR=0 -DCLESTE=0 -DMONESTE_ENTR=0 -DMTR_ENTR=0 -DMTR_DMTR_ENTR=0 -DMTREM_ENTR=0 -DMACT_DESTR=0 -DMTR_ENTR=0 -DMTR_ENTR=0 -DMTR=0 -DMTR_DMTR_DMTR_ENTR=0 -DMACT_DESDESD0 -DMTR=0 -DMTR=0 -DMTR_COUNT_TR_ENTR=0 -DMTR_DMTR=0 -DMTR_DMTR=0 -DMACT_DMTRIC=0 -DMACT_DMTR_DMTRIC=0 -DMACT_DESDESD0 -DMTR_ENTR=0 -DMTR_ENTR=0 /Users/Witch/MATLAB /Users/Witch/MATLAB/test_ert_rtw/source/HL_system.c /Users/Witch/MATLAB/test_ert_rtw/include~~~~~/Users/Witch/MATLAB/test_ert_rtw~-
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl -s -ml -mv7R5 -code_state=32 --float_support=VFPv3D16 --abi=eabi --enum_type=packed --diag_wrap=off --display_error_number --diag_warning=225 C:/Users/Witch/MATLAB/test_ert_rtw/source/HL_sys_core.asm
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl -s -ml -mv7R5 -code_state=32 --float_support=VFPv3D16 --abi=eabi --enum_type=packed --diag_wrap=off --display_error_number --diag_warning=225 C:/Users/Witch/MATLAB/test_ert_rtw/source/HL_sys_intvecs.asm
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl -s -ml -mv7R5 -code_state=32 --float_support=VFPv3D16 --abi=eabi --enum_type=packed --diag_wrap=off --display_error_number --diag_warning=225 C:/Users/Witch/MATLAB/test_ert_rtw/source/HL_sys_mpu.asm
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl -s -ml -mv7R5 -code_state=32 --float_support=VFPv3D16 --abi=eabi --enum_type=packed --diag_wrap=off --display_error_number --diag_warning=225 C:/Users/Witch/MATLAB/test_ert_rtw/source/HL_sys_pmu.asm
"###正在创建独立可执行文件"../test.out"..."
C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/bin/armcl - run_linker --rom_model - search_path=C:/ti/ccs901/ccs/tools/compiler/TI-CGT~3.ls/lib -mv7R5 -m"test.map"- warn_SECTIONS - reread_libs - diag_wrap=off - display_error_warnhl_warn.map-m_svm_vm.obj obj -rom_test_vm.obj obj obj -rom_module_display_infot_m_simulation.hl.obj obj obj obtature_m.ip_m.ip_m.obj obj obj /Users/Witch/MATLAB/test_ert_rtw/source/HL_sys_link.cmd /ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.1.LTS/lib/rtsv7R4_T_be_v3D16_eabi.lib
"###已创建:./test.out"
"###成功生成了所有二进制输出。"
C:\Users\witch\MATLAB \test_ERT_RTW>退出/B 0
在加载之前擦除闪存的必要部分。
起动器命令字符串:"C:\ProgramData\MATLAB \SupportPackages\R2017a\toolbox\target\shared\ti_arm_toolchain\loader\loadti"
启动器命令参数:C:\ti\ccs901\ccs\ccs_base\DebugServer "C:\ProgramData\MATLAB \SupportPackages\R2017a\toolbox\target\shared\ti_arm_toolchain\loader"-r -a -v -c "C:\Users\witch\MATLAB \timsp430lc43\tittrads\ticlcs\target\test\tran\tran\tog.xml"
***** DSS 通用加载程序*****
开始:22:42:58 GMT+0300 (MSK)
正在为指定目标配置调试服务器...
getServer:entry sServerName:DebugServer.1
getServer:获取 DebugServer.1的定义
getServer:构造服务器
getServer:返回 com.ti.debug.engine.scripting.DebugServer@136432db
setConfig:条目 sConfigurationFile:C:\Users\wit\MATLAB \titlems570lc43target\src\TMS570LC43xx.ccxml
setConfig:返回
完成
调试器打开:条目 sBoardName:* sCPUName:*
开始:输入
开始:触发: onServerStarting()
开始:连接到 XPCOM DebugServer
开始:使用指定的配置初始化 DebugServer:"C:\Users\witch\MATLAB\titlems570lc43target\src\TMS570LC43xx.ccxml"
waitUntil:entry com.ti.ccstudio.scripting.environment.ScriptingEnvironment@7a79be86 timeout:无穷大
:CPU 名称:CortexR5
:PartNum:TMS570LC43xx
:家庭:470人
:子系列/ MajorIsa:D
:修订版/ MinorISA:0
:平台:仿真器
处理器 ID:1971336192
:dbname:ArmAdvancedFeatures
:CPU 名称:IcePick
:PartNum:TMS570LC43xx
:家庭:240人
:子系列/ MajorISA:2.
:修订版/ MinorISA:0
:平台:无
:处理器 ID:1006635013
:CPU 名称:DAP
:PartNum:TMS570LC43xx
家庭电话:224
:子系列/ MajorISA:1.
:修订版/ MinorISA:0
:平台:无
:处理器 ID:939525125
waitUntil:return com.ti.ccstudio.scripting.environment.ScriptingEnvironment@7a79be86
开始:触发:onServerStarted()
开始:搜索设备
列表设备:条目
列表器件:找到可调试器件:德州仪器 XDS110 USB 调试探针/CortexR5
列表器件:找到不可调试器件:德州仪器 XDS110 USB 调试探针/IcePick
列表器件:找到了不可调试器件:德州仪器 XDS110 USB 调试探针/DAP
ListDevices:返回
START (开始):返回
调试器打开:返回德州仪器 XDS110 USB 调试探针/CortexR5
setString:条目 ID:FileIODefaultDirectory 值:未定义
setString:return
目标:德州仪器 XDS110 USB 调试探针
正在连接到目标...
连接:输入
已连接:条目
已连接:目标未连接
已连接:返回 false
连接:请求目标连接
waitUntil:条目超时:无限
CortexR5:GEL 输出:闪存@地址0x0的存储器映射设置
Log (日志):现在已连接目标
waitUntil:返回
已连接:条目
已连接:目标已连接
已连接:返回 true
连接:返回
正在重置目标...
重置:进入
RESET:请求目标复位
waitUntil:条目超时:无限
waitUntil:返回
RESET:目标复位
getBoolean:条目 ID:AutoRunToLabelOnReset
getBoolean:返回 false
RESET:返回
testEnv.outFiles:C:\Users\witch\MATLAB\test.out
正在加载 C:\Users\witch\MATLAB\test.out
setString:条目 ID:FlashEraseSelection 值:仅限必要扇区(用于程序加载)
setString:return
loadProgram:entry sFileName:C:\Users\witch\MATLAB\test.out
LOAD:请求程序加载
waitUntil:条目超时:无限
CortexR5:GEL 输出:由于系统复位、闪存@地址0x0的存储器映射设置
CortexR5:GEL 输出:由于系统复位、闪存@地址0x0的存储器映射设置
waitUntil:返回
加载:程序加载成功
getBoolean:条目 ID:AutoRunToLabelOnRestart
getBoolean:返回 true
waitForHaltIfPropertySet:等待暂停
waitUntil:条目超时:无限
因此、很明显、程序本身已成功加载到目标上、但它无法到达入口点函数–main。
请帮助我解决此问题。

