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
Normal Topic Error message when reloading toolchain (Read 881 times)
Steven Bennett
Junior Member
**
Offline


Posts: 35
Location: High Bentham
Joined: Nov 2nd, 2022
Error message when reloading toolchain
Aug 10th, 2024 at 12:52pm
Print Post  
What can I do about this error message?
  

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


Posts: 12166
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error message when reloading toolchain
Reply #1 - Aug 10th, 2024 at 4:12pm
Print Post  
This message appears to be during install of a board manager package. Either the package does not have a windows toolchain or there was an unpack (unzip) problem during install.

What is the url of the package index json that you have installed? This can be seen at the bottom of "Micro platform > IDE Locations"

  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12166
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error message when reloading toolchain
Reply #2 - Aug 10th, 2024 at 4:13pm
Print Post  
This message appears to be during install of a board manager package. Either the package does not have a windows toolchain or there was an unpack (unzip) problem during install.

What is the url of the package index json that you have installed? This can be seen at the bottom of "Micro platform > IDE Locations"

  
Back to top
IP Logged
 
Steven Bennett
Junior Member
**
Offline


Posts: 35
Location: High Bentham
Joined: Nov 2nd, 2022
Re: Error message when reloading toolchain
Reply #3 - Aug 10th, 2024 at 5:01pm
Print Post  
I removed the following from Arduino IDE 2 additional boards manager because VM threw up a different message referencing the URL: https://github.com/digistump/arduino-boards-index/blob/master/package_digistump_...

I have now replaced the URL, let AIDE2 do it's update thing and the error seems to have gone away.  I've attached a couple of screen shots of what I think you were asking for? I have not added any URLs to VM Optional Boards Manager as I assumed VM would pick them up from AIDE2?
  

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


Posts: 12166
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error message when reloading toolchain
Reply #4 - Aug 10th, 2024 at 6:18pm
Print Post  
Thanks. The json url for digistump is wrong. It's the url of the gitbub page for the file not the actual raw file.

This is the correct file. If you use it in Visual Micro and still see the same error after correcting the url then click the "Check for updates" button on board manager.

https://raw.githubusercontent.com/digistump/arduino-boards-index/master/package_...

Sometimes it is easier to use the auto discovery option at the top of board manager. That provides a  list of the registered cores and their respective index paths. You will see that either the digistump official or digistump maintained urls can be used. Both are correct.

The Arduino 2 IDE does not show an error for invalid package urls, it just ignores them.

If you have any other issues, when you create a forum thread please follow the guide in yellow near the top of the page. It saves a lot of time and avoids us having to ask so many questions.

  
Back to top
IP Logged
 
Steven Bennett
Junior Member
**
Offline


Posts: 35
Location: High Bentham
Joined: Nov 2nd, 2022
Re: Error message when reloading toolchain
Reply #5 - Aug 11th, 2024 at 11:10am
Print Post  
Thanks for the update re the correct URL for digistump and now I can see the difference viewing the incorrect and correct versions online.  I updated the additional URLs in AIDE2 to reflect the correct URL.  However I was still getting error messages about missing UF2 files  et cetera, so I tried adding the list of additional URLs to the VM IDE locations page (correctly formatted with ,) but this caused VS to crash if I clicked rescan or check for updates (post crash error message attached).  For no particular reason I decided to add a new board, the two UNO R4 boards and then restarted VS and all the problems disappeared i.e. the very slow response clicking anything in Micro Explorer, the error messages and the VS crashes - no idea why but a big relief.  I have attached the build properties output as per your request, in case you need it, and will do so in future.
  

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


Posts: 12166
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Error message when reloading toolchain
Reply #6 - Aug 11th, 2024 at 3:25pm
Print Post  
Thanks for the info. 

The json index files should define multiple tools and provide download path for linux, mac and windows.

The json package defines a tool called UF2 but does not provide download/install path for windows.

It might be that the tool is required for upload or it might be that the tool is not required in the way that you use the digistump board. Visual Micro and Arduino read the json files to determine what to install.

We are looking into an infrequent crash via board manager. You can ignore the message that vs shows.

  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint