I am very new to Arduino, and this is my first post in the forum,
I have connected Arduino Due board via Prog Port ,i can see that in my laptop it is getting assigned to port 24.
i have installed IDE 1.8.2 in my laptop in Admin mode.
i have checked few web pages, which explains how to add Due to the IDE. However, in-spite of following
the same procedure, when i try to download SAM Board updates from Boards Manager, i get some Errors in the window- related to Java
I am attaching the Errors below:
Arduino: 1.8.2 (Windows 7), Board: "Arduino Duemilanove or Diecimila, ATmega168"
Error downloading http://downloads.arduino.cc/packages/package_index.json
java.lang.RuntimeException: java.lang.Exception: Error downloading http://downloads.arduino.cc/packages/package_index.json
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onUpdatePressed$0(ContributionManagerUI.java:151)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.Exception: Error downloading http://downloads.arduino.cc/packages/package_index.json
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:131)
at cc.arduino.contributions.packages.ContributionInstaller.download(ContributionInstaller.java:334)
at cc.arduino.contributions.packages.ContributionInstaller.downloadIndexAndSignature(ContributionInstaller.java:309)
at cc.arduino.contributions.packages.ContributionInstaller.updateIndex(ContributionInstaller.java:287)
at cc.arduino.contributions.packages.ui.ContributionManagerUI.lambda$onUpdatePressed$0(ContributionManagerUI.java:147)
... 1 more
Caused by: java.net.UnknownHostException: downloads.arduino.cc
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
at java.net.Socket.connect(Socket.java:589)
at sun.net.NetworkClient.doConnect(NetworkClient.java:175)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:432)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:527)
at sun.net.www.http.HttpClient.<init>(HttpClient.java:211)
at sun.net.www.http.HttpClient.New(HttpClient.java:308)
at sun.net.www.http.HttpClient.New(HttpClient.java:326)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1202)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1181)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1032)
at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:966)
at cc.arduino.utils.network.FileDownloader.downloadFile(FileDownloader.java:170)
at cc.arduino.utils.network.FileDownloader.download(FileDownloader.java:128)
at cc.arduino.contributions.DownloadableContributionsDownloader.download(DownloadableContributionsDownloader.java:129)
... 5 more
Arduino Due with Atmel ATSAM3X8E micro
Any help in resolving this issue is appreciated.
Thanks
I navigated to
-->Control Panel\All Control Panel Items\Windows Firewall\Allowed Programs
i added arduino to the list of "Allowed Programs and Features"
Restarted my laptop, and i launched Arduino application, but still same errors
Is this what you meant about whitelisting ? if not can you please suggest some steps.
That's correct. Sorry to hear it didn't resolve the problem. In order to install the Arduino SAM Boards package the Arduino IDE must download the necessary files from the Internet. For some reason this is failing. Is that computer connected to the Internet? If you are unable to install the package via Boards Manager it is possible to do so manually but this is a bit more complicated. The easiest way would be to install the Arduino SAM Boards Package on a different computer that doesn't have the problem and then transfer the installed files over to your computer that can't do the installation. The other option is to download all the necessary files and then install each one manually. This is a bit difficult because you have to create a specific folder structure in order for the Arduino IDE to recognize those files. I can provide instructions for how to do either of these things, just let me know how you want to proceed.
First, i will try downloading the necessary files as you suggested in another PC, and follow the steps to enable in my current laptop which is having issues. if it does not work i will try doing the update manually.
pert:
That's correct. Sorry to hear it didn't resolve the problem. In order to install the Arduino SAM Boards package the Arduino IDE must download the necessary files from the Internet. For some reason this is failing. Is that computer connected to the Internet? If you are unable to install the package via Boards Manager it is possible to do so manually but this is a bit more complicated. The easiest way would be to install the Arduino SAM Boards Package on a different computer that doesn't have the problem and then transfer the installed files over to your computer that can't do the installation. The other option is to download all the necessary files and then install each one manually. This is a bit difficult because you have to create a specific folder structure in order for the Arduino IDE to recognize those files. I can provide instructions for how to do either of these things, just let me know how you want to proceed.
Hello Pert,
I tired your suggestion of Downloading IDE in another Laptop. and i could see no issues. as you said, the issue in my current laptop is due to some firewall settings only
i have copied the whole structure of the "Arduino " folder from properly installed Laptop.
Can you please guide me through the steps to update similar manually?
It's not installed to the Arduino folder. You need to copy the Arduino15 folder from the computer that successfully installed Arduino SAM Boards to the computer that can't install it. That folder is located at C:\Users(username)\AppData\Local\Arduino15 or you can find the exact location at File > Preferences > More preferences can be edited directly in the file. That folder might be hidden by Windows. After doing that just restart the Arduino IDE if it's running and you should now see the Due in the Tools > Board menu.
Now i am able to install IDE in laptop, What i did is i came out of Firewall ( Internet) and tried installing the same IDE in a Free Wifi, where no firewalls are applied.
In IDE 1.8.3 Win-8.1, Net Connected; I could not add Arduino Due in the Boards List. I have solved the problem this way:
1. I installed Arduino IDE 1.8.3 in my Computer. This is the Computer with which I could not add Arduino Due Board. The problems was that I could not download data for Board Manager.
2. I worked with another Computer (Win-10)where I could download and install (automatically) Board Manager Data.
3. From the Computer of Step-2, I copied the folder Arduino15 from the path (C:\users\siam\AppData\Local\Arduino15) into corresponding folder of my computer of Step-1.