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.

[参考译文] CCS:运行调试时出现问题

Guru**** 675400 points
Other Parts Discussed in Thread: CC430F5123
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/tools/code-composer-studio-group/ccs/f/code-composer-studio-forum/942111/ccs-problem-running-the-debug

主题中讨论的其他器件:CC430F5123

工具/软件:Code Composer Studio

这里是它的堆栈  

****项目 Lab1的配置调试构建****

"C:\\ti\\ccs1010msp430\\ccs\\utils\\bin\\gmake"-k -j 4 all -O

编译文件:"../main.c"
调用:MSP430编译器
"c:/ti/ccs1010msp430/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/bin/cl430 -vmspx --use_hw_mpy=F5 --include_path="C:/ti/ccs1010msp430/ccs/ccs_base/msp430/include --include_path="C:/ti/jalabre_workspace/Lab1/driverlib/MSP432P4xx --include_path="C:/ti/jalabre_workspace/Lab1 --include_path="C:/ti/ccs1010msp430/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/include --include_path="C:--advice:power=all --define=_CC430F5123_--include_erratiase-board=us_pred=inatina-us_super-probaturb_super-pring_driag=us_cp.cp_ma-us_board.cp_supuaturbulation=us_super-board.cp.cp_board.tranag=us_ma-us_board.cp_board.cp_suppage=us_suppage=ination=us_board.prison_board.cp_board.prison_board.cp_sup

>>编译失败
subdir_rules.mk:9:目标'main.obj'的配方失败
"C:\ti\jalabre_workspace\Lab1\driverlib\MSP432P4xx\adc14.h"、第60行:致命错误#1965:无法打开源文件"msp.h"
1在编译"./main.c"时检测到灾难性错误。
编译已终止。
gmake:***[main.obj]错误1.
编译文件:"../driverlib/MSP432P4xx/adc14.c
调用:MSP430编译器
"c:/ti/ccs1010msp430/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/bin/cl430 -vmspx --use_hw_mpy=F5 --include_path="C:/ti/ccs1010msp430/ccs/ccs_base/msp430/include --include_path="C:/ti/jalabre_workspace/Lab1/driverlib/MSP432P4xx --include_path="C:/ti/jalabre_workspace/Lab1 --include_path="C:/ti/ccs1010msp430/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/include --include_path="C:--advice:power=all --define=_CC430F5123_--include_erratinatinatina-drive=supervatinatina-cp4xx-driveratinature-board-driver=us_driverature-board-supervisorit_cp4xx/driver=us_copy_driaturature-board-out_prob-driver=/driverlib/MSP432P4xx/adc14.c --aturb_prob-driverateg_driverateg-cp_driver=us_prob_driver= cp_driverature-driverature-board-drive=us_board-drive=us_driverateg-drive=us-driverateg_

>>编译失败
driverlib/MSP432P4xx/subdir_rules.mk:9:目标'driverlib/MSP432P4xx/adc14.obj'的配方失败
"C:/ti/jalabre_workspace/Lab1/driverlib/MSP432P4xx/adc14.h、第60行:致命错误#1965:无法打开源文件"MSP.h"
1在编译"../driverlib/MSP432P4xx/adc14.c 时检测到灾难性错误。
编译已终止。
gmake:***[driverlib/MSP432P4xx/adc14.obj]错误1.
编译文件:"../driverlib/MSP432P4xx/aes256.c
调用:MSP430编译器
"c:/ti/ccs1010msp430/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/bin/cl430 -vmspx --use_hw_mpy=F5 --include_path="C:/ti/ccs1010msp430/ccs/ccs_base/msp430/include --include_path="C:/ti/jalabre_workspace/Lab1/driverlib/MSP432P4xx /driverlib/MSP432P4xx/aes256.c --include_path="C:/ti/jalabre_workspace/Lab1 --include_path="C:/ti/ccs1010msp430/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/include --include_path="C:--advice:power=all --define=_cc430F5123_--include_erratinatinatina-drive=supervatinatinatina-cp4xx/driver=us_driverature-board-supervisination="p4xx/driver=us_board-supervisinature-board-supervisination="-out_prob_prob_prob_prob-driver=us_driver=us_aturb_cp4xx/driver=us-aturb-aturb-ateg_supervisot-ature-board-ature-board-supervisot-cp_cp4xx/driver=us_cp_

>>编译失败
driverlib/MSP432P4xx/subdir_rules.mk:9:目标'driverlib/MSP432P4xx/AES256.obj'的配方失败
"C:/ti/jalabre_workspace/Lab1/driverlib/MSP432P4xx/aes256.h、第60行:致命错误#1965:无法打开源文件"MSP.h"
1在编译"../driverlib/MSP432P4xx/aes256.c 时检测到灾难性错误。
编译已终止。
gmake:***[driverlib/MSP432P4xx/AES256.obj]错误1.
编译文件:"../driverlib/MSP432P4xx/comp_e.c
调用:MSP430编译器
"c:/ti/ccs1010msp430/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/bin/cl430 -vmspx --use_hw_mpy=F5 --include_path="C:/ti/ccs1010msp430/ccs/ccs_base/msp430/include --include_path="C:/ti/jalabre_workspace/Lab1/driverlib/MSP432P4xx --include_path="C:/ti/jalabre_workspace/Lab1 --include_path="C:/ti/ccs1010msp430/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/include --include_path="C:--advice:power=all --define=_CC430F5123_--include_erratinatina-driveratinatina-supervisot_cp4xx --aturbaturb_cp_driver=us_driverature-board-supervison_cp_driver=/driverlib/MSP432P4xx/comp_e.c --aturbature-driverateg_supervisot_cp_aturb_aturb_ature-drive=us_aturb_prob_prob_prob_supervisot-cp_cp_cp_aturb_aturb_cp_aturb_cp_cp_ateg-cp_ature-driver=-ateg_cp_cp

>>编译失败
driverlib/MSP432P4xx/subdir_rules.mk:9:目标'driverlib/MSP432P4xx/comp_e.obj'的配方失败
"C:/ti/jalabre_workspace/Lab1/driverlib/MSP432P4xx/comp_e.h、第60行:致命错误#1965:无法打开源文件"MSP.h"
1在编译"../driverlib/MSP432P4xx/comp_e.c 时检测到灾难性错误。
编译已终止。
gmake:***[driverlib/MSP432P4xx/comp_e.obj]错误1.
编译文件:"../driverlib/MSP432P4xx/cpu.c
调用:MSP430编译器
"c:/ti/ccs1010msp430/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/bin/cl430 -vmspx --use_hw_mpy=F5 --include_path="C:/ti/ccs1010msp430/ccs/ccs_base/msp430/include --include_path="C:/ti/jalabre_workspace/Lab1/driverlib/MSP432P4xx --include_path="C:/ti/jalabre_workspace/Lab1 --include_path="C:/ti/ccs1010msp430/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/include --include_path="C:--advice:power=all --define=_CC430F5123_--include_erratinatina-driveratinatina-supervison_cp4xx --aturbaturb_cp_driver=us_driveraturb_cp_ature-driver=-cp_ateg_supervison_cp_ature-driverature-board-aturb-cp_cp_aturb-cp_driver=-ateg_driverateg-cp_cp_supervison_cp_ature-driver=/driverlib/MSP432P4xx/cpu.c --ature-driverature-board-cp_cp_board-driver= cp4xx/driveraturb_at

>>编译失败
driverlib/MSP432P4xx/subdir_rules.mk:9:目标'driverlib/MSP432P4xx/CPU .obj'的配方失败
"./driverlib/MSP432P4xx/cpu.c "、第38行:致命错误#1965:无法打开源文件"MSP.h"
1在编译"../driverlib/MSP432P4xx/cpu.c 时检测到灾难性错误。
编译已终止。
gmake:***[driverlib/MSP432P4xx/CPU。obj]错误1.
编译文件:"../driverlib/MSP432P4xx/crc32.c
调用:MSP430编译器
"c:/ti/ccs1010msp430/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/bin/cl430 -vmspx --use_hw_mpy=F5 --include_path="C:/ti/ccs1010msp430/ccs/ccs_base/msp430/include --include_path="C:/ti/jalabre_workspace/Lab1/driverlib/MSP432P4xx /driverlib/MSP432P4xx/crc32.c --include_path="C:/ti/jalabre_workspace/Lab1 --include_path="C:/ti/ccs1010msp430/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/include --include_path="C:--advice:power=all --define=_CC430F5123_--include_erratinatinatina-drive=cp_driveratinature-board-supervisotr-cp_cp4xx/driver=us_board-supervisinature-driver=us_cr32xx --ature-board-driver=us_prob_prob_prob_driver=us_prob_driver=us_prob_prob_driver=us-driveraturb_prob_prob_prob-driver=us-driver=us-driver_cp32_cp_board-driver=us-driver=us_prob-driver

>>编译失败
driverlib/MSP432P4xx/subdir_rules.mk:9:目标'driverlib/MSP432P4xx/CRC32.obj'的配方失败
"./driverlib/MSP432P4xx/crc32.c "、第38行:致命错误#1965:无法打开源文件"MSP.h"
1在编译"../driverlib/MSP432P4xx/crc32.c 时检测到灾难性错误。
编译已终止。
gmake:***[driverlib/MSP432P4xx/CRC32.obj]错误1.
编译文件:"../driverlib/MSP432P4xx/cs.c
调用:MSP430编译器
"c:/ti/ccs1010msp430/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/bin/cl430 -vmspx --use_hw_mpy=F5 --include_path="C:/ti/ccs1010msp430/ccs/ccs_base/msp430/include --include_path="C:/ti/jalabre_workspace/Lab1/driverlib/MSP432P4xx --include_path="C:/ti/jalabre_workspace/Lab1 --include_path="C:/ti/ccs1010msp430/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/include --include_path="C:--advice:power=all --define=_CC430F5123_--include_erratinatina-driveratinatina-supervison_cp4xx --aturbaturb_driver=us_driveraturb_cp_driver=us_aturb-cp_ateg_cp_ature-board-supervisot-cp_ature-board-supervison_ature-drive=-cp_aturb-driver=-cp_cp_aturb_aturb-cp_ateg_driver=-cp_driver=/driverlib/MSP432P4xx/cs.c

>>编译失败
driverlib/MSP432P4xx/subdir_rules.mk:9:目标'driverlib/MSP432P4xx/cs.obj'的配方失败
"C:/ti/jalabre_workspace/Lab1/driverlib/MSP432P4xx/cs.h、第60行:致命错误#1965:无法打开源文件"MSP.h"
1在编译"../driverlib/MSP432P4xx/cs.c 时检测到灾难性错误。
编译已终止。
gmake:***[driverlib/MSP432P4xx/cs.obj]错误1.
编译文件:"../driverlib/MSP432P4xx/flash.c
调用:MSP430编译器
"c:/ti/ccs1010msp430/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/bin/cl430 -vmspx --use_hw_mpy=F5 --include_path="C:/ti/ccs1010msp430/ccs/ccs_base/msp430/include --include_path="C:/ti/jalabre_workspace/Lab1/driverlib/MSP432P4xx --include_path="C:/ti/jalabre_workspace/Lab1 --include_path="C:/ti/ccs1010msp430/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/include --include_path="C:--advice:power=all --define=_CC430F5123_--include_erratinatinatina-supervatinatinature-drive=p4xx-cp_driveraturbature-drive=us_driveraturb_cp_ateg-cp_supervisotrature-drive=us-cp_aturb-aturb-cp_aturb-ateg-cp_driver=/driverlib/MSP432P4xx/flash.c --aturb_driverateg-cp_aturb_supervisot-ature-drive=us_ature-driver= cp4xx/cp_aturb_aturb_ateg-aturb-cp_

>>编译失败
driverlib/MSP432P4xx/subdir_rules.mk:9:目标'driverlib/MSP432P4xx/flash.obj'的配方失败
"C:/ti/jalabre_workspace/Lab1/driverlib/MSP432P4xx/flash.h、第58行:致命错误#1965:无法打开源文件"MSP.h"
1在编译"../driverlib/MSP432P4xx/flash.c 时检测到灾难性错误。
编译已终止。
gmake:***[driverlib/MSP432P4xx/flash.obj]错误1.
编译文件:"../driverlib/MSP432P4xx/dma.c
调用:MSP430编译器
"c:/ti/ccs1010msp430/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/bin/cl430 -vmspx --use_hw_mpy=F5 --include_path="C:/ti/ccs1010msp430/ccs/ccs_base/msp430/include --include_path="C:/ti/jalabre_workspace/Lab1/driverlib/MSP432P4xx --include_path="C:/ti/jalabre_workspace/Lab1 --include_path="C:/ti/ccs1010msp430/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/include --include_path="C:--advice:power=all --define=_CC430F5123_--include_erratinatina-driveratinatina-supervison_cp4xx-driveraturbature-driver=/driverlib/MSP432P4xx/dma.c --aturb_cp_driveraturb_cp_driverateg_aturb_cp_ature-driver=us-cp_ateg_supervison_ature-board-aturb-supervisot-aturb-cp_cp_aturb-aturb-cp_aturb-cp_ature-driver=-cp_ateg_ature-driver=-ateg_cp_cp_aturb-cp_

>>编译失败
driverlib/MSP432P4xx/subdir_rules.mk:9:目标'driverlib/MSP432P4xx/dma.obj'的配方失败
"C:/ti/jalabre_workspace/Lab1/driverlib/MSP432P4xx/interrupt.h、第61行:致命错误#1965:无法打开源文件"MSP.h"
1在编译"../driverlib/MSP432P4xx/dma.c 时检测到灾难性错误。
编译已终止。
gmake:***[driverlib/MSP432P4xx/dma.obj]错误1.
编译文件:"../driverlib/MSP432P4xx/fpu.c
调用:MSP430编译器
"c:/ti/ccs1010msp430/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/bin/cl430 -vmspx --use_hw_mpy=F5 --include_path="C:/ti/ccs1010msp430/ccs/ccs_base/msp430/include --include_path="C:/ti/jalabre_workspace/Lab1/driverlib/MSP432P4xx --include_path="C:/ti/jalabre_workspace/Lab1 --include_path="C:/ti/ccs1010msp430/ccs/tools/compiler/ti-cgt-msp430_20.2.1.LTS/include --include_path="C:--advice:power=all --define=_CC430F5123_--include_erratinatina-driveratinatina-supervison_cp4xx --aturbaturb_driver=us_driveraturb_driver=us_cp4xx/cpuature-board-supervisinature-board-supervisot-supervisit_prob-cp_cp4xx/driver=/driverlib/MSP432P4xx/fpu.c

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    那么、这是我得到的误差。 我单击调试时。 它一直显示未找到 USB_1。

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

    我假设您使用的是 MSP430。 不过、您似乎已经为 MSP432获取了一些文件。 因此会出现构建错误