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) Not working (Read 14662 times)
arduino1
Junior Member
**
Offline


Posts: 75
Joined: Feb 12th, 2015
Not working
Feb 12th, 2015 at 9:43am
Print Post  
Hi,
after installing arduino IDE 1.6 the VMicro is no longer working (Atmel Studio 6.2). Problems:
1. The boards tab is empty
2. Trying to open a sketch I get "unable to create an arduino project for atmel studio"
Have tried several times to uninstall VMicro and re-installed different versions does not help (also installing as Administrator does not help).
Also, installing the older Arduio Ide (1.5.8) does not help.
The path list shows the paths for IDE 1.06 and 1.5.6+x.
Frustrating. Any suggestion?
« Last Edit: Feb 12th, 2015 at 9:45am by arduino1 »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Not working
Reply #1 - Feb 12th, 2015 at 1:36pm
Print Post  
Sounds like you are configuring the wrong Ide type within Visual Micro.

1.6 and 1.5 are both "Arduino 1.5.x" apps. 

I think you have mistakenly set your Ide path for the Arduino 1.0.x entry.

If you are confused by this then please post a screen shot of you Ide locations config.

Thanks
  
Back to top
WWW  
IP Logged
 
arduino1
Junior Member
**
Offline


Posts: 75
Joined: Feb 12th, 2015
Re: Not working
Reply #2 - Feb 12th, 2015 at 3:36pm
Print Post  
I have reinstalled 1.5.8.. and no change (VMicro not working).
Set path location to the folder where Arduino 1.5.8 is installed.
Screenshot attached.

I had Installed VMmicro ....msi as administrator as suggested in your troubleshooting but it does not work. Board tab is grayed and opening sketch gives "unable to....).
« Last Edit: Feb 12th, 2015 at 3:37pm by arduino1 »  

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Not working
Reply #3 - Feb 12th, 2015 at 3:55pm
Print Post  
Thanks for the screen image. 

Please remove the optional sketchbook folder because you have entered a location that does not make sense. When empty it will default to documents/arduino for new sketches.

Thanks

more

I think the issue will be that setting the path you have will result in visual micro seeing the arduino hardware and libraries as custom duplicates. If you set the same sketchbook location in the arduino ide it might also be confused. There are also permissions problems when trying to use a program files folder as a sketchbook location

« Last Edit: Feb 12th, 2015 at 3:57pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
arduino1
Junior Member
**
Offline


Posts: 75
Joined: Feb 12th, 2015
Re: Not working
Reply #4 - Feb 12th, 2015 at 4:16pm
Print Post  
Thanks for the suggestion. But deleting the optional sketchbook folder doesn't help. Had tried all that also yesterday. 
There are two scenarios:
1. Opening a sketch on a different drive works but the boards tab remains grayed. And trying to build gives error:"Unable to locate configuration data for this hardware. Please confirm you are using the correct ide (.exe) location". But the Arduino IDE in fact is on the file path.
2. Opening a Sketch from the examples in the Arduino installation path gives the well-know error:"Unable to create Arduino project for Atmel Studio".
That all worked some weeks ago, the problems arose after yesterday installing Arduino 1.6 (but other things might have happened in between after my last work with VMicro).
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Not working
Reply #5 - Feb 12th, 2015 at 4:31pm
Print Post  
Please run the arduino exe and tell me what version is displayed in the title bar

Thanks
  
Back to top
WWW  
IP Logged
 
arduino1
Junior Member
**
Offline


Posts: 75
Joined: Feb 12th, 2015
Re: Not working
Reply #6 - Feb 12th, 2015 at 7:31pm
Print Post  
Solved... In the Ide locations there was version 1.0.x listed which I had uninstalled, but the path entry was still present. After deleting that path VMicro behaves as expected (i.e. examples are compiling and the boards list is shown).
Maybe a hint to that problem somewhere would be helpful...
Thanks for the prompt help.


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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Not working
Reply #7 - Feb 12th, 2015 at 7:43pm
Print Post  
Thanks I will try to reproduce. Are you saying the tool bar apps list was set to Arduino 1.0.x when editing the sketch?
  
Back to top
WWW  
IP Logged
 
arduino1
Junior Member
**
Offline


Posts: 75
Joined: Feb 12th, 2015
Re: Not working
Reply #8 - Feb 13th, 2015 at 8:29am
Print Post  
Right now I am surprised to see in the tools list the addition 
"VMicro (Arduino 1.5.8.x)"
I guess that previously, when it wasn't working, there was just "VMicro". I am quite confident it was like that, but not completely sure. 
It keeps the same tools entry (Arduino 1.5.8.x) when I copy the path of A_1.5.8 to the IDE location entry for A_1.0.6 (which does not exist), and there is no problem.

The trouble began when I had A_1.0.6 and A_1.5.8 installed and upgraded the latter to A_1.6 keeping 1.0.6.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Not working
Reply #9 - Feb 13th, 2015 at 10:32am
Print Post  
Thanks.

Sounds to me like you do not have the full ui. Please click "tools>visual micro>reset user interface". This will ensure you have a boards tool bar and will then clearly see the selected ide.

But anyway, good to hear it is working
  
Back to top
WWW  
IP Logged
 
arduino1
Junior Member
**
Offline


Posts: 75
Joined: Feb 12th, 2015
Re: Not working
Reply #10 - Feb 13th, 2015 at 10:54am
Print Post  
Resetting was not a good idea.
Now I am back with the problem -the board tab is grayed and the tab does not show the VMicro Arduino1.5.8.
Update:
Cured by deleting the file path to the non-existing 1.0.6. So that is causing the problem -this should be fixed in a new version.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Not working
Reply #11 - Feb 13th, 2015 at 11:35am
Print Post  
Hi,

It's not a problem that anyone else has reported. When you change the path it is saved to the registry unless you have specifically configured Visual Micro in "all users" mode which you won't have done (requires editing and copying of an xml file).

So the path is taken from the registry HKCurrentUser\Software\Visual Micro\Locations.

Now that you have reset the interface can you see the Visual Micro applications and boards combobox on the toolbar?

Thanks

  
Back to top
WWW  
IP Logged
 
arduino1
Junior Member
**
Offline


Posts: 75
Joined: Feb 12th, 2015
Re: Not working
Reply #12 - Feb 13th, 2015 at 1:27pm
Print Post  
Quote:
Now that you have reset the interface can you see the Visual Micro applications and boards combobox on the toolbar?

This morning (first time doing the reset) it was as I posted as above (no boards combobox).
Now I did the reset again. This time no need to change the paths -it keeps working and the path to A_1.0.6 stays empty.
I guess the problem is having a path to a non-existing Arduino version. Couldn't that be checked by the VMicro installer?
Anyway, I wonder what will happen after installing Arduino 1.6. I will keep you updated.

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Not working
Reply #13 - Feb 13th, 2015 at 1:29pm
Print Post  
Thanks, I think if the tool bar was present it would have been less confusing. I will see what happens when an ide becomes invalid.

1.6.0 is 1.5 renamed so will work the same
  
Back to top
WWW  
IP Logged
 
arduino1
Junior Member
**
Offline


Posts: 75
Joined: Feb 12th, 2015
Re: Not working
Reply #14 - Feb 14th, 2015 at 1:31pm
Print Post  
After installing 1.6.0 VMicro still is ok...
Thank you.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Not working
Reply #15 - Feb 14th, 2015 at 1:49pm
Print Post  
Thanks for the update. There is also a new beta which allows both 1.5 and 1.6 to be configured at the same time. Might not be useful for you but might be useful for others
  
Back to top
WWW  
IP Logged
 
arduino1
Junior Member
**
Offline


Posts: 75
Joined: Feb 12th, 2015
Re: Not working
Reply #16 - Feb 14th, 2015 at 5:25pm
Print Post  
Quote:
Might not be useful for you but might be useful for others

Hm, Hm. Am I that different? 
(Smilies not working).
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Not working
Reply #17 - Feb 14th, 2015 at 6:11pm
Print Post  
was just thinking of the saying 'if it ain't broke then don't fix it' Smiley
« Last Edit: Feb 14th, 2015 at 6:12pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint