Arduino Due error in Matlab

17 ビュー (過去 30 日間)
john white
john white 2019 年 1 月 12 日
コメント済み: Walter Roberson 2019 年 12 月 26 日
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.

採用された回答

Madhu Govindarajan
Madhu Govindarajan 2019 年 1 月 14 日
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 件のコメント
madhan ravi
madhan ravi 2019 年 1 月 17 日
Then accept his answer.
john white
john white 2019 年 1 月 17 日
thanks for your notice , I have done

サインインしてコメントする。

その他の回答 (2 件)

madhan ravi
madhan ravi 2019 年 1 月 12 日
編集済み: madhan ravi 2019 年 1 月 12 日
Make sure the proper board (Arduino Uno or mini for example) and the port are selected.
  7 件のコメント
madhan ravi
madhan ravi 2019 年 1 月 12 日
編集済み: madhan ravi 2019 年 1 月 12 日
Oh, I have experience with Uno and Mini but Due not , sorry
john white
john white 2019 年 1 月 12 日
ok thank you so much

サインインしてコメントする。


nguyen nhan tinh
nguyen nhan tinh 2019 年 12 月 25 日
編集済み: nguyen nhan tinh 2019 年 12 月 26 日
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 件のコメント
nguyen nhan tinh
nguyen nhan tinh 2019 年 12 月 26 日
Matlab worked.
Thanks for your support.
Walter Roberson
Walter Roberson 2019 年 12 月 26 日
Thanks, Madhu Govindarajan .

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeI2C Devices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by