Arduino Due error in Matlab
Show older comments
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
More Answers (2)
madhan ravi
on 12 Jan 2019
Edited: madhan ravi
on 12 Jan 2019
1 vote
Make sure the proper board (Arduino Uno or mini for example) and the port are selected.
7 Comments
john white
on 12 Jan 2019
madhan ravi
on 12 Jan 2019
Are you using mac ?
john white
on 12 Jan 2019
madhan ravi
on 12 Jan 2019
Did you download arduino support package?
john white
on 12 Jan 2019
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
on 12 Jan 2019
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
Madhu Govindarajan
on 26 Dec 2019
This means that the architecture necessary to program this board is missing. Try the following:
- Open Arduino IDE version supported by MATLAB. To open this IDE, type winopen(arduinoio.IDERoot) in MATLAB Command Window. Then open the Arduino Application in that folder.
- Go to Tools > Boards > Boards Manager.
- Search for ARduino Due here.
- The results should have Arduino SAM Boards. Check the version and install v 1.6.11 if not already done.
If this does not resolve your issue, contact MathWorks Technical Support.
nguyen nhan tinh
on 26 Dec 2019
Walter Roberson
on 26 Dec 2019
Thanks, Madhu Govindarajan .
Categories
Find more on I2C Devices in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!