Arduino Due error in Matlab

18 Ansichten (letzte 30 Tage)
john white
john white am 12 Jan. 2019
Kommentiert: Walter Roberson am 26 Dez. 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.

Akzeptierte Antwort

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

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (2)

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

Melden Sie sich an, um zu kommentieren.


nguyen nhan tinh
nguyen nhan tinh am 25 Dez. 2019
Bearbeitet: nguyen nhan tinh am 26 Dez. 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 Kommentare
nguyen nhan tinh
nguyen nhan tinh am 26 Dez. 2019
Matlab worked.
Thanks for your support.
Walter Roberson
Walter Roberson am 26 Dez. 2019
Thanks, Madhu Govindarajan .

Melden Sie sich an, um zu kommentieren.

Community Treasure Hunt

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

Start Hunting!

Translated by