LED blinking C2000 PLECS Demo Model Basic Topologies

Hello everyone, below mentioned error is being displayed while building the MCU from PLECS…for the LED blinking demo model.

Kindly suggest that how to solve this error?

Error in build step #2 (Make): Make process exited with code 2:

“C:/Users/Lab_308/OneDrive/Documents/Plexim/PLECS 4.7 (64 bit)/make/make” -f pl_280049.mk ./output_TI28004x/pl_280049.elf
make[1]: Entering directory ‘C:/Users/Lab_308/OneDrive/Documents/Plexim/PLECS 4.8 (64 bit)/tsp_ti_c2000/demos/simple_model/simple_model_codegen’
“C:/ti/c2000/C2000Ware_4_03_00_00/BIN”/cl2000 -D_PLEXIM_ -DCPU1 -DBASE_NAME=pl_280049 -DEXTERNAL_MODE=1 -fr./output_TI28004x -fs./output_TI28004x -v28 -ml -mt --float_support=fpu32 -O0 --include_path=“C:/Users/Lab_308/OneDrive/Documents/Plexim/PLECS 4.8 (64 bit)/tsp_ti_c2000/ccs/28004x/app” --include_path=“C:/Users/Lab_308/OneDrive/Documents/Plexim/PLECS 4.8 (64 bit)/tsp_ti_c2000/ccs/28004x/../pil” --include_path=“C:/Users/Lab_308/OneDrive/Documents/Plexim/PLECS 4.8 (64 bit)/tsp_ti_c2000/ccs/28004x/../shrd” --include_path=“C:/Users/Lab_308/OneDrive/Documents/Plexim/PLECS 4.8 (64 bit)/tsp_ti_c2000/ccs/28004x/../inc” --include_path=“C:/Users/Lab_308/OneDrive/Documents/Plexim/PLECS 4.8 (64 bit)/tsp_ti_c2000/ccs/28004x/inc_impl” --include_path=“C:/Users/Lab_308/OneDrive/Documents/Plexim/PLECS 4.8 (64 bit)/tsp_ti_c2000/ccs/28004x/tiinc” --include_path=“C:/Users/Lab_308/OneDrive/Documents/Plexim/PLECS 4.8 (64 bit)/tsp_ti_c2000/ccs/28004x/tiinc/driverlib” --include_path=“C:/ti/c2000/C2000Ware_4_03_00_00/include” --include_path=“./” -g --gcc --diag_warning=225 pl_280049_hal.c
pl_280049.mk:174: recipe for target ‘output_TI28004x/pl_280049_hal.obj’ failed
make[1]: Leaving directory ‘C:/Users/Lab_308/OneDrive/Documents/Plexim/PLECS 4.8 (64 bit)/tsp_ti_c2000/demos/simple_model/simple_model_codegen’
pl_280049.mk:148: recipe for target ‘all’ failed

process_begin: CreateProcess(NULL, C:/ti/c2000/C2000Ware_4_03_00_00/BIN/cl2000 -D_PLEXIM_ -DCPU1 -DBASE_NAME=pl_280049 -DEXTERNAL_MODE=1 -fr./output_TI28004x -fs./output_TI28004x -v28 -ml -mt --float_support=fpu32 -O0 “–include_path=C:/Users/Lab_308/OneDrive/Documents/Plexim/PLECS 4.8 (64 bit)/tsp_ti_c2000/ccs/28004x/app” “–include_path=C:/Users/Lab_308/OneDrive/Documents/Plexim/PLECS 4.8 (64 bit)/tsp_ti_c2000/ccs/28004x/../pil” “–include_path=C:/Users/Lab_308/OneDrive/Documents/Plexim/PLECS 4.8 (64 bit)/tsp_ti_c2000/ccs/28004x/../shrd” “–include_path=C:/Users/Lab_308/OneDrive/Documents/Plexim/PLECS 4.8 (64 bit)/tsp_ti_c2000/ccs/28004x/../inc” “–include_path=C:/Users/Lab_308/OneDrive/Documents/Plexim/PLECS 4.8 (64 bit)/tsp_ti_c2000/ccs/28004x/inc_impl” “–include_path=C:/Users/Lab_308/OneDrive/Documents/Plexim/PLECS 4.8 (64 bit)/tsp_ti_c2000/ccs/28004x/tiinc” “–include_path=C:/Users/Lab_308/OneDrive/Documents/Plexim/PLECS 4.8 (64 bit)/tsp_ti_c2000/ccs/28004x/tiinc/driverlib” --include_path=C:/ti/c2000/C2000Ware_4_03_00_00/include --include_path=./ -g --gcc --diag_warning=225 pl_280049_hal.c, …) failed.

make (e=2): The system cannot find the file specified.
make[1]: * [output_TI28004x/pl_280049_hal.obj] Error 2
make: * [all] Error 2



You have certain folders misconfigured in the PLECS Preferences + Coder tab. Your are referring to the C2000Ware folder instead of the TI Code Gen Tools (CGT).

Did you use the Automatic Installer or did you configure things manually?

If you didn’t use the automated approach initially, I recommend using the automated installer and reinstall the TI C2000 Target Support Package. You can also find the manual installation instructions, recommended software versions, and correct download links in the quick start section of the C2000 manual.

I also strongly advise against having the C2000 Target Support Package and associated toolchains on a network drive such as OneDrive.

Thank you for your response!

I have another query regarding TI C2000 Target Support Package…

Since I am using PLECS version 4.7.3, so I need to configure TI C2000 Target Support Package of older version like version 1.4.5, But this version is not available in the Plexim website…

So how can we obtain TI C2000 Target Support Package version 1.4.5?

Thank you!

https://www.plexim.com/sites/default/files/packages/ti_c2000_1.4.5.exe
https://www.plexim.com/sites/default/files/packages/ti_c2000_1.4.5.zip

Thank You for sharing the target support packages.