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.
Hi,
Version: Version: 12.5.0.00007
C:C:\ti\c2000\C2000Ware_MotorControl_SDK_5_00_00_00\solutions\boostxl_posmgr\f28003x\ccs
I imported the above routine after compilation can not generate VCD files, SVG files do
I import C:\ti\c2000\C2000Ware_5_00_00_00\driverlib\f28003x\examples\ The clb routine under CLB will also open normally
**** Clean-only build of configuration F28003x_RAM for project pto_pulsegen_demo_f28003x **** "C:\\ti\\ccs1250\\ccs\\utils\\bin\\gmake" -k -j 8 clean -O DEL /F "syscfg\board.h" "syscfg\board.cmd.genlibs" "syscfg\pinmux.csv" "syscfg\c2000ware_libraries.cmd.genlibs" "syscfg\c2000ware_libraries.h" "syscfg\clocktree.h" "syscfg\board.c" "syscfg\board.opt" "syscfg\c2000ware_libraries.opt" "syscfg\c2000ware_libraries.c" "pto_pulsegen_demo_f28003x.out" DEL /F "device\device.obj" "device\f28003x_codestartbranch.obj" "source\pto_pulsegen_main.obj" "source\pulsegen.obj" "syscfg\board.obj" "syscfg\c2000ware_libraries.obj" DEL /F "device\device.d" "source\pto_pulsegen_main.d" "source\pulsegen.d" "syscfg\board.d" "syscfg\c2000ware_libraries.d" DEL /F "device\f28003x_codestartbranch.d" RMDIR /S/Q "syscfg\" 找不到 D:\TI\Project\TMS320F280039C\pto_pulsegen_demo_f28003x\F28003x_RAM\device\f28003x_codestartbranch.d Finished clean **** Build Finished **** **** Build of configuration F28003x_RAM for project pto_pulsegen_demo_f28003x **** "C:\\ti\\ccs1250\\ccs\\utils\\bin\\gmake" -k -j 8 all -O Building file: "../source/pulsegen_f28003x.syscfg" Invoking: SysConfig "C:/ti/ccs1250/ccs/utils/sysconfig_1.18.0/sysconfig_cli.bat" -s "C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware/.metadata/sdk.json" -d "F28003x" --script "D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/source/pulsegen_f28003x.syscfg" -o "syscfg" --package 100PZ --part F28003x_100PZ --compiler ccs Running script... Validating... Generating Code (pulsegen_f28003x.syscfg)... Writing D:\TI\Project\TMS320F280039C\pto_pulsegen_demo_f28003x\F28003x_RAM\syscfg\board.c... Writing D:\TI\Project\TMS320F280039C\pto_pulsegen_demo_f28003x\F28003x_RAM\syscfg\board.h... Writing D:\TI\Project\TMS320F280039C\pto_pulsegen_demo_f28003x\F28003x_RAM\syscfg\board.cmd.genlibs... Writing D:\TI\Project\TMS320F280039C\pto_pulsegen_demo_f28003x\F28003x_RAM\syscfg\board.opt... Writing D:\TI\Project\TMS320F280039C\pto_pulsegen_demo_f28003x\F28003x_RAM\syscfg\pinmux.csv... Writing D:\TI\Project\TMS320F280039C\pto_pulsegen_demo_f28003x\F28003x_RAM\syscfg\c2000ware_libraries.cmd.genlibs... Writing D:\TI\Project\TMS320F280039C\pto_pulsegen_demo_f28003x\F28003x_RAM\syscfg\c2000ware_libraries.opt... Writing D:\TI\Project\TMS320F280039C\pto_pulsegen_demo_f28003x\F28003x_RAM\syscfg\c2000ware_libraries.c... Writing D:\TI\Project\TMS320F280039C\pto_pulsegen_demo_f28003x\F28003x_RAM\syscfg\c2000ware_libraries.h... Writing D:\TI\Project\TMS320F280039C\pto_pulsegen_demo_f28003x\F28003x_RAM\syscfg\clocktree.h... Finished building: "../source/pulsegen_f28003x.syscfg" Building file: "../device/f28003x_codestartbranch.asm" Invoking: C2000 Compiler "C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu1 --vcu_support=vcrc -O1 --opt_for_speed=5 --fp_mode=relaxed --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/device" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/include" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_libproj_f28003x/include" --include_path="C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=_LAUNCHXL_F280039C --define=_F28003x --define=DEBUG --float_operations_allowed=32 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --ramfunc=on --preproc_with_compile --preproc_dependency="device/f28003x_codestartbranch.d_raw" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/F28003x_RAM/syscfg" --obj_directory="device" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt" "../device/f28003x_codestartbranch.asm" Finished building: "../device/f28003x_codestartbranch.asm" Building file: "../source/pulsegen.c" Invoking: C2000 Compiler "C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu1 --vcu_support=vcrc -O1 --opt_for_speed=5 --fp_mode=relaxed --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/device" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/include" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_libproj_f28003x/include" --include_path="C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=_LAUNCHXL_F280039C --define=_F28003x --define=DEBUG --float_operations_allowed=32 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --ramfunc=on --preproc_with_compile --preproc_dependency="source/pulsegen.d_raw" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/F28003x_RAM/syscfg" --obj_directory="source" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt" "../source/pulsegen.c" Finished building: "../source/pulsegen.c" Building file: "syscfg/board.c" Invoking: C2000 Compiler "C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu1 --vcu_support=vcrc -O1 --opt_for_speed=5 --fp_mode=relaxed --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/device" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/include" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_libproj_f28003x/include" --include_path="C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=_LAUNCHXL_F280039C --define=_F28003x --define=DEBUG --float_operations_allowed=32 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --ramfunc=on --preproc_with_compile --preproc_dependency="syscfg/board.d_raw" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/F28003x_RAM/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt" "syscfg/board.c" Finished building: "syscfg/board.c" Building file: "syscfg/c2000ware_libraries.c" Invoking: C2000 Compiler "C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu1 --vcu_support=vcrc -O1 --opt_for_speed=5 --fp_mode=relaxed --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/device" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/include" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_libproj_f28003x/include" --include_path="C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=_LAUNCHXL_F280039C --define=_F28003x --define=DEBUG --float_operations_allowed=32 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --ramfunc=on --preproc_with_compile --preproc_dependency="syscfg/c2000ware_libraries.d_raw" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/F28003x_RAM/syscfg" --obj_directory="syscfg" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt" "syscfg/c2000ware_libraries.c" Finished building: "syscfg/c2000ware_libraries.c" Building file: "../device/device.c" Invoking: C2000 Compiler "C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu1 --vcu_support=vcrc -O1 --opt_for_speed=5 --fp_mode=relaxed --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/device" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/include" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_libproj_f28003x/include" --include_path="C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=_LAUNCHXL_F280039C --define=_F28003x --define=DEBUG --float_operations_allowed=32 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --ramfunc=on --preproc_with_compile --preproc_dependency="device/device.d_raw" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/F28003x_RAM/syscfg" --obj_directory="device" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt" "../device/device.c" Finished building: "../device/device.c" Building file: "../source/pto_pulsegen_main.c" Invoking: C2000 Compiler "C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu1 --vcu_support=vcrc -O1 --opt_for_speed=5 --fp_mode=relaxed --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x" --include_path="C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware/driverlib/f28003x/driverlib" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/device" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/include" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_libproj_f28003x/include" --include_path="C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --define=CPU1 --define=_LAUNCHXL_F280039C --define=_F28003x --define=DEBUG --float_operations_allowed=32 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --ramfunc=on --preproc_with_compile --preproc_dependency="source/pto_pulsegen_main.d_raw" --include_path="D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/F28003x_RAM/syscfg" --obj_directory="source" --cmd_file="syscfg/board.opt" --cmd_file="syscfg/c2000ware_libraries.opt" "../source/pto_pulsegen_main.c" Finished building: "../source/pto_pulsegen_main.c" Building target: "pto_pulsegen_demo_f28003x.out" Invoking: C2000 Linker "C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu1 --vcu_support=vcrc -O1 --opt_for_speed=5 --fp_mode=relaxed --define=CPU1 --define=_LAUNCHXL_F280039C --define=_F28003x --define=DEBUG --float_operations_allowed=32 --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi --ramfunc=on -z -m"pto_pulsegen_demo_f28003x.map" --heap_size=0x200 --stack_size=0x3F8 --warn_sections -i"C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/lib" -i"D:/TI/Project/TMS320F280039C/pto_pulsegen_libproj_f28003x/lib" -i"C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware/driverlib/f28003x/driverlib/ccs/Debug/" -i"C:/ti/ccs1250/ccs/tools/compiler/ti-cgt-c2000_22.6.1.LTS/include" --reread_libs --diag_wrap=off --display_error_number --xml_link_info="pto_pulsegen_demo_f28003x_linkInfo.xml" --entry_point=code_start --rom_model -o "pto_pulsegen_demo_f28003x.out" "./device/device.obj" "./device/f28003x_codestartbranch.obj" "./source/pto_pulsegen_main.obj" "./source/pulsegen.obj" "./syscfg/board.obj" "./syscfg/c2000ware_libraries.obj" "../cmd/pto_28003x_ram_lnk.cmd" -lpto_pulsegen_f28003x.lib -ldriverlib.lib -llibc.a <Linking> Finished building target: "pto_pulsegen_demo_f28003x.out" echo ========= Build of the CLB simulation has moved to the CLB Tool. Click the '?' icon by the _Generate CLB Simulation File_ enable for more details (located in the Global Parameters of the Tile Design SysConfig module) ============= ========= Build of the CLB simulation has moved to the CLB Tool. Click the '?' icon by the _Generate CLB Simulation File_ enable for more details (located in the Global Parameters of the Tile Design SysConfig module) ============= if 1 == 1 mkdir "D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/F28003x_RAM/diagrams" makefile:167: recipe for target 'post-build' failed 子目录或文件 D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/F28003x_RAM/diagrams 已经存在。 gmake[2]: [post-build] Error 1 (ignored) if 1 == 1 C:/ti/ccs1250/ccs/tools/node/node.exe "C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware/driverlib/.meta/generate_diagrams.js" "C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware" "D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/F28003x_RAM/diagrams" "D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/F28003x_RAM/syscfg" Output file: adc No input file! Output file: epwm No input file! Output file: clb No input file! if 1 == 1 C:/ti/ccs1250/ccs/tools/node/node.exe "C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware/utilities/clb_tool/clb_syscfg/dot_file_libraries/clbDotUtility.js" "C:/ti/c2000/C2000Ware_MotorControl_SDK_5_00_00_00/c2000ware/utilities/clb_tool/clb_syscfg/" "D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/F28003x_RAM/syscfg" "D:/TI/Project/TMS320F280039C/pto_pulsegen_demo_f28003x/F28003x_RAM/syscfg/clb.dot" No CLB dot file! **** Build Finished ****
I have seen several common error solutions, and my problem is not quite the same, I hope you can import the above routine to try, see if you will appear the same problem as me
Thanks.
Regards
By the way, I don't quite understand why a second routine appears when I import the first one
Hello Qing,
I imported the above routine after compilation can not generate VCD files, SVG files do
If you are using the latest C2000Ware, you will need to generate a VCD file by following the directions laid out in the CLB Tool User's Guide; there is a clb_simulation.bat file that needs to be run to generate the VCD file for simulation (or a clb_simulation.sh for Linux/Mac). I will let the expert try to support the rest of this question.
Best regards,
Omer Amir
Hello Omer
Yes, I'm using the latest C2000Ware_MotorControl_SDK_5_00_00_00. I just looked at the files under the libproj project and found the clb_simulation.bat file. I followed the CLB_TOOL USER'S GUIDE to configure the project.
At present, I have also asked questions in the Chinese community((1) TMS320F280039C: 关于C2000Ware_MotorControl_SDK_5_00_00_00库中例程pto_pulsegen无法生成VCD文件 - C2000︎ 微控制器论坛 - C2000 微控制器 - E2E
设计支持 (ti.com)), and your expert Ben Qin is helping me to solve this problem, but she also encountered some questions, so I came to the English community for help
Best regards,
qing yuuan sun
By the way, I don't quite understand why a second routine appears when I import the first one
One is the library source and project, the other is the "application" or in this case a simple demo that demonstrates the library.
How do you run bat files?Communication efficiency is too slow,Can you import this routine from the path above and see if a VCD file is generated?
Thank you very much
In the windows file explorer window, double-click (right mouse click twice) on <filename>.bat
Hello, I have operated according to what you said, and there is no simulation folder generated,
If you're executing the clb_simulation.bat from the syscfg directory, the simulation folder will be on the same level:
I have tested this on my own system, it works perfectly fine. Based on your command prompt, you executed the clb_simulation.bat (or its instructions) from the CCS directory, not your workspace/project directory. You can find the simulation folder wherever you run the batch file from.
Oh my God
I successfully generated the VCD file by running clb_simulation.bat in the workspace/project directory. And it can run normally. But I don't know why I can't generate VCD files when running in CCS. If you know, please tell me the reason
Thank you and Lori very much
But I don't know why I can't generate VCD files when running in CCS. If you know, please tell me the reason
What do you mean by this? If you're asking why you can't generate the VCD simulation file by rebuilding the CCS project, this is because the recent update to the CLB tool added cross-OS compatibility (so that the simulation file can be created for Windows, Mac, or Linux). The separate .bat/.sh file needed to be created because CCS does not allow complex conditionals to be added for the post-build steps.
The separate .bat/.sh file needed to be created because CCS does not allow complex conditionals to be added for the post-build steps.
I apologize for being preoccupied with other matters this week, which caused me to overlook your reply in a timely manner. Could you please advise on the process of directly generating VCD files from rebuilding? Currently, I am executing the clb_simulation.bat file by double-clicking it in the projects directory generated by the VCD file. However, this approach proves to be rather cumbersome.
Currently, I am executing the clb_simulation.bat file by double-clicking it in the projects directory generated by the VCD file. However, this approach proves to be rather cumbersome.
I understand this may seem unintuitive, however this is the best approach for cross-OS compatibility. Executing the clb_simulation.bat file is the correct approach, this will generate the simulation directory which will hold the VCD file. If this is not happening, make sure that the .bat file is not empty and there are no errors from running the file.
Good morning!Omer.
Thank you very much for your help on this problem. According to the above methods, I can also work normally. thank you