Arduino Setup Not Working, Support Packages Cannot be Verified
3 次查看(过去 30 天)
显示 更早的评论
I am trying to install MATLAB libraries for Arduino. I try to verify my support package add-ons I get this error message
May 29, 2023 9:48:22 PM com.mathworks.hwservices.logging
INFO: Loading configuration...
Initializing packages...
Preparing boards...
Verifying...
/Users/chris/Documents/MATLAB/SupportPackages/R2019a/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/arduino-builder -dump-prefs -logger=machine -hardware /Users/chris/Documents/MATLAB/SupportPackages/R2019a/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware -hardware /Users/chris/Documents/MATLAB/SupportPackages/R2019a/3P.instrset/arduinoide.instrset/idepkgs/packages -tools /Users/chris/Documents/MATLAB/SupportPackages/R2019a/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/tools-builder -tools /Users/chris/Documents/MATLAB/SupportPackages/R2019a/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/hardware/tools/avr -tools /Users/chris/Documents/MATLAB/SupportPackages/R2019a/3P.instrset/arduinoide.instrset/idepkgs/packages -built-in-libraries /Users/chris/Documents/MATLAB/SupportPackages/R2019a/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/libraries -libraries /Users/chris/Documents/Arduino/libraries -fqbn=arduino:samd:mkr1000 -vid-pid=0X2341_0X804E -ide-version=10801 -build-path /private/var/folders/1v/2xqmdtwd20l9lsvc26n139t80000gn/T/ArduinoServer/MW -warnings=null -prefs=build.path=/private/var/folders/1v/2xqmdtwd20l9lsvc26n139t80000gn/T/ArduinoServer/MW -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=/Users/chris/Documents/MATLAB/SupportPackages/R2019a/3P.instrset/arduinoide.instrset/idepkgs/packages/arduino/tools/arduinoOTA/1.2.0 -prefs=runtime.tools.arm-none-eabi-gcc.path=/Users/chris/Documents/MATLAB/SupportPackages/R2019a/3P.instrset/arduinoide.instrset/idepkgs/packages/arduino/tools/arm-none-eabi-gcc/4.8.3-2014q1 -prefs=runtime.tools.bossac.path=/Users/chris/Documents/MATLAB/SupportPackages/R2019a/3P.instrset/arduinoide.instrset/idepkgs/packages/arduino/tools/bossac/1.7.0 -prefs=runtime.tools.CMSIS.path=/Users/chris/Documents/MATLAB/SupportPackages/R2019a/3P.instrset/arduinoide.instrset/idepkgs/packages/arduino/tools/CMSIS/4.5.0 -prefs=runtime.tools.openocd.path=/Users/chris/Documents/MATLAB/SupportPackages/R2019a/3P.instrset/arduinoide.instrset/idepkgs/packages/arduino/tools/openocd/0.9.0-arduino6-static -prefs=runtime.tools.CMSIS-Atmel.path=/Users/chris/Documents/MATLAB/SupportPackages/R2019a/3P.instrset/arduinoide.instrset/idepkgs/packages/arduino/tools/CMSIS-Atmel/1.1.0 -verbose /private/var/folders/1v/2xqmdtwd20l9lsvc26n139t80000gn/T/ArduinoServer/ArduinoServer.ino
/Users/chris/Documents/MATLAB/SupportPackages/R2019a/3P.instrset/arduinoide.instrset/Arduino.app/Contents/Java/arduino-builder returned 139
I understand that the key error lies in the last bit "returned 139"
Upon verification of the setup and test of the Arduino Connection, the Build status fails:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/1397929/image.png)
I have tried to reinstall the third-party files.
Keep in mind, this is all happening in Mac, as this is my only option currently.
Any help would be greatly appreciated.
This is my first question, so any tips on how to make future questions better would be greatly appreciated as well.
5 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 I2C Devices 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!