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) Board Manager unable to install ATTINY (Read 8494 times)
Trek19
Junior Member
**
Offline


Posts: 95
Location: UK
Joined: Dec 2nd, 2013
Board Manager unable to install ATTINY
Nov 20th, 2016 at 2:22pm
Print Post  
I have just installed VM under VS in Win 10 64 and wish to install the ATtiny support from https://github.com/arduino/Arduino/wiki/Unofficial-list-of-3rd-party-boards-supp....
I wanted to use Visual Micro Explorer as suggested in the VM instructions rather than copying the files to the Arduino directory etc.
in "Configure ide locations" in "Optional additional boards....................." I placed: http://drazzy.com/package_drazzy.com_index.json ;
I select OK and go to Visual Micro Explorer and see two ATtiny boards listed under "Board Package Auto....."
I select the one I want which then becomes grey but nothing else happens and the ATtiny board option is not available in the drop down list.
Have I missed something, advice please.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Board Manager unable to install ATTINY
Reply #1 - Nov 20th, 2016 at 3:03pm
Print Post  
It's a bit clunky at the moment. 

The boards auto discovery section simply adds the .json for you but you did that manually.

After that click rescan twice then tiny should appear in the installation section where you can manage which version you want to install.

After clicking to install there will be a pause while the hardware is downloaded. When the download completes click the rescan twice and the boards should be ready for use.

Clicking the rescan once in certainly required but I say twice because some users report its required (a bug to look into)



  
Back to top
IP Logged
 
Trek19
Junior Member
**
Offline


Posts: 95
Location: UK
Joined: Dec 2nd, 2013
Re: Board Manager unable to install ATTINY
Reply #2 - Nov 20th, 2016 at 4:19pm
Print Post  
I already tried Rescan a couple of times but although the ATtiny I want is grey in "Board Package Auto-Discovery" It still does not appear in "Board Package Installer"
I have Arduino 1.6.12
Jim
« Last Edit: Nov 20th, 2016 at 4:34pm by Trek19 »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Board Manager unable to install ATTINY
Reply #3 - Nov 20th, 2016 at 4:45pm
Print Post  
I see. Which version of Visual Micro is installed? find that in Tools>Extensions and Updates

  
Back to top
IP Logged
 
Trek19
Junior Member
**
Offline


Posts: 95
Location: UK
Joined: Dec 2nd, 2013
Re: Board Manager unable to install ATTINY
Reply #4 - Nov 20th, 2016 at 4:56pm
Print Post  
In Tools - Options - Visual Micro - General - Version= 1.1609.4
Interestingly when I look in Visual Micro Explorer, I have "Installed Arduino AVR Boards Version 1.6.14".
I installed this from VME as it was shown against Available updates but if I run the Arduino Dev Environment, in help its says its 1.6.12
Jim
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Board Manager unable to install ATTINY
Reply #5 - Nov 20th, 2016 at 5:03pm
Print Post  
I just installed it and it shows under board "manager > board package installer" as ATTinyCore with latest Version 1.1.2. Installing 1.1..2 shows 13 boards under a platform named "ATTiny universal" on the available boards menu.

There have been quite a few fixes and addition of better error messages in recent builds so please make sure you are on the up to date version.

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Board Manager unable to install ATTINY
Reply #6 - Nov 20th, 2016 at 5:09pm
Print Post  
The visual micro version is found in "visual studio > Tools>Extensions and Updates>Arduino Ide for Visual studio."

by the way

The arduino ide version doesn't have to be the same as the avr version but you should not install avr via board manager. always leave as the one installed with the arduino ide. this means that you have a known config and when you update the arduino ide it will also update the avr
« Last Edit: Nov 20th, 2016 at 5:09pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Trek19
Junior Member
**
Offline


Posts: 95
Location: UK
Joined: Dec 2nd, 2013
Re: Board Manager unable to install ATTINY
Reply #7 - Nov 20th, 2016 at 6:33pm
Print Post  
OK from  "visual studio > Tools>Extensions and Updates>Arduino Ide for Visual studio." It shows 1611.20.0 
I went to the Arduino ide and replaced the avr version with the original 1.6.12
Still cant get the ATtiny to show in package installer.
You say you installed it, how exactly?

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Board Manager unable to install ATTINY
Reply #8 - Nov 20th, 2016 at 6:45pm
Print Post  
Sorry I just checked. I thought you had installed avr via board manager which installs hardware defs to the c:\users\[name]\appdata\local\arduino15\packages folder not the ide. BUT the 1.6.12 ide is installed with 1.6.14 avr in the ide\hardware folder so that's confusing. 

Your setup is correct and on latest visual micro version.

Try adding the json url to the arduino ide and using that board manager or let me have a list of folder names in c:\users\[name]\appdata\local\arduino15\packages and a list of .json file names in c:\users\[name]\appdata\local\arduino15. 

Thanks

  
Back to top
IP Logged
 
Trek19
Junior Member
**
Offline


Posts: 95
Location: UK
Joined: Dec 2nd, 2013
Re: Board Manager unable to install ATTINY
Reply #9 - Nov 20th, 2016 at 7:31pm
Print Post  
OK I installed the ATtiny from the Arduino ide successfully.
Then when I did a Rescan in VM twice the boards appeared in the drop down list under ATtiny Universal v1.1.2.
Regards
Jim
« Last Edit: Nov 20th, 2016 at 7:34pm by Trek19 »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Board Manager unable to install ATTINY
Reply #10 - Nov 20th, 2016 at 7:34pm
Print Post  
Ok, I try to see what would cause it not to show. Thanks
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Board Manager unable to install ATTINY
Reply #11 - Dec 1st, 2016 at 1:11am
Print Post  
New release 1612.01

I know you worked around the issue by installing in the arduino ide. For future installs this might be useful...

The latest update contains an updated ICSharp.Zip API which fixes compressed file extraction issues for some packages during install.

There are also better diagnostic trace and error messages when package install fails

I'm not sure if the issue will be resolved so don't want to waste your time but thought worth posting.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint