Clear Filters
Clear Filters

Bootloader port of Arduino MKR 1010 not detecting in Simulink

9 views (last 30 days)
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 Comments
aakash dewangan
aakash dewangan on 22 Oct 2021
Edited: aakash dewangan on 26 Oct 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 on 14 Jun 2023
Why this question has not been answred? Does Matlab ever answers a question? So far not to me.

Sign in to comment.

Answers (0)

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!