You are now following this question
- You will see updates in your followed content feed.
- You may receive emails, depending on your communication preferences.
I am having an error in simulationg simple block of EPWM F28335
1 view (last 30 days)
Show older comments
5 Comments
Muhammad Arsalan Athar
on 30 Nov 2022
@Walter Roberson Here is the diagnostic viewer
=== Build (Elapsed: 33 sec) ===
### Starting build procedure for: PWM_ADC_rough
### Generating code and artifacts to 'Model specific' folder structure
### Generating code into build folder: C:\D_Drive_Files\ADVISE\Simulator_v17_v2\PWM_ADC_rough_ert_rtw
The model PWM_ADC_rough is configured to simulate flush-to-zero (FTZ) behavior, but is using normal mode simulation. To observe FTZ behavior, simulate the model using an accelerated mode.
### Invoking Target Language Compiler on PWM_ADC_rough.rtw
### Using System Target File: C:\Program Files\MATLAB\R2021b\rtw\c\ert\ert.tlc
### Loading TLC function libraries
### Initial pass through model to cache user defined code
### Caching model source code
### Writing header file PWM_ADC_rough_types.h
.
### Writing header file PWM_ADC_rough.h
### Writing header file rtwtypes.h
### Writing source file PWM_ADC_rough.c
### Writing header file PWM_ADC_rough_private.h
### Writing header file rtmodel.h
.
### Writing source file ert_main.c
### TLC code generation complete.
### Saving binary information cache.
### Creating CCS Project at : C:\D_Drive_Files\ADVISE\Simulator_v17_v2\PWM_ADC_rough_ert_rtw\CCS_Project
### CCS project created successfully Open project in Code Composer Studio.
### Using toolchain: Texas Instruments Code Composer Studio (C2000)
### Creating 'C:\D_Drive_Files\ADVISE\Simulator_v17_v2\PWM_ADC_rough_ert_rtw\PWM_ADC_rough.mk' ...
### Building 'PWM_ADC_rough': "C:\PROGRA~1\MATLAB\R2021b\bin\win64\gmake" DEPRULES=1 -j5 -f PWM_ADC_rough.mk all
C:\D_Drive_Files\ADVISE\Simulator_v17_v2\PWM_ADC_rough_ert_rtw>cd .
C:\D_Drive_Files\ADVISE\Simulator_v17_v2\PWM_ADC_rough_ert_rtw>if "all" == "" ("C:\PROGRA~1\MATLAB\R2021b\bin\win64\gmake" DEPRULES=1 -j5 -f PWM_ADC_rough.mk all ) else ("C:\PROGRA~1\MATLAB\R2021b\bin\win64\gmake" DEPRULES=1 -j5 -f PWM_ADC_rough.mk all )
"C:/Users/ARSALAN/DOWNLO~1/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --compile_only --preproc_dependency="MW_c28xx_csl.dep" --preproc_with_compile --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/Users/ARSALAN/DOWNLO~1/TI-CGT~1.LTS/include" -v28 --float_support=fpu32 -ml -DF28335 -DBOOT_FROM_FLASH=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DMW_F2833X -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=PWM_ADC_rough -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/D_Drive_Files/ADVISE/Simulator_v17_v2 -IC:/D_Drive_Files/ADVISE/Simulator_v17_v2/PWM_ADC_rough_ert_rtw -IC:/PROGRA~1/MATLAB/R2021b/extern/include -IC:/PROGRA~1/MATLAB/R2021b/simulink/include -IC:/PROGRA~1/MATLAB/R2021b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2021b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2021b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/MATLAB/R2021b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/shared/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/shared/SUPPOR~1/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/target/shared/EXTERN~1/include -IC:/PROGRA~1/MATLAB/R2021b/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="MW_c28xx_csl.obj" "C:/D_Drive_Files/ADVISE/Simulator_v17_v2/PWM_ADC_rough_ert_rtw/MW_c28xx_csl.c"
"C:/Users/ARSALAN/DOWNLO~1/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --compile_only --preproc_dependency="MW_c28xx_board.dep" --preproc_with_compile --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/Users/ARSALAN/DOWNLO~1/TI-CGT~1.LTS/include" -v28 --float_support=fpu32 -ml -DF28335 -DBOOT_FROM_FLASH=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DMW_F2833X -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=PWM_ADC_rough -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/D_Drive_Files/ADVISE/Simulator_v17_v2 -IC:/D_Drive_Files/ADVISE/Simulator_v17_v2/PWM_ADC_rough_ert_rtw -IC:/PROGRA~1/MATLAB/R2021b/extern/include -IC:/PROGRA~1/MATLAB/R2021b/simulink/include -IC:/PROGRA~1/MATLAB/R2021b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2021b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2021b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/MATLAB/R2021b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/shared/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/shared/SUPPOR~1/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/target/shared/EXTERN~1/include -IC:/PROGRA~1/MATLAB/R2021b/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="MW_c28xx_board.obj" "C:/D_Drive_Files/ADVISE/Simulator_v17_v2/PWM_ADC_rough_ert_rtw/MW_c28xx_board.c"
process_begin: CreateProcess(C:\Users\ARSALAN\AppData\Local\Temp\make22268-1.bat, C:\Users\ARSALAN\AppData\Local\Temp\make22268-1.bat, ...) failed.
"C:/Users/ARSALAN/DOWNLO~1/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --compile_only --preproc_dependency="MW_c28xx_pwm.dep" --preproc_with_compile --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/Users/ARSALAN/DOWNLO~1/TI-CGT~1.LTS/include" -v28 --float_support=fpu32 -ml -DF28335 -DBOOT_FROM_FLASH=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DMW_F2833X -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=PWM_ADC_rough -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/D_Drive_Files/ADVISE/Simulator_v17_v2 -IC:/D_Drive_Files/ADVISE/Simulator_v17_v2/PWM_ADC_rough_ert_rtw -IC:/PROGRA~1/MATLAB/R2021b/extern/include -IC:/PROGRA~1/MATLAB/R2021b/simulink/include -IC:/PROGRA~1/MATLAB/R2021b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2021b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2021b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/MATLAB/R2021b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/shared/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/shared/SUPPOR~1/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/target/shared/EXTERN~1/include -IC:/PROGRA~1/MATLAB/R2021b/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="MW_c28xx_pwm.obj" "C:/D_Drive_Files/ADVISE/Simulator_v17_v2/PWM_ADC_rough_ert_rtw/MW_c28xx_pwm.c"
process_begin: CreateProcess(C:\Users\ARSALAN\AppData\Local\Temp\make22268-2.bat, C:\Users\ARSALAN\AppData\Local\Temp\make22268-2.bat, ...) failed.
"C:/Users/ARSALAN/DOWNLO~1/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --compile_only --preproc_dependency="PWM_ADC_rough.dep" --preproc_with_compile --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/Users/ARSALAN/DOWNLO~1/TI-CGT~1.LTS/include" -v28 --float_support=fpu32 -ml -DF28335 -DBOOT_FROM_FLASH=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DMW_F2833X -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=PWM_ADC_rough -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/D_Drive_Files/ADVISE/Simulator_v17_v2 -IC:/D_Drive_Files/ADVISE/Simulator_v17_v2/PWM_ADC_rough_ert_rtw -IC:/PROGRA~1/MATLAB/R2021b/extern/include -IC:/PROGRA~1/MATLAB/R2021b/simulink/include -IC:/PROGRA~1/MATLAB/R2021b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2021b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2021b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/MATLAB/R2021b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/shared/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/shared/SUPPOR~1/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/target/shared/EXTERN~1/include -IC:/PROGRA~1/MATLAB/R2021b/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="PWM_ADC_rough.obj" "C:/D_Drive_Files/ADVISE/Simulator_v17_v2/PWM_ADC_rough_ert_rtw/PWM_ADC_rough.c"
process_begin: CreateProcess(C:\Users\ARSALAN\AppData\Local\Temp\make22268-3.bat, C:\Users\ARSALAN\AppData\Local\Temp\make22268-3.bat, ...) failed.
"C:/Users/ARSALAN/DOWNLO~1/TI-CGT~1.LTS/bin/cl2000" --abi=coffabi --compile_only --preproc_dependency="c2833xBoard_Realtime_Support.dep" --preproc_with_compile --large_memory_model --silicon_version=28 --define="LARGE_MODEL" -I"/~SupportFiles/DSP280x_headers" -I"/~SupportFiles/DSP280x_headers/include" -I"C:/Users/ARSALAN/DOWNLO~1/TI-CGT~1.LTS/include" -v28 --float_support=fpu32 -ml -DF28335 -DBOOT_FROM_FLASH=0 -D__MW_TARGET_USE_HARDWARE_RESOURCES_H__ -DCLASSIC_INTERFACE=0 -DALLOCATIONFCN=0 -DTERMFCN=1 -DONESTEPFCN=1 -DMAT_FILE=0 -DMULTI_INSTANCE_CODE=0 -DINTEGER_CODE=0 -DMT=0 -DTID01EQ=0 -DDAEMON_MODE=1 -DXCP_CUSTOM_PLATFORM -DEXTMODE_DISABLE_ARGS_PROCESSING=1 -DMW_PIL_SCIFIFOLEN=16 -DMW_F2833X -DSTACK_SIZE=1024 -DRT -DF28335 -DBOOT_FROM_FLASH=0 -DMW_FAST_RTS_INCLUDED=0 -DMODEL=PWM_ADC_rough -DNUMST=1 -DNCSTATES=0 -DHAVESTDIO -DMODEL_HAS_DYNAMICALLY_LOADED_SFCNS=0 -IC:/D_Drive_Files/ADVISE/Simulator_v17_v2 -IC:/D_Drive_Files/ADVISE/Simulator_v17_v2/PWM_ADC_rough_ert_rtw -IC:/PROGRA~1/MATLAB/R2021b/extern/include -IC:/PROGRA~1/MATLAB/R2021b/simulink/include -IC:/PROGRA~1/MATLAB/R2021b/rtw/c/src -IC:/PROGRA~1/MATLAB/R2021b/rtw/c/src/ext_mode/common -IC:/PROGRA~1/MATLAB/R2021b/rtw/c/ert -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/target/SUPPOR~1/tic2000/inc -IC:/PROGRA~1/MATLAB/R2021b/toolbox/shared/can/src/scanutil -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/target/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/shared/SUPPOR~1/tic2000/src -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/shared/SUPPOR~1/tic2000/inc -IC:/PROGRA~3/MATLAB/SUPPOR~1/R2021b/toolbox/target/shared/EXTERN~1/include -IC:/PROGRA~1/MATLAB/R2021b/toolbox/rtw/targets/common/can/blocks/tlc_c --output_file="c2833xBoard_Realtime_Support.obj" "C:/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/target/supportpackages/tic2000/src/c2833xBoard_Realtime_Support.c"
process_begin: CreateProcess(C:\Users\ARSALAN\AppData\Local\Temp\make22268-4.bat, C:\Users\ARSALAN\AppData\Local\Temp\make22268-4.bat, ...) failed.
process_begin: CreateProcess(C:\Users\ARSALAN\AppData\Local\Temp\make22268-5.bat, C:\Users\ARSALAN\AppData\Local\Temp\make22268-5.bat, ...) failed.
make (e=2): The system cannot find the file specified.
gmake: *** [MW_c28xx_csl.obj] Error 2
gmake: *** Waiting for unfinished jobs....
make (e=2): The system cannot find the file specified.
gmake: *** [MW_c28xx_board.obj] Error 2
make (e=2): The system cannot find the file specified.
gmake: *** [MW_c28xx_pwm.obj] Error 2
make (e=2): The system cannot find the file specified.
gmake: *** [PWM_ADC_rough.obj] Error 2
make (e=2): The system cannot find the file specified.
gmake: *** [c2833xBoard_Realtime_Support.obj] Error 2
C:\D_Drive_Files\ADVISE\Simulator_v17_v2\PWM_ADC_rough_ert_rtw>echo The make command returned an error of 2
The make command returned an error of 2
C:\D_Drive_Files\ADVISE\Simulator_v17_v2\PWM_ADC_rough_ert_rtw>exit /B 1
### Build procedure for PWM_ADC_rough aborted due to an error.
Top model targets built:
Model Action Rebuild Reason
=========================================================================
PWM_ADC_rough Failed Code generation information file does not exist.
0 of 1 models built (0 models already up to date)
Build duration: 0h 0m 31.426s
Error:Error(s) encountered while building "PWM_ADC_rough"
Muhammad Arsalan Athar
on 6 Dec 2022
Still I am having the compile errors to run the simple ePWM program. Please suggest Community members.
"C:/ProgramData/MATLAB/SupportPackages/R2021b/toolbox/target/supportpackages/tic2000/src/c2833xBoard_Realtime_Support.c" process_begin: CreateProcess(C:\Users\ARSALAN\AppData\Local\Temp\make19600-4.bat, C:\Users\ARSALAN\AppData\Local\Temp\make19600-4.bat, ...) failed. process_begin: CreateProcess(C:\Users\ARSALAN\AppData\Local\Temp\make19600-5.bat, C:\Users\ARSALAN\AppData\Local\Temp\make19600-5.bat, ...) failed. make (e=2): The system cannot find the file specified. gmake: *** [MW_c28xx_csl.obj] Error 2 gmake: *** Waiting for unfinished jobs.... make (e=2): The system cannot find the file specified. gmake: *** [MW_c28xx_board.obj] Error 2 make (e=2): The system cannot find the file specified. gmake: *** [MW_c28xx_pwm.obj] Error 2 make (e=2): The system cannot find the file specified. gmake: *** [PWM_ADC_rough.obj] Error 2 make (e=2): The system cannot find the file specified. gmake: *** [c2833xBoard_Realtime_Support.obj] Error 2 C:\D_Drive_Files\ADVISE\Simulator_v17_v2\PWM_ADC_rough_ert_rtw>echo The make command returned an error of 2 The make command returned an error of 2 C:\D_Drive_Files\ADVISE\Simulator_v17_v2\PWM_ADC_rough_ert_rtw>exit /B 1 ### Build procedure for PWM_ADC_rough aborted due to an error.
Walter Roberson
on 6 Dec 2022
It is difficult for me to tell which file it is saying is not found.
I was glancing at a posted log earlier today that aso happened to deal with error 1 and error 2. When I was looking at that other log, that other log gave me the impression it was complaining about not being able to find the bin/cl2000 (which in that other log was in a different location than where you have yours in C:/Users/ARSALAN/DOWNLO~1/TI-CGT~1.LTS/bin/cl2000 )
Answers (0)
See Also
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!An Error Occurred
Unable to complete the action because of changes made to the page. Reload the page to see its updated state.
Select a Web Site
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list
How to Get Best Site Performance
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Americas
- América Latina (Español)
- Canada (English)
- United States (English)
Europe
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)
Asia Pacific
- Australia (English)
- India (English)
- New Zealand (English)
- 中国
- 日本Japanese (日本語)
- 한국Korean (한국어)