"MATLAB Support Package for Arduino Hardware"でArduino Nanoに接続する方法を教えてください。
3 views (last 30 days)
Show older comments
MATLAB 2023aで"MATLAB Support Package for Arduino Hardware"でArduino Nanoを接続しようとしたのですが、以下のエラーがでて接続できません。アドオンの設定時には"Nano3"を選んで接続しようとしています。
---------------------------------------------------------------------------------------------------------------------------
スケッチの書き込み中にエラーが発生しました
avrdude: Version 6.3-20190619
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch
System wide configuration file is "C:\ProgramData\MATLAB\SupportPackages\R2023a\aIDE\hardware\tools\avr/etc/avrdude.conf"
avrdude: error at C:\ProgramData\MATLAB\SupportPackages\R2023a\aIDE\hardware\tools\avr/etc/avrdude.conf:7524: page size (64) * num_pages (64) = 4096 does not match memory size (401152)
avrdude: error reading system wide configuration file "C:\ProgramData\MATLAB\SupportPackages\R2023a\aIDE\hardware\tools\avr/etc/avrdude.conf"
---------------------------------------------------------------------------------------------------------------------------
同じことを2022bで試みましたが、以下のようなエラーが出て同様に接続できません。
---------------------------------------------------------------------------------------------------------------------------
C:\ProgramData\MATLAB\SupportPackages\R2022b\aIDE\hardware\tools\avr/bin/avrdude -CC:\ProgramData\MATLAB\SupportPackages\R2022b\aIDE\hardware\tools\avr/etc/avrdude.conf -v -patmega328p -carduino -PCOM3 -b115200 -D -Uflash:w:C:\Users\user\AppData\Local\Temp\ArduinoServerNano3\MW/ArduinoServer.ino.hex:i
スケッチの書き込み中にエラーが発生しました
---------------------------------------------------------------------------------------------------------------------------
どなたか解決方法をご存じないでしょうか?
0 Comments
Answers (0)
See Also
Categories
Find more on MATLAB Support Package for Arduino Hardware 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!