Arduino Due error in Matlab

17 visualizzazioni (ultimi 30 giorni)
john white
john white il 12 Gen 2019
Commentato: Walter Roberson il 26 Dic 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.

Risposta accettata

Madhu Govindarajan
Madhu Govindarajan il 14 Gen 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 Commenti
madhan ravi
madhan ravi il 17 Gen 2019
Then accept his answer.
john white
john white il 17 Gen 2019
thanks for your notice , I have done

Accedi per commentare.

Più risposte (2)

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

Accedi per commentare.


nguyen nhan tinh
nguyen nhan tinh il 25 Dic 2019
Modificato: nguyen nhan tinh il 26 Dic 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 Commenti
nguyen nhan tinh
nguyen nhan tinh il 26 Dic 2019
Matlab worked.
Thanks for your support.
Walter Roberson
Walter Roberson il 26 Dic 2019
Thanks, Madhu Govindarajan .

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by