I am using PLECS Coder with a LAUNCHXL-F28379D. My PWM outputs and SPI-A block work when I use fixed constant inputs, and I can see the SPI signals on the oscilloscope.
However, when I replace the constants with C-Script blocks, the model no longer builds/programs to the DSP. The C-Scripts work in offline simulation, but the DSP cannot be flashed when they are included.
Are there specific restrictions for using C-Scripts with the TI C2000 target?
Yes there are restrictions regarding C-Scripts. For example, the use of absolute time via the CurrentTime macro will by default generate an error. However there are many more possible reasons.
You will need to post a representative model and a description of the error message for more specific guidance.
I will try to provide more details. I do not receive any errors after flashing, but the flashing was unsuccessful because the signals I am probing are dead