Arduino Due error in Matlab

17 vues (au cours des 30 derniers jours)
john white
john white le 12 Jan 2019
Commenté : Walter Roberson le 26 Déc 2019
Hi
when I want to programming the arduino Due this error is showing:
>> arduino
Updating server code on board Due (COM10). Please wait (might take a few minutes).
Cannot program board Due (COM10). Please make sure the board is supported and the port and board type are correct. For more
information, see Arduino Hardware Troubleshooting.

Réponse acceptée

Madhu Govindarajan
Madhu Govindarajan le 14 Jan 2019
Try the following and post any error messages that you get -
a = arduino('COM#','Due','TraceOn',true)
Remember the COM# should be the correct number of your Arduino Due. For instance - COM3, COM25 etc.
  6 commentaires
madhan ravi
madhan ravi le 17 Jan 2019
Then accept his answer.
john white
john white le 17 Jan 2019
thanks for your notice , I have done

Connectez-vous pour commenter.

Plus de réponses (2)

madhan ravi
madhan ravi le 12 Jan 2019
Modifié(e) : madhan ravi le 12 Jan 2019
Make sure the proper board (Arduino Uno or mini for example) and the port are selected.
  7 commentaires
madhan ravi
madhan ravi le 12 Jan 2019
Modifié(e) : madhan ravi le 12 Jan 2019
Oh, I have experience with Uno and Mini but Due not , sorry
john white
john white le 12 Jan 2019
ok thank you so much

Connectez-vous pour commenter.


nguyen nhan tinh
nguyen nhan tinh le 25 Déc 2019
Modifié(e) : nguyen nhan tinh le 26 Déc 2019
I have same this issue.
When i run cmd:
>> a = arduino('COM3','Due', 'TraceOn', true)
Updating server code on board Due (COM3). Please wait (might take a few minutes).
Loading configuration...
Initializing packages...
Preparing boards...
Error: sam: Unknown architecture
How to resolve it. I using Matlab 2017b with Win10 64bit
Thanks
  3 commentaires
nguyen nhan tinh
nguyen nhan tinh le 26 Déc 2019
Matlab worked.
Thanks for your support.
Walter Roberson
Walter Roberson le 26 Déc 2019
Thanks, Madhu Govindarajan .

Connectez-vous pour commenter.

Community Treasure Hunt

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

Start Hunting!

Translated by