Effacer les filtres
Effacer les filtres

Simulink simulation won't start on Raspberry Pi3 in External Mode

11 vues (au cours des 30 derniers jours)
Andrew Poissant
Andrew Poissant le 26 Juin 2019
Réponse apportée : Jonas le 5 Août 2020
I am trying to run my Simulink model in external mode on a Raspberry Pi 3. I went through all of the setup and initial tests for the Simulink support package for Raspberry Pi. I checked to make sure my Raspberry Pi 3 is properly detected by going to Tools --> Run Target on Hardware --> Options, and then checking the "Target Hardware Resources" section. When I click run, the model builds properly and says "build process completed successfully". However, when the model begins to run on the Raspberry Pi 3, it stalls for a second at T = 0.000 s and then the simulation stops. The only message I get is in the matlab command window. See the warning messages below. Why isn't my simulation running on the Raspberry Pi?
Warning: Error returned by XCP master: XCP Master internal error: No slave connected
> In coder.internal.xcp.extmode_xcp_open
In coder.internal.xcp.extmode_xcp_open
In coder.internal.xcp.extmode_xcp_open
In ext_open_intrf>i_UserTargetStopped (line 992)
In ext_open_intrf (line 478)
Warning: XCP Master internal error: Busy(0) or no timeout(2) for 252
> In coder.internal.xcp.extmode_xcp_open
In coder.internal.xcp.extmode_xcp_open
In ext_open_intrf>i_UserTargetStopped (line 992)
In ext_open_intrf (line 478)
  2 commentaires
Abdullah Kucuk
Abdullah Kucuk le 2 Juin 2020
Same here. Did you resolve the problem?
FlyWing
FlyWing le 5 Août 2020
same here.

Connectez-vous pour commenter.

Réponses (2)

Hamza Hobbani
Hamza Hobbani le 13 Jan 2020
Hi, did you solve this problem? I'm facing it too .... Thanky in advance

Jonas
Jonas le 5 Août 2020
Do you have certain firewall settings possibly blocking the connection with the RPi?
I have had this before that it seemed to build and load the application, but External mode immediately stopped when started.

Catégories

En savoir plus sur Run on Target Hardware dans Help Center et File Exchange

Produits


Version

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by