**** Build of configuration Debug for project bldcm ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all'Building target: /Debug/bldc.out'
'Invoking: C2000 Linker'
"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off -z -m"/Debug/bldc.map" –stack_size=0x400 –warn_sections -i"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" -i"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/lib" –reread_libs –diag_wrap=off –display_error_number –xml_link_info="bldcm_linkInfo.xml" –rom_model -o "/Debug/bldc.out" "./lib/DSP2803x_DefaultIsr.obj" "./lib/DSP2803x_GlobalVariableDefs.obj" "./lib/DSP2803x_PieCtrl.obj" "./lib/DSP2803x_PieVect.obj" "./lib/DSP2803x_SysCtrl.obj" "./source/X24C.obj" "./source/angle_test.obj" "./source/debug.obj" "./source/default_par.obj" "./source/electromagnet.obj" "./source/electromagnet_mcu.obj" "./source/isr.obj" "./source/main.obj" "./source/motor_drive.obj" "./source/motor_drive_mcu.obj" "./source/pedal.obj" "./source/sew.obj" "./source/start.obj" "./source/svpwm.obj" "./source/uart.obj" "../28030_RAM_lnk.cmd" "../cmd/DSP2803x_Headers_nonBIOS.cmd" "../lib/IQmath.lib" "../lib/rts2800_ml.lib" -llibc.a<Linking>
fatal error #10296: cannot open output file "/Debug/bldc.out" for writing
>> Compilation failure
makefile:168: recipe for target '/Debug/bldc.out' failed
gmake: *** [/Debug/bldc.out] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
Eric Ma:
rebuild project,然后看看这些编译信息有没有哪些情况下出现具体的报错。
Eric
**** Build of configuration Debug for project bldcm ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all'Building target: /Debug/bldc.out'
'Invoking: C2000 Linker'
"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off -z -m"/Debug/bldc.map" –stack_size=0x400 –warn_sections -i"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" -i"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/lib" –reread_libs –diag_wrap=off –display_error_number –xml_link_info="bldcm_linkInfo.xml" –rom_model -o "/Debug/bldc.out" "./lib/DSP2803x_DefaultIsr.obj" "./lib/DSP2803x_GlobalVariableDefs.obj" "./lib/DSP2803x_PieCtrl.obj" "./lib/DSP2803x_PieVect.obj" "./lib/DSP2803x_SysCtrl.obj" "./source/X24C.obj" "./source/angle_test.obj" "./source/debug.obj" "./source/default_par.obj" "./source/electromagnet.obj" "./source/electromagnet_mcu.obj" "./source/isr.obj" "./source/main.obj" "./source/motor_drive.obj" "./source/motor_drive_mcu.obj" "./source/pedal.obj" "./source/sew.obj" "./source/start.obj" "./source/svpwm.obj" "./source/uart.obj" "../28030_RAM_lnk.cmd" "../cmd/DSP2803x_Headers_nonBIOS.cmd" "../lib/IQmath.lib" "../lib/rts2800_ml.lib" -llibc.a<Linking>
fatal error #10296: cannot open output file "/Debug/bldc.out" for writing
>> Compilation failure
makefile:168: recipe for target '/Debug/bldc.out' failed
gmake: *** [/Debug/bldc.out] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
li josh:
回复 Eric Ma:
**** Build of configuration Debug for project bldcm ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 'Building file: ../lib/DSP2803x_DefaultIsr.c''Invoking: C2000 Compiler'"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/inc" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/include" –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="lib/DSP2803x_DefaultIsr.d" –obj_directory="lib" "../lib/DSP2803x_DefaultIsr.c"'Finished building: ../lib/DSP2803x_DefaultIsr.c'' ''Building file: ../lib/DSP2803x_GlobalVariableDefs.c''Invoking: C2000 Compiler'"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/inc" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/include" –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="lib/DSP2803x_GlobalVariableDefs.d" –obj_directory="lib" "../lib/DSP2803x_GlobalVariableDefs.c"'Finished building: ../lib/DSP2803x_GlobalVariableDefs.c'' ''Building file: ../lib/DSP2803x_PieCtrl.c''Invoking: C2000 Compiler'"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/inc" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/include" –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="lib/DSP2803x_PieCtrl.d" –obj_directory="lib" "../lib/DSP2803x_PieCtrl.c"'Finished building: ../lib/DSP2803x_PieCtrl.c'' ''Building file: ../lib/DSP2803x_PieVect.c''Invoking: C2000 Compiler'"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/inc" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/include" –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="lib/DSP2803x_PieVect.d" –obj_directory="lib" "../lib/DSP2803x_PieVect.c"'Finished building: ../lib/DSP2803x_PieVect.c'' ''Building file: ../lib/DSP2803x_SysCtrl.c''Invoking: C2000 Compiler'"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/inc" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/include" –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="lib/DSP2803x_SysCtrl.d" –obj_directory="lib" "../lib/DSP2803x_SysCtrl.c"'Finished building: ../lib/DSP2803x_SysCtrl.c'' ''Building file: ../source/X24C.c''Invoking: C2000 Compiler'"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/inc" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/include" –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="source/X24C.d" –obj_directory="source" "../source/X24C.c""../source/X24C.c", line 184: warning #70-D: integer conversion resulted in truncation"../source/X24C.c", line 203: warning #70-D: integer conversion resulted in truncation'Finished building: ../source/X24C.c'' ''Building file: ../source/angle_test.c''Invoking: C2000 Compiler'"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/inc" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/include" –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="source/angle_test.d" –obj_directory="source" "../source/angle_test.c""../source/angle_test.c", line 128: warning #70-D: integer conversion resulted in truncation'Finished building: ../source/angle_test.c'' ''Building file: ../source/debug.c''Invoking: C2000 Compiler'"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/inc" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/include" –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="source/debug.d" –obj_directory="source" "../source/debug.c"'Finished building: ../source/debug.c'' ''Building file: ../source/default_par.c''Invoking: C2000 Compiler'"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/inc" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/include" –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="source/default_par.d" –obj_directory="source" "../source/default_par.c""../source/default_par.c", line 247: warning #70-D: integer conversion resulted in truncation"../source/default_par.c", line 253: warning #70-D: integer conversion resulted in truncation'Finished building: ../source/default_par.c'' ''Building file: ../source/electromagnet.c''Invoking: C2000 Compiler'"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/inc" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/include" –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="source/electromagnet.d" –obj_directory="source" "../source/electromagnet.c"'Finished building: ../source/electromagnet.c'' ''Building file: ../source/electromagnet_mcu.c''Invoking: C2000 Compiler'"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/inc" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/include" –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="source/electromagnet_mcu.d" –obj_directory="source" "../source/electromagnet_mcu.c"'Finished building: ../source/electromagnet_mcu.c'' ''Building file: ../source/isr.c''Invoking: C2000 Compiler'"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/inc" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/include" –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="source/isr.d" –obj_directory="source" "../source/isr.c"'Finished building: ../source/isr.c'' ''Building file: ../source/main.c''Invoking: C2000 Compiler'"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/inc" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/include" –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="source/main.d" –obj_directory="source" "../source/main.c"'Finished building: ../source/main.c'' ''Building file: ../source/motor_drive.c''Invoking: C2000 Compiler'"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/inc" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/include" –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="source/motor_drive.d" –obj_directory="source" "../source/motor_drive.c""../source/motor_drive.c", line 917: warning #175-D: floating-point value does not fit in required integral type'Finished building: ../source/motor_drive.c'' ''Building file: ../source/motor_drive_mcu.c''Invoking: C2000 Compiler'"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/inc" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/include" –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="source/motor_drive_mcu.d" –obj_directory="source" "../source/motor_drive_mcu.c"'Finished building: ../source/motor_drive_mcu.c'' ''Building file: ../source/pedal.c''Invoking: C2000 Compiler'"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/inc" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/include" –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="source/pedal.d" –obj_directory="source" "../source/pedal.c"'Finished building: ../source/pedal.c'' ''Building file: ../source/sew.c''Invoking: C2000 Compiler'"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/inc" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/include" –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="source/sew.d" –obj_directory="source" "../source/sew.c"'Finished building: ../source/sew.c'' ''Building file: ../source/start.asm''Invoking: C2000 Compiler'"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/inc" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/include" –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="source/start.d" –obj_directory="source" "../source/start.asm"'Finished building: ../source/start.asm'' ''Building file: ../source/svpwm.c''Invoking: C2000 Compiler'"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/inc" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/include" –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="source/svpwm.d" –obj_directory="source" "../source/svpwm.c"'Finished building: ../source/svpwm.c'' ''Building file: ../source/uart.c''Invoking: C2000 Compiler'"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –include_path="C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/inc" –include_path="C:/Users/Administrator/workspace_v6_2/bldcm/include" –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off –preproc_with_compile –preproc_dependency="source/uart.d" –obj_directory="source" "../source/uart.c""../source/uart.c", line 268: warning #70-D: integer conversion resulted in truncation"../source/uart.c", line 303: warning #70-D: integer conversion resulted in truncation"../source/uart.c", line 316: warning #70-D: integer conversion resulted in truncation"../source/uart.c", line 573: warning #70-D: integer conversion resulted in truncation'Finished building: ../source/uart.c'' ''Building target: /Debug/bldcm1.out''Invoking: C2000 Linker'"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off -z -m"/Debug/bldcm1.map" –stack_size=0x300 –warn_sections -i"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" -i"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/lib" –reread_libs –diag_wrap=off –display_error_number –xml_link_info="bldcm_linkInfo.xml" –rom_model -o "/Debug/bldcm1.out" "./lib/DSP2803x_DefaultIsr.obj" "./lib/DSP2803x_GlobalVariableDefs.obj" "./lib/DSP2803x_PieCtrl.obj" "./lib/DSP2803x_PieVect.obj" "./lib/DSP2803x_SysCtrl.obj" "./source/X24C.obj" "./source/angle_test.obj" "./source/debug.obj" "./source/default_par.obj" "./source/electromagnet.obj" "./source/electromagnet_mcu.obj" "./source/isr.obj" "./source/main.obj" "./source/motor_drive.obj" "./source/motor_drive_mcu.obj" "./source/pedal.obj" "./source/sew.obj" "./source/start.obj" "./source/svpwm.obj" "./source/uart.obj" "../28035_RAM_lnk.cmd" "../cmd/DSP2803x_Headers_nonBIOS.cmd" "../lib/IQmath.lib" "../lib/rts2800_ml.lib" -llibc.a <Linking>fatal error #10296: cannot open output file "/Debug/bldcm1.out" for writing
>> Compilation failuremakefile:168: recipe for target '/Debug/bldcm1.out' failedgmake: *** [/Debug/bldcm1.out] Error 1gmake: Target 'all' not remade because of errors.
**** Build Finished ****
**** Build of configuration Debug for project bldcm ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all'Building target: /Debug/bldc.out'
'Invoking: C2000 Linker'
"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off -z -m"/Debug/bldc.map" –stack_size=0x400 –warn_sections -i"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" -i"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/lib" –reread_libs –diag_wrap=off –display_error_number –xml_link_info="bldcm_linkInfo.xml" –rom_model -o "/Debug/bldc.out" "./lib/DSP2803x_DefaultIsr.obj" "./lib/DSP2803x_GlobalVariableDefs.obj" "./lib/DSP2803x_PieCtrl.obj" "./lib/DSP2803x_PieVect.obj" "./lib/DSP2803x_SysCtrl.obj" "./source/X24C.obj" "./source/angle_test.obj" "./source/debug.obj" "./source/default_par.obj" "./source/electromagnet.obj" "./source/electromagnet_mcu.obj" "./source/isr.obj" "./source/main.obj" "./source/motor_drive.obj" "./source/motor_drive_mcu.obj" "./source/pedal.obj" "./source/sew.obj" "./source/start.obj" "./source/svpwm.obj" "./source/uart.obj" "../28030_RAM_lnk.cmd" "../cmd/DSP2803x_Headers_nonBIOS.cmd" "../lib/IQmath.lib" "../lib/rts2800_ml.lib" -llibc.a<Linking>
fatal error #10296: cannot open output file "/Debug/bldc.out" for writing
>> Compilation failure
makefile:168: recipe for target '/Debug/bldc.out' failed
gmake: *** [/Debug/bldc.out] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
li josh:
回复 li josh:
还是不行 没找到问题
**** Build of configuration Debug for project bldcm ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all'Building target: /Debug/bldc.out'
'Invoking: C2000 Linker'
"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off -z -m"/Debug/bldc.map" –stack_size=0x400 –warn_sections -i"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" -i"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/lib" –reread_libs –diag_wrap=off –display_error_number –xml_link_info="bldcm_linkInfo.xml" –rom_model -o "/Debug/bldc.out" "./lib/DSP2803x_DefaultIsr.obj" "./lib/DSP2803x_GlobalVariableDefs.obj" "./lib/DSP2803x_PieCtrl.obj" "./lib/DSP2803x_PieVect.obj" "./lib/DSP2803x_SysCtrl.obj" "./source/X24C.obj" "./source/angle_test.obj" "./source/debug.obj" "./source/default_par.obj" "./source/electromagnet.obj" "./source/electromagnet_mcu.obj" "./source/isr.obj" "./source/main.obj" "./source/motor_drive.obj" "./source/motor_drive_mcu.obj" "./source/pedal.obj" "./source/sew.obj" "./source/start.obj" "./source/svpwm.obj" "./source/uart.obj" "../28030_RAM_lnk.cmd" "../cmd/DSP2803x_Headers_nonBIOS.cmd" "../lib/IQmath.lib" "../lib/rts2800_ml.lib" -llibc.a<Linking>
fatal error #10296: cannot open output file "/Debug/bldc.out" for writing
>> Compilation failure
makefile:168: recipe for target '/Debug/bldc.out' failed
gmake: *** [/Debug/bldc.out] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
Yusheng Chen:
回复 Eric Ma:
我也遇到了该问题,提示错误信息 fatal error 10296: cannot open output file "test.out" for writting
若是刚打开CCS进行编译是没有问题的,不管是执行rebuild还是先clean再build
问题的出现是连了仿真器进行加载test.out后,再重新clean build或rebuild就会出现了。
**** Build of configuration Debug for project bldcm ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all'Building target: /Debug/bldc.out'
'Invoking: C2000 Linker'
"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt –advice:performance=all -g –display_error_number –diag_warning=225 –diag_wrap=off -z -m"/Debug/bldc.map" –stack_size=0x400 –warn_sections -i"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/include" -i"C:/ti/ccsv6/tools/compiler/c2000_15.12.3.LTS/lib" –reread_libs –diag_wrap=off –display_error_number –xml_link_info="bldcm_linkInfo.xml" –rom_model -o "/Debug/bldc.out" "./lib/DSP2803x_DefaultIsr.obj" "./lib/DSP2803x_GlobalVariableDefs.obj" "./lib/DSP2803x_PieCtrl.obj" "./lib/DSP2803x_PieVect.obj" "./lib/DSP2803x_SysCtrl.obj" "./source/X24C.obj" "./source/angle_test.obj" "./source/debug.obj" "./source/default_par.obj" "./source/electromagnet.obj" "./source/electromagnet_mcu.obj" "./source/isr.obj" "./source/main.obj" "./source/motor_drive.obj" "./source/motor_drive_mcu.obj" "./source/pedal.obj" "./source/sew.obj" "./source/start.obj" "./source/svpwm.obj" "./source/uart.obj" "../28030_RAM_lnk.cmd" "../cmd/DSP2803x_Headers_nonBIOS.cmd" "../lib/IQmath.lib" "../lib/rts2800_ml.lib" -llibc.a<Linking>
fatal error #10296: cannot open output file "/Debug/bldc.out" for writing
>> Compilation failure
makefile:168: recipe for target '/Debug/bldc.out' failed
gmake: *** [/Debug/bldc.out] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
Yusheng Chen:
回复 Yusheng Chen:
补充,仿真器断开了或终止,重新build问题一样出现,这对于在线调试带来很大的不方便