从ti买的HV_Solar_DC_DC模块,把工程载入后发现有很多问题,缺少很多头文件,请问这个给的工程是完整的吗?
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.
从ti买的HV_Solar_DC_DC模块,把工程载入后发现有很多问题,缺少很多头文件,请问这个给的工程是完整的吗?
Hank Zhao 你好,我又从新按照controlsuite的路径从新添加了一遍工程,但是还有很多错误
第一个主要错误是缺少这四个文件。
Severity and Description Path Resource Location Creation Time Id
[E1000] Include/Copy file not found or opened HV_Solar_DC_DC HV_Solar_DC_DC-DPL-ISR.asm line 18 1386316407728 246
.include "ADCDRV_1ch.asm"
.include "PWMDRV_1ch_UpDwnCnt.asm"
.include "PWMDRV_LLC_ComplPairDB.asm"
.include "CNTL_2P2Z.asm"
.include "MATH_EMAVG.asm"
第二个主要错误是
Severity and Description Path Resource Location Creation Time Id
[E0002] Invalid mnemonic specification HV_Solar_DC_DC HV_Solar_DC_DC-DPL-ISR.asm line 166 1386316407735 263
ADCDRV_1ch_INIT 1 ; IL
ADCDRV_1ch_INIT 2 ; Vb
ADCDRV_1ch_INIT 3 ; Vp
ADCDRV_1ch_INIT 4 ; Ics
CNTL_2P2Z_INIT 2
CNTL_2P2Z_INIT 1
MATH_EMAVG_INIT 1
MATH_EMAVG_INIT 2
PWMDRV_1ch_UpDwnCnt_INIT 1 ; PWM1A
PWMDRV_1ch_UpDwnCnt_INIT 2 ; PWM2A
PWMDRV_1ch_UpDwnCnt_INIT 4 ; PWM4A
;PWMDRV_LLC_ComplPairDB_INIT 3 ;
第三个是
Severity and Description Path Resource Location Creation Time Id
could not open source file "PeripheralHeaderIncludes.h" HV_Solar_DC_DC HV_Solar_DC_DC_DevInit_F2803x.c line 7 1386316407738 279
#include "PeripheralHeaderIncludes.h" 头文件打不开。
我按照你说的已经更改路径了,之前的错误没有了,但是还有三个文件有错误。
第一个是HV_Solar_DC_DC-DPL-ISR.asm文件中构建3的如下错误
Severity and Description Path Resource Location Creation Time Id
[E0009] Missing struct/union member or tag HV_Solar_DC_DC HV_Solar_DC_DC-DPL-ISR.asm line 232 1386336800800 501
第二个是
Severity and Description Path Resource Location Creation Time Id
gmake: *** No rule to make target `C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/development_kits/~SupportFiles/source/SciCommsGui.c', needed by `SciCommsGui.obj'. HV_Solar_DC_DC Unknown 1386336800802 506
请问这怎么解决
**** Build of configuration F2803x_FLASH for project HV_Solar_DC_DC ****
C:\ti\ccsv4\utils\gmake\gmake -k all
'Building file: ../HV_Solar_DC_DC-DPL-ISR.asm'
'Invoking: Compiler'
"C:/ti/ccsv4/tools/compiler/c2000/bin/cl2000" --cmd_file="" -v28 -mt -ml -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --preinclude="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/HV_Solar_DC_DC-DPL-ISR.asm" --preinclude="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/HV_Solar_DC_DC-Main.c" --include_path="C:/ti/ccsv4/tools/compiler/c2000/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/asm" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/head" --diag_warning=225 --preproc_with_compile --preproc_dependency="HV_Solar_DC_DC-DPL-ISR.pp" "../HV_Solar_DC_DC-DPL-ISR.asm"
error: option --cmd_file is missing its parameter 'filename'
gmake: *** [HV_Solar_DC_DC-DPL-ISR.obj] Error 1
'Building file: ../HV_Solar_DC_DC-Main.c'
'Invoking: Compiler'
"C:/ti/ccsv4/tools/compiler/c2000/bin/cl2000" --cmd_file="" -v28 -mt -ml -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --preinclude="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/HV_Solar_DC_DC-DPL-ISR.asm" --preinclude="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/HV_Solar_DC_DC-Main.c" --include_path="C:/ti/ccsv4/tools/compiler/c2000/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/asm" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/head" --diag_warning=225 --preproc_with_compile --preproc_dependency="HV_Solar_DC_DC-Main.pp" "../HV_Solar_DC_DC-Main.c"
error: option --cmd_file is missing its parameter 'filename'
gmake: *** [HV_Solar_DC_DC-Main.obj] Error 1
'Building file: ../HV_Solar_DC_DC_DevInit_F2803x.c'
'Invoking: Compiler'
"C:/ti/ccsv4/tools/compiler/c2000/bin/cl2000" --cmd_file="" -v28 -mt -ml -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --preinclude="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/HV_Solar_DC_DC-DPL-ISR.asm" --preinclude="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/HV_Solar_DC_DC-Main.c" --include_path="C:/ti/ccsv4/tools/compiler/c2000/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/asm" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/head" --diag_warning=225 --preproc_with_compile --preproc_dependency="HV_Solar_DC_DC_DevInit_F2803x.pp" "../HV_Solar_DC_DC_DevInit_F2803x.c"
error: option --cmd_file is missing its parameter 'filename'
gmake: *** [HV_Solar_DC_DC_DevInit_F2803x.obj] Error 1
'Building file: ../SolarHv_DCDC-Lin.c'
'Invoking: Compiler'
"C:/ti/ccsv4/tools/compiler/c2000/bin/cl2000" --cmd_file="" -v28 -mt -ml -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --preinclude="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/HV_Solar_DC_DC-DPL-ISR.asm" --preinclude="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/HV_Solar_DC_DC-Main.c" --include_path="C:/ti/ccsv4/tools/compiler/c2000/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/asm" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/head" --diag_warning=225 --preproc_with_compile --preproc_dependency="SolarHv_DCDC-Lin.pp" "../SolarHv_DCDC-Lin.c"
error: option --cmd_file is missing its parameter 'filename'
gmake: *** [SolarHv_DCDC-Lin.obj] Error 1
'Building file: ../delay.c'
'Invoking: Compiler'
"C:/ti/ccsv4/tools/compiler/c2000/bin/cl2000" --cmd_file="" -v28 -mt -ml -g --define="_DEBUG" --define="FLASH" --define="LARGE_MODEL" --preinclude="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/HV_Solar_DC_DC-DPL-ISR.asm" --preinclude="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/HV_Solar_DC_DC-Main.c" --include_path="C:/ti/ccsv4/tools/compiler/c2000/include" --include_path="C:/ti/controlSUITE/libs/app_libs/digital_power/f2803x_v3.3/asm" --include_path="C:/ti/controlSUITE/development_kits/HV_SOLAR_DC_DC/Solar_DCDC_MPPT_v1.0/Solar_DCDC_MPPT_v1.0/Solar_DC_DC_F2803x/head" --diag_warning=225 --preproc_with_compile --preproc_dependency="delay.pp" "../delay.c"
error: option --cmd_file is missing its parameter 'filename'
gmake: *** [delay.obj] Error 1
gmake: Target `all' not remade because of errors.
Build complete for project HV_Solar_DC_DC
我删除了带感叹号的文件,从新添加了新文件,编译没有错误,但是console里面是这样,无法生成obj文件。
我已经按照你的工程把我缺少的文件添加进去了,但是编译还是报错
error: option --cmd_file is missing its parameter 'filename'
gmake: *** [SolarHv_DCDC-Lin.obj] Error 1
gmake: Target `all' not remade because of errors.
error: option --cmd_file is missing its parameter 'filename'
gmake: *** [PWM_ComplPairDB_Cnf.obj] Error 1
error: option --cmd_file is missing its parameter 'filename'
gmake: *** [PWM_1ch_UpDwnCnt_Cnf.obj] Error 1
后来我发现我的IQmath文件打开是这样的
是不是这个函数库文件的问题导致的?我也是从controlsuite里面找到的这个文件。
请在以下地址下载并安装controlsuite:http://www.ti.com/tool/CONTROLSUITE?keyMatch=controlsuite&tisearch=Search-EN-Everything ,太阳能微逆套件的资料和例程可以在安装后的以下路径找到:C:\ti\controlSUITE\development_kits\TMDSSOLARUINVKIT_v100