TI中文支持网
TI专业的中文技术问题搜集分享网站

C2000移相全桥数字电源开发套件的代码导入ccs6.0后build错误

源代码没有改动,怎么就错误了?

Seven Han:

请问报哪种错?

源代码没有改动,怎么就错误了?

user4729932:

源代码没有改动,怎么就错误了?

user4729932:

回复 user4729932:

**** Build of configuration F2802x_FLASH for project HVPSFB_VMC ****

"D:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 'Building file: ../HVPSFB-DPL-ISR.asm''Invoking: C2000 Compiler'"D:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="Q:/TI/development_kits/HVPSFB_v1.1/HVPSFB_VMC" –include_path="D:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="Q:/TI/libs/app_libs/digital_power/f2802x_v3.2/asm" –include_path="Q:/TI/device_support/f2802x/v129/DSP2802x_headers/include" –include_path="Q:/TI/libs/app_libs/digital_power/f2802x_v3.2/include" –include_path="Q:/TI/device_support/f2802x/v129/DSP2802x_common/include" –include_path="Q:/TI/development_kits/~SupportFiles/F2802x_headers" –include_path="Q:/TI/libs/math/IQmath/v15c/include" -g –define="_DEBUG" –define="FLASH" –define="LARGE_MODEL" –diag_warning=225 –preproc_with_compile –preproc_dependency="HVPSFB-DPL-ISR.d" "../HVPSFB-DPL-ISR.asm"18 Assembly Errors, 1 Assembly Warning

>> Compilation failuresubdir_rules.mk:42: recipe for target 'HVPSFB-DPL-ISR.obj' failedgmake: *** No rule to make target 'Q:/TI/libs/app_libs/digital_power/f2802x_v3.2/C/ADC_SOC_Cnf.c', needed by 'ADC_SOC_Cnf.obj'.gmake: *** No rule to make target 'Q:/TI/libs/app_libs/digital_power/f2802x_v3.2/C/DAC_Cnf.c', needed by 'DAC_Cnf.obj'.gmake: *** No rule to make target 'Q:/TI/device_support/f2802x/v129/DSP2802x_common/source/DSP2802x_CodeStartBranch.asm', needed by 'DSP2802x_CodeStartBranch.obj'.gmake: *** No rule to make target 'Q:/TI/device_support/f2802x/v129/DSP2802x_headers/source/DSP2802x_GlobalVariableDefs.c', needed by 'DSP2802x_GlobalVariableDefs.obj'.gmake: *** No rule to make target 'Q:/TI/device_support/f2802x/v129/DSP2802x_common/source/DSP2802x_usDelay.asm', needed by 'DSP2802x_usDelay.obj'."../HVPSFB-DPL-ISR.asm", line 24: fatal error: cannot open source file "PeripheralHeaderIncludes.h"Compilation terminated."../HVPSFB-DPL-ISR.asm", WARNING! at line 24: [E1000] error while processing C code in .cdecls directive .cdecls C,NOLIST, "PeripheralHeaderIncludes.h"

"../HVPSFB-DPL-ISR.asm", ERROR! at line 26: [E1000] Include/Copy file not found or opened .include "ADCDRV_4ch.asm"

"../HVPSFB-DPL-ISR.asm", ERROR! at line 27: [E1000] Include/Copy file not found or opened .include "PWMDRV_PSFB_VMC_SR.asm"

"../HVPSFB-DPL-ISR.asm", ERROR! at line 28: [E1000] Include/Copy file not found or opened .include "CNTL_2P2Z.asm"

"../HVPSFB-DPL-ISR.asm", ERROR! at line 77: [E0002] Invalid mnemonic specification ADCDRV_4CH_INIT 1,2,3,4

"../HVPSFB-DPL-ISR.asm", ERROR! at line 78: [E0002] Invalid mnemonic specification PWMDRV_PSFB_VMC_SR_INIT 1,2,4 ; ePWMs 1,2 and 4

"../HVPSFB-DPL-ISR.asm", ERROR! at line 117: [E0002] Invalid mnemonic specification ADCDRV_4ch 1,2,3,4 ; Read ADC results

"../HVPSFB-DPL-ISR.asm", ERROR! at line 119: [E0002] Invalid mnemonic specification PWMDRV_PSFB_VMC_SR 1,2,4 ; Run the PWM driver

"../HVPSFB-DPL-ISR.asm", ERROR! at line 122: [E0009] Missing struct/union member or tag MOVW DP,#_EPwm2Regs.TBPHS

"../HVPSFB-DPL-ISR.asm", ERROR! at line 123: [E0009] Missing struct/union member or tag MOV AL,@_EPwm2Regs.TBPHS.half.TBPHS

"../HVPSFB-DPL-ISR.asm", ERROR! at line 123: [E0000] Expecting operand delimiter MOV AL,@_EPwm2Regs.TBPHS.half.TBPHS

"../HVPSFB-DPL-ISR.asm", ERROR! at line 123: [E0003] Syntax error – Operand 4 MOV AL,@_EPwm2Regs.TBPHS.half.TBPHS

"../HVPSFB-DPL-ISR.asm", ERROR! at line 124: [E0009] Missing struct/union member or tag ADD AL,@_EPwm2Regs.TBPRD

"../HVPSFB-DPL-ISR.asm", ERROR! at line 126: [E0009] Missing struct/union member or tag MOV @_EPwm2Regs.CMPB, AL ; CMPB2 = (TBPRD2 + TBPHS2)/2

"../HVPSFB-DPL-ISR.asm", ERROR! at line 165: [E0009] Missing struct/union member or tag MOVW DP,#_EPwm1Regs.ETCLR

"../HVPSFB-DPL-ISR.asm", ERROR! at line 166: [E0009] Missing struct/union member or tag MOV @_EPwm1Regs.ETCLR,#0x01 ; Clear EPWM1 Int flag

"../HVPSFB-DPL-ISR.asm", ERROR! at line 194: [E0009] Missing struct/union member or tag MOVW DP,#_PieCtrlRegs.PIEACK ; Acknowledge PIE interrupt Group 3

"../HVPSFB-DPL-ISR.asm", ERROR! at line 195: [E0009] Missing struct/union member or tag MOV @_PieCtrlRegs.PIEACK, #0x4

"../HVPSFB-DPL-ISR.asm", ERROR! at EOF: [E0300] The following symbols are undefined: TBPHS CMPB PIEACK ETCLR _PieCtrlRegs _EPwm1Regs _EPwm2Regs TBPRD

Errors in Source – Assembler Abortedgmake: *** [HVPSFB-DPL-ISR.obj] Error 1'Building file: ../HVPSFB-DevInit_F2802x.c''Invoking: C2000 Compiler'"D:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="Q:/TI/development_kits/HVPSFB_v1.1/HVPSFB_VMC" –include_path="D:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="Q:/TI/libs/app_libs/digital_power/f2802x_v3.2/asm" –include_path="Q:/TI/device_support/f2802x/v129/DSP2802x_headers/include" –include_path="Q:/TI/libs/app_libs/digital_power/f2802x_v3.2/include" –include_path="Q:/TI/device_support/f2802x/v129/DSP2802x_common/include" –include_path="Q:/TI/development_kits/~SupportFiles/F2802x_headers" –include_path="Q:/TI/libs/math/IQmath/v15c/include" -g –define="_DEBUG" –define="FLASH" –define="LARGE_MODEL" –diag_warning=225 –preproc_with_compile –preproc_dependency="HVPSFB-DevInit_F2802x.d" "../HVPSFB-DevInit_F2802x.c"

>> Compilation failuresubdir_rules.mk:49: recipe for target 'HVPSFB-DevInit_F2802x.obj' failed"../HVPSFB-DevInit_F2802x.c", line 14: fatal error: cannot open source file "PeripheralHeaderIncludes.h"1 catastrophic error detected in the compilation of "../HVPSFB-DevInit_F2802x.c".Compilation terminated.gmake: *** [HVPSFB-DevInit_F2802x.obj] Error 1'Building file: ../HVPSFB-Main.c''Invoking: C2000 Compiler'"D:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="Q:/TI/development_kits/HVPSFB_v1.1/HVPSFB_VMC" –include_path="D:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="Q:/TI/libs/app_libs/digital_power/f2802x_v3.2/asm" –include_path="Q:/TI/device_support/f2802x/v129/DSP2802x_headers/include" –include_path="Q:/TI/libs/app_libs/digital_power/f2802x_v3.2/include" –include_path="Q:/TI/device_support/f2802x/v129/DSP2802x_common/include" –include_path="Q:/TI/development_kits/~SupportFiles/F2802x_headers" –include_path="Q:/TI/libs/math/IQmath/v15c/include" -g –define="_DEBUG" –define="FLASH" –define="LARGE_MODEL" –diag_warning=225 –preproc_with_compile –preproc_dependency="HVPSFB-Main.d" "../HVPSFB-Main.c"

>> Compilation failuresubdir_rules.mk:56: recipe for target 'HVPSFB-Main.obj' failed"../HVPSFB-Main.c", line 49: fatal error: cannot open source file "PeripheralHeaderIncludes.h"1 catastrophic error detected in the compilation of "../HVPSFB-Main.c".Compilation terminated.gmake: *** [HVPSFB-Main.obj] Error 1gmake: *** No rule to make target 'Q:/TI/libs/app_libs/digital_power/f2802x_v3.2/C/PWM_PSFB_VMC_SR_Cnf.c', needed by 'PWM_PSFB_VMC_SR_Cnf.obj'.'Building file: ../SciCommsGui.c''Invoking: C2000 Compiler'"D:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="Q:/TI/development_kits/HVPSFB_v1.1/HVPSFB_VMC" –include_path="D:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="Q:/TI/libs/app_libs/digital_power/f2802x_v3.2/asm" –include_path="Q:/TI/device_support/f2802x/v129/DSP2802x_headers/include" –include_path="Q:/TI/libs/app_libs/digital_power/f2802x_v3.2/include" –include_path="Q:/TI/device_support/f2802x/v129/DSP2802x_common/include" –include_path="Q:/TI/development_kits/~SupportFiles/F2802x_headers" –include_path="Q:/TI/libs/math/IQmath/v15c/include" -g –define="_DEBUG" –define="FLASH" –define="LARGE_MODEL" –diag_warning=225 –preproc_with_compile –preproc_dependency="SciCommsGui.d" "../SciCommsGui.c"

>> Compilation failuresubdir_rules.mk:70: recipe for target 'SciCommsGui.obj' failed"../SciCommsGui.c", line 11: fatal error: cannot open source file "PeripheralHeaderIncludes.h"1 catastrophic error detected in the compilation of "../SciCommsGui.c".Compilation terminated.gmake: *** [SciCommsGui.obj] Error 1gmake: *** No rule to make target 'Q:/TI/device_support/f2802x/v129/DSP2802x_headers/cmd/DSP2802x_Headers_nonBIOS.cmd', needed by 'Project_Name.out'.gmake: *** No rule to make target 'Q:/TI/libs/math/IQmath/v15c/lib/IQmath.lib', needed by 'Project_Name.out'.gmake: Target 'all' not remade because of errors.

**** Build Finished ****

源代码没有改动,怎么就错误了?

Seven Han:

回复 user4729932:

应该是你工程路径的问题,我编译了可以通过,先检查下路径是否都对!

赞(0)
未经允许不得转载:TI中文支持网 » C2000移相全桥数字电源开发套件的代码导入ccs6.0后build错误
分享到: 更多 (0)