Arduino Due error in Matlab

4 views (last 30 days)
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.

Accepted Answer

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

Sign in to comment.

More Answers (2)

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

Sign in to comment.


nguyen nhan tinh
nguyen nhan tinh on 25 Dec 2019
Edited: nguyen nhan tinh on 26 Dec 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 Comments
nguyen nhan tinh
nguyen nhan tinh on 26 Dec 2019
Matlab worked.
Thanks for your support.
Walter Roberson
Walter Roberson on 26 Dec 2019
Thanks, Madhu Govindarajan .

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!