Simulink external mode MKR1000 unrecognized board and changing driver when error occurs

1 vue (au cours des 30 derniers jours)
When I plug in the Arduino MKR1000 with USB, run the latest Arduino IDE and upload a sketch it works fine. I installed the 1.6.2 driver.
When using MATLAB R2018a and use the Support Package for Arduino the MKR1000 also works fine.
But in Simulink when I use external mode and upload something the building works and the first time it’s writing the code on the board. But the second time the writing of the code to the MKR1000 won’t work. It says then that Simulink can’t automatically find the COM port. Setting the port manually to the one in the device manager for MKR1000 don’t work. Also unplugging and replugging don’t work.
After that error the device driver has changed from Arduino MKR1000 to Genuino MKR1000. I can’t reproduce a situation where I can make the board working two times in a row. Every time it’s coding the MKR1000 the second time won’t work. Also the setup from the Simulink Support Package works every time.

Réponse acceptée

Madhu Govindarajan
Madhu Govindarajan le 2 Juil 2018
If you put the MKR1000 in bootloader mode manually (double pressing the reset button), this could help get the COM port numbers found automatically.

Plus de réponses (0)

Catégories

En savoir plus sur Arduino Hardware dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by