Go Down

Topic: Boards have disappeared (Read 2857 times) previous topic - next topic

Dave748

Yesterday I finally got my wemos d1 mini working and today when I opened the arduino ide my board was set to arduino yun and approx 10 boards have disappeared! Almost like someone is having a laugh.

How can this be? I had a few esp8266 boards showing in the list, but now all gone.

Pls help

pert

Please verify that the URL of the ESP8266 JSON file is still present at File > Preferences > Additional Boards Manager URLs.

marine_hm

@Pert

I had a similar issue the other day.  Saw some other post about.  Can't find that other post at the moment.  But since then.  The ESP8266, Wemos D-1 mini boards show up and then disappear.  Currently, they are showing up.  20 minutes ago they were not.  Kind of confused on what's happening.  I apologize if you've answered this like a million times before.  Here's what's in my board preferences.  https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
http://arduino.esp8266.com/versions/2.4.0/package_esp8266com_index.json
Using IDE version: 1.8.4

Thanks

pert

I think it has something to do with the Arduino IDE not being able to access the esp8266.com URL. The IDE downloads that JSON file to check whether a new version is available for installation. If something goes wrong and the local copy of the JSON file is lost then the boards disappear. The correct behavior would be for the IDE to not erase the local copy until the remote copy has been successfully downloaded. I remember looking into this a while back and not being able to reproduce the problem.

Here's what's in my board preferences.  https://adafruit.github.io/arduino-board-index/package_adafruit_index.json
http://arduino.esp8266.com/versions/2.4.0/package_esp8266com_index.json
You shouldn't use that ESP8266 URL. You won't be able to update to new versions. The latest release of ESP8266 core for Arduino is 2.4.2 but you're still on the outdated 2.4.0. This is the correct one: http://arduino.esp8266.com/stable/package_esp8266com_index.json

marine_hm


jaraman

Hi Guys
I am having the exact same issue ( again)!
Board manager worked fine, then all my boards and libraries disappeared! Except for the default ones.
I have tried a fresh install several times to no avail.
I have downloaded the Git Hub Esp 8266 core 2.4.2 version,
modified the Preferences as shown but always get the same message;
"package_index.json file signature verification failed." again and again.
I'm at a loss. I even disable the Windows 10 driver signature verification app to no avail.
Can anyone point me in the right direction.
I mean everything was working , then overnight GONE!! like someone took an eraser to my computer.

Thanks in advance for any help.



 

pert

Try this:
  • Click the link at the line following File > Preferences > More preferences can be edited directly in the file. This will open the Arduino15 (or similar name) folder.
  • Delete all files except preferences.txt. Please be very careful when deleting things on your computer. When in doubt back up!
  • Tools > Board > Boards Manager


Hopefully this time you will not encounter the verification failure.

I even disable the Windows 10 driver signature verification app to no avail.
Windows driver signature verification has nothing to do with this error.

jaraman

Pert
Thank you for taking the time to try and help. Reviewing dozens of posts on this forum , I see that you seem to be knowledgeable on theses topics.

However, even with a fresh install of Arduino 1.8.6, and following your instructions to the letter, my case is still unresolved.
It did however, stop the original error " package_index.json file signature verification failed."
The Board Mgr loaded up lots of Boards but no esp8266's
I now get the error"error downloading Arduino.esp8266.com/stable/packages_esp8266com_index.json".

Is there a way to download the file and insert it into a new or predetermined file in the Arduino directory hierarchy?
Or perhaps you know of another way.
Seems I'm doing more troubleshooting than coding or making.
One of the posts suggested Platform io.
I have no desire to start learning a new system but getting frustrated.

Once again Thanks for your input.
 

pert

I now get the error"error downloading Arduino.esp8266.com/stable/packages_esp8266com_index.json".
Is that the exact error. If so, that indicates you don't have the correct URL in your File > Preferences > Additional Boards Manager URLs. It should be:
http://arduino.esp8266.com/stable/package_esp8266com_index.json

pert

Seems I'm doing more troubleshooting than coding or making.
One of the posts suggested Platform io.
I have no desire to start learning a new system but getting frustrated.
PlatformIO is best for people who want more advanced features than the Arduino IDE provides and don't mind a more complex interface. I feel that the Arduino IDE is the best option for beginners. Some of these advanced features have intentionally been left off of the Arduino IDE because the priority is for it to be very accessible to anyone, rather than having a steep learning curve. This lack of features can be frustrating for advanced users and for them it's great that there are some alternatives to the Arduino IDE. I think you'll end up dealing with a lot more problems rather than less if you switch to PlatformIO, though I'm sure once you get it figured out you'll be happy.

jaraman

Pert
I appreciate your taking the time to help me out. I have always liked the Arduino IDE and have spent many hours enjoying coding and seeing the results take action.
What bothers me is why  the boards dissapeared in the first place.
It's unsettling to think that after many hours of work, one day, for some unknown reason ( at least to  me)
that it might just vanish.
Anyway, I'm back up and running, thanks to you, and will not abandon Arduino quite just yet.
However during my frustration , I did download Platform IO for Atom and will give it a look.

Thanks again.


pjrc

Any chance anti-virus "real time scanning" is in play here?  Some of them, especially McAfee and Trend Micro, cause a lot of problems for Arduino.

Arduinosite

I have read about this on different places aswell on this forum.
I would like to mention that I too have similar effects from my ide and board manager. What I have noticed is when I disconnect from the internet but still work via my wifi router thereafter not only does the 8266 boards disappear but also any other boards that was loaded via the manager for example the attiny 25/45/85 boards. I can work for days without any problems if I stay away from the router. It would appear board manager tries to check for updates and being unable to connect via the internet then aborts and those files disappear. With the next connection to internet the files are restored. But without a refresh from the internet all added boards are unavailable. This operation does not seem to happen when working iso ie not with router connected. Does board manager only check for updates when it sees a connection to the internet? It is rather anoying when I would want to test a connection to a 8266 via the router just to find that next boot or board change only to find the bear ide available without the added installed boards via the manager. I have more than one board in the prefered list.

freddie43

BOARDS DISAPPEAR AFTER LOADING BBC MICROBIT via BOARDS MANAGER

I have read all the above and this seems a good place to ask the question

I loaded the ESP board files and all was working fine, but then I diverted to load the BBC microbit board for the grandson, and now I have lost the ESP boards from the list of boards.

I realise now that in Files | Preferences, the 'Additional Boards Manager URLs' is a list and I should have added microbit to the list of boards. But I just pasted it in the box (over the ESP entry).

Random Nerd suggests that to recover, I should delete the ESP Espressif folder, and reload in the normal way. He says this folder is in the Arduino 'hardware' folder , but the instructions he gives do not locate the 'hardware' folder for me.

Can someone please help me find the espressif folder or suggest another way to reinstall ESP?
- just putting the ESP link in Additional Boards Manager URL doesn't install them

Many thanks!
Greybeard programmer since the dawn of time.
Much enjoying the challenges of Arduino.

pert

Do this:
  • File > Preferences
  • In the "Additional Boards Manager URLs" field, add both the microbit URL and the ESP8266 URL, separated by a comma.
  • Click "OK"
  • Tools > Board > Boards Manager
  • Wait for downloads to finish.
  • Click "Close".
  • After that, you should now see both the microbit boards and the ESP8266 boards on the Tools > Board menu.

Go Up