PLECS code generation lose communication

Hi PLEXIM,
When i do PLECS code generation with C2000, P550.
After some seconds of normal operation, it keeps report this error.
But the CPU load is about 73%, i also tried to re-plug the USB cables.
Do you have suggestions?
Thanks,
Bowen





Hi Bowen,
This type of sporadic shutdown is likely due to the CPU running out of cycles when external mode is active. Although the CPU load is 73% there may be periodic tasks that can increase the CPU load. Perhaps by using multi-tasking you can decrease the CPU load further.

There may be other ways to optimize your model if you are willing to share additional formation. You can also reach out to support@plexim.com if you would like to share your model privately.

Regards,
Bryan