Bootloader port of Arduino MKR 1010 not detecting in Simulink

9 visualizaciones (últimos 30 días)
aakash dewangan
aakash dewangan el 21 de Oct. de 2021
Comentada: Augusto el 14 de Jun. de 2023
Hello,
I am using arduino MKR 1010 board to read the speed of my motor using Encoder Block of simulink. When i connect my MKR board to computer, first we need to give Com port munbers i simulink hardware settings. But, my laptop device manager only shows one com port number. Bootloader port number is not shown.
When i run by random.y providing bootloader number in setting, I get the following error:
The following error occurred during deployment to your hardware board: Could not find the bootloader COM port for your Arduino MKR WiFi 1010 board. This may be due to a disconnected board or unrecognized port. If the board is connected to your host computer, then try putting the board in Bootloader mode to get the Bootloader COM port number.
Component:Simulink | Category:Model error
Please let me know how to solve this issue. Any help will be deeply appreciated. Thanks!
And why running the model in silulink in external mode puts my arduino in Bootloader mode.
  2 comentarios
aakash dewangan
aakash dewangan el 22 de Oct. de 2021
Editada: aakash dewangan el 26 de Oct. de 2021
I got some idea about putting the arduino in boot loader mode by double pressing the reset button. To return back to normal mode i need to press only once. But, This works when the current state of my Arduino is not in bootloader mode.
But when i run any model (in external mode in simulink) in simulink, It gets stuck in boot loader mode, and gives me error, then it does not return back to normal mode. I don't know how to solve this arduino MKR1010 board problem.
and, still i am waiting for a better & concrete solution.
Augusto
Augusto el 14 de Jun. de 2023
Why this question has not been answred? Does Matlab ever answers a question? So far not to me.

Iniciar sesión para comentar.

Respuestas (0)

Categorías

Más información sobre Run on Target Hardware en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by