0

Error downloading Adafruit SAMD boards
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

Re: Error downloading Adafruit SAMD boards

by tw_cem on Fri Apr 09, 2021 2:33 pm

I can download this file noted above in string:
https://github.com/ARM-software/CMSIS_5 ... 4.0.tar.gz
But I do not know where to install the files.

This location is listed in the string above:
/Users/(username)/Library/Arduino15
But I do not have 'Library' in Users/(username)/

Any help would be much appreciated.

tw_cem
 
Posts: 12
Joined: Mon Jan 25, 2021 10:37 am

Re: Error downloading Adafruit SAMD boards

by adafruit_support_mike on Fri Apr 09, 2021 10:15 pm

On a Mac, use the Go menu and press the Option key.

Users/[name]/Library contains configuration and utility files that can cause all sorts of havoc if messed up. The directory is hidden by default to reduce the chance of people disturbing things accidentally.

adafruit_support_mike
 
Posts: 62799
Joined: Thu Feb 11, 2010 2:51 pm

Re: Error downloading Adafruit SAMD boards

by tw_cem on Mon Apr 12, 2021 7:52 am

Thanks Mike, but that didn't solve the problem.
See the last post on page 1; I am not able to install the Adafruit SAMD library on the Arduino IDE.
Attempting to install Adafruit SAMD Boards gave me this error on Friday.
CaptureSAMD.JPG
CaptureSAMD.JPG (53.97 KiB) Viewed 117 times


And today the error is different:
CaptureSAMD210410.JPG
CaptureSAMD210410.JPG (79.17 KiB) Viewed 117 times


Full error text from status window at bottom:
Code: Select all | TOGGLE FULL SIZE
 Error downloading https://github.com/adafruit/ArduinoModule-CMSIS-Atmel/releases/download/v1.2.1/CMSIS-Atmel-1.2.1.tar.bz2
java.lang.RuntimeException: java.lang.Exception: Error downloading https://github.com/adafruit/ArduinoModule-CMSIS-Atmel/releases/download/v1.2.1/CMSIS-Atmel-1.2.1.tar.bz2
   at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:181)
   at java.lang.Thread.run(Thread.java:748)
Caused by: java.lang.Exception: Error downloading https://github.com/adafruit/ArduinoModule-CMSIS-Atmel/releases/download/v1.2.1/CMSIS-Atmel-1.2.1.tar.bz2
   at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:149)
   at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:83)
   at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:60)
   at cc.arduino.contributions.packages.ContributionInstaller.install(ContributionInstaller.java:113)
   at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onInstallPressed$2(ContributionManagerUI.java:174)
   ... 1 more
Caused by: javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake
   at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:994)
   at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367)
   at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395)
   at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379)
   at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
   at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
   at sun.net.www.protocol.http.HttpURLConnection.followRedirect0(HttpURLConnection.java:2729)
   at sun.net.www.protocol.http.HttpURLConnection.followRedirect(HttpURLConnection.java:2641)
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1824)
   at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1492)
   at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
   at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:347)
   at cc.arduino.utils.network.HttpConnectionManager.makeConnection(HttpConnectionManager.java:156)
   at cc.arduino.utils.network.HttpConnectionManager.makeConnection(HttpConnectionManager.java:106)
   at cc.arduino.utils.network.FileDownloader.openConnectionAndFillTheFile(FileDownloader.java:234)
   at cc.arduino.utils.network.FileDownloader.downloadFile(FileDownloader.java:182)
   at cc.arduino.utils.network.FileDownloader.download(FileDownloader.java:129)
   at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:147)
   ... 5 more
Caused by: java.io.EOFException: SSL peer shut down incorrectly
   at sun.security.ssl.InputRecord.read(InputRecord.java:505)
   at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:975)
   ... 22 more


Any thoughts here? How can I install the Adafruit SAMD library?

Many thanks.

tw_cem
 
Posts: 12
Joined: Mon Jan 25, 2021 10:37 am

Re: Error downloading Adafruit SAMD boards

by adafruit_support_mike on Mon Apr 19, 2021 6:51 pm

That's some kind of connection problem, but I can't reproduce it here. I was able to download the linked file without any problems.

Are you using a corporate or school network? Those can have access restrictions.

adafruit_support_mike
 
Posts: 62799
Joined: Thu Feb 11, 2010 2:51 pm

Please be positive and constructive with your questions and comments.