C2000 Code Generation slow to compile

1 vue (au cours des 30 derniers jours)
Matthew Granger
Matthew Granger le 28 Août 2017
Commenté : Matthew Granger le 19 Août 2019
Hi,
I'm using the Embedded Coder Support Package for Texas Instruments C2000 Processors add-on to load Simulink code into a TI Delfino (C28346).
It's been working great for weeks, but now, the "Deploy to Hardware" step gets stuck for about 15 minutes at this line in the Diagnostic Viewer:
### Using System Target File: C:\Program Files\MATLAB\R2017a\rtw\c\ert\ert.tlc
It's an intermittent problem, in that every now and then it will get through that step in a few seconds, but now most of the time it takes 15 minutes to compile. It never used to take that long to compile until recently. There's nothing out of the ordinary which has changed in our Simulink code.
Thanks! Matt

Réponse acceptée

Antonin
Antonin le 29 Août 2017
Hi Matt,
Any chance you could add your model for us to be able to reproduce the problem? You can contact tech support and send it to them if the material can't be shared openly.
Thanks,
Antonin.
  1 commentaire
Matthew Granger
Matthew Granger le 19 Août 2019
Looking back on this from two years ago, thought I would update this for any one else who has this problem.
I privately sent Antonin our code, and he pointed out that there was quite a bit of whitespace being added to my custom c code, which was slowing down the compiling process. Simply editing the code in, say, notepad++, and using the whitespace removal feature, sped the process up to normal speed.
Thanks again for the help!

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by