Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Hot Topic (More than 8 Replies) Unrecoverable Error after installing Digilent boards support (Read 5637 times)
Kabron
Full Member
***
Offline


Posts: 170
Joined: Nov 1st, 2015
Unrecoverable Error after installing Digilent boards support
Nov 10th, 2018 at 8:03am
Print Post  
Once I installed Digilent boards support, I could not ever work with esp8266. VM does not see arduino installed esp8266 boards.
If I try to install esp8266 support from VM,
it creates a huge folders set:
.43\pic32mx\include\packages\esp8266\
and puts esp8266 package there.
But even after that VM does not found esp8266 boards.
Nothing(deinstall/reinstall/ VM/Arduino, deleting Arduino15 folder) helps to solve the problem. Every time folder Digilent appears after VM launch.
Arduino IDE uses +json v. 2.4.2 attached. The same one ises VM located in:
.43\pic32mx\include\.
I have no idea how to restore normal operation.
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unrecoverable Error after installing Digilent boards support
Reply #1 - Nov 10th, 2018 at 12:09pm
Print Post  
Your report is not making sense to me.

Please do the following to install hardware

  • In Visual Micro. Open IDE Locations and clear the board support .json files so you do not have any https:// paths to json files.
  • Close both IDE
  • Delete Arduino15 folder
  • Open Arduino IDE
  • In Arduino IDE "File>Preferences" add the two https:// paths to the .json files for dilligent and for esp8266 community. Separate the two paths with a comma: - path1,path2
  • In Arduino IDE open Board Manager and install both esp8266 and dilligent.
  • Open Visual Micro and confirm you see all boards without changing any configuration properties


When you make reports please confirm the locations of any .json files you have used for board manager. I do not need to see the actual .json I just need to know the https:// paths.
« Last Edit: Nov 10th, 2018 at 12:10pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Kabron
Full Member
***
Offline


Posts: 170
Joined: Nov 1st, 2015
Re: Unrecoverable Error after installing Digilent boards support
Reply #2 - Nov 10th, 2018 at 1:51pm
Print Post  
Thanks for answer, Tim
1. I have nothing in VM IDE locations.
2. I have only esp8266 json in Arduino IDE preferences.

Do you mean that I have to specially return Digilent boards support to Arduino IDE?
« Last Edit: Nov 10th, 2018 at 1:53pm by Kabron »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unrecoverable Error after installing Digilent boards support
Reply #3 - Nov 10th, 2018 at 1:58pm
Print Post  
Thanks

If you register board index .json files from the arduino ide then you have a cleaner, simpler config that should be the same in both arduino and in visual micro. If you make changes in arduino then restart visual studio or click the visual micro Rescan option.

You should always have all json index files registered for the hardware you want to use.

If you clear your arduino15 packages folder then use the arduino ide board manager to install the packages you want to work with we will know where you are and what you have installed. That will make it easier to answer questions and compare arduino with visual micro.

You should not need to configure anything in visual micro.


  
Back to top
WWW  
IP Logged
 
Kabron
Full Member
***
Offline


Posts: 170
Joined: Nov 1st, 2015
Re: Unrecoverable Error after installing Digilent boards support
Reply #4 - Nov 10th, 2018 at 2:32pm
Print Post  
Well,
I did exactly as you said. Esp8266 and Digilent boards are available in arduino IDE, buy are not in VM.
They are listed in VM explorer but none version is installed(see attached picture).
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unrecoverable Error after installing Digilent boards support
Reply #5 - Nov 10th, 2018 at 2:55pm
Print Post  
okay so you do not have any index.json files configured in visual micro.

please paste your index files list from the arduino ide into a reply and also confirm which arduino ide version you are using.

Thanks
  
Back to top
WWW  
IP Logged
 
Kabron
Full Member
***
Offline


Posts: 170
Joined: Nov 1st, 2015
Re: Unrecoverable Error after installing Digilent boards support
Reply #6 - Nov 10th, 2018 at 3:34pm
Print Post  
Arduino IDE 1.8.5
also VM now reports:
Code
Select All
Intellisense was unable to find Arduino or compatible boards packages.
  To install hardware package(s) use 'Manage Boards' or configure an Arduino Ide location.
     example: install the AVR package for Uno and Mega boards.
Intellisense was unable to find Arduino or compatible boards packages.
  To install hardware package(s) use 'Manage Boards' or configure an Arduino Ide location.
     example: install the AVR package for Uno and Mega boards.
 

« Last Edit: Nov 10th, 2018 at 3:37pm by Kabron »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unrecoverable Error after installing Digilent boards support
Reply #7 - Nov 10th, 2018 at 3:43pm
Print Post  
Hi,

The index files are of no use but thanks.

I need the "file1_index.json,file2_index.json" text that you have entered into the arduino ide file>preferences window.

Thanks
  
Back to top
WWW  
IP Logged
 
Kabron
Full Member
***
Offline


Posts: 170
Joined: Nov 1st, 2015
Re: Unrecoverable Error after installing Digilent boards support
Reply #8 - Nov 10th, 2018 at 3:45pm
Print Post  
Sorry,
Code
Select All
http://arduino.esp8266.com/stable/package_esp8266com_index.json
https://s3-us-west-2.amazonaws.com/digilent/Software/Digilent_Core/package_digilent_index.json 

  
Back to top
 
IP Logged
 
Kabron
Full Member
***
Offline


Posts: 170
Joined: Nov 1st, 2015
Re: Unrecoverable Error after installing Digilent boards support
Reply #9 - Dec 1st, 2018 at 7:19am
Print Post  
My VisualMicro is still in unusable state and I have to use  platformio.
Attached typical output.
« Last Edit: Dec 1st, 2018 at 7:22am by Kabron »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unrecoverable Error after installing Digilent boards support
Reply #10 - Dec 1st, 2018 at 5:16pm
Print Post  
Sorry for the delay. Both of those json files just installed and work okay for me. I think something in your downloaded packages folder has got corrupted or confused.

You can delete the installed packages folder then restart the ide or click re-scan. Then install them via board manager. That will use the previously downloaded packages so should be quite fast to do.

C:\Users\tl\AppData\Local\Arduino15\packages

If you still have an issue then delete the folder again and start the arduino ide. In the Arduino IDE File>Preferences enter the two .json board support packages you listed previously. Then use "Boards>Board Manager" in the Arduino IDE to install. Then in visual micro click rescan or restart the ide.
  
Back to top
WWW  
IP Logged
 
Kabron
Full Member
***
Offline


Posts: 170
Joined: Nov 1st, 2015
Re: Unrecoverable Error after installing Digilent boards support
Reply #11 - Dec 2nd, 2018 at 8:21am
Print Post  
Hello, Tim
Although I did this more than once, as I wrote in the first message, I again repeated your recommendations. Arduino IDE installs both board supports  without problems and works great. VM Explorer lists all versions of Esp8266 and Digilent Core but does not install any.

Now, I suppose I need to get rid of all of the Digilent. But, if I do  only esp8266 install via Arduino IDE, VM still does not install it.

I guess that something fundamental wrong happened with both VM and Visual Studio, because it loops on installing esp8266 support into Digilent package folder if I try to do it from VM explorer and reinstalling VM does not solve the problem.

PS
If I only try to install esp8266 support from VM(no json for Digilent at all and no Digilent boards in the list) it magically starts from creating Digilent folder in packages and then put there esp8266 package.
Those. There is some sort of flawed link inside the VM between ESP and Digilent.
« Last Edit: Dec 2nd, 2018 at 8:54am by Kabron »  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unrecoverable Error after installing Digilent boards support
Reply #12 - Dec 2nd, 2018 at 11:44am
Print Post  
There is a lot of confusing things in your report that are not normal. So we need to take a slower more clear approach.

First let me say this. If you install using the arduino ide board manager and you then can not build in visual micro. STOP, do not try to change anything or install using Visual Micro.

Visual Micro uses the same system as the arduino ide so if you have a problem in Visual Micro we need to fix that and not confuse with additional install efforts.

Your image shows the diligent and the esp board packages listed in board manager. You are saying that dilligent appears even when you are not expecting it. Let's clean your install and start properly ....

In Visual Micro IDE Locations, CLEAR/Remove json paths and click OK. Close Visual Micro.

  • Clear your APPData\Local\Arduino15 folder
  • Start the Arduino IDE, make sure you can see your esp9266 json url in File>Preferences
  • In the Arduino IDE use board manager to install the latest esp hardware
  • Build an empty project using the Arduino IDE for esp board
  • Open Visual Micro and confirm if Esp hardware is shown in the list?




Pls confirm which version of the arduino ide you are using.

  
Back to top
WWW  
IP Logged
 
Kabron
Full Member
***
Offline


Posts: 170
Joined: Nov 1st, 2015
Re: Unrecoverable Error after installing Digilent boards support
Reply #13 - Dec 2nd, 2018 at 3:21pm
Print Post  
Tim@Visual Micro wrote on Dec 2nd, 2018 at 11:44am:
Your image shows the diligent and the esp board packages listed in board manager. You are saying that dilligent appears even when you are not expecting it. Let's clean your install and start properly ....

It is situation after installing esp and Digilent boards in arduino(no any attempt to install from VM was done). As could be seen no installed esp and Digilent boards are in VM.
If I deleted package folder, delete Digilent json from arduino, make new install of esp package in arduino, no installed esp boards appeared in VM. At this moment if I try to install ESP from VM, Digilent folder created and only ESP package begins to install in Digilent folder.
Tim@Visual Micro wrote on Dec 2nd, 2018 at 11:44am:
In Visual Micro IDE Locations, CLEAR/Remove json paths and click OK. Close Visual Micro.

It is the key moment! Where is "Visual Micro IDE Locations" you talking about? And HOW to "CLEAR/Remove json paths" in VM? I do not see anything similar.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Unrecoverable Error after installing Digilent boards support
Reply #14 - Dec 2nd, 2018 at 7:40pm
Print Post  
In Visual Micro open the Platform Explorer and click the IDE locations button. Then see if there are a json urls in the board support package field?
  
Back to top
WWW  
IP Logged
 
Kabron
Full Member
***
Offline


Posts: 170
Joined: Nov 1st, 2015
Re: Unrecoverable Error after installing Digilent boards support
Reply #15 - Dec 3rd, 2018 at 4:25am
Print Post  
This field is and always was clear
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint