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 Where to reset V-M settings? (Read 4306 times)
HeBeGB
Newbies
*
Offline


Posts: 2
Joined: Oct 18th, 2012
Where to reset V-M settings?
Nov 20th, 2012 at 4:43am
Print Post  
Using VS 2010 pro...
I evaluated VM with a UNO that happened to install as COM4. Now, I purchased a mega2560 which installed as COM5 and works fine with Arduino SW.

Problem is that the com port toolbar in VS won't change... clicking the down arrow, it shows COM5 in the dropdown, but when I select it, it stays on COM4. The board selector toolbar is always blank (and no dropdown list).

I've uninstalled V-M & V-M debug, d/l newest versions, rebooted, etc to no avail. It still kept COM4 settings somewhere... I haven't un/reinstalled VS yet.

Following the Wiki on how to reset (http://www.visualmicro.com/post/2011/10/01/How-to-reset-the-arduino-visual-studi...) did not help.

Thanks in advance

In builds 1309.01+,  the menu item "Tools>Visual Micro>Reset User Interface" is a simple way to repair or restore Visual Micro menu and tool bar commands
« Last Edit: Sep 5th, 2013 at 12:22am by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Where to reset V-M settings?
Reply #1 - Nov 20th, 2012 at 8:18am
Print Post  
The last used port is saved to the registry and can be seen in tools>options>visual micro.

However the problem is being caused by something else. 

The empty boards list is an indicator and the problem will not be fixed by uninstalling vs or vm (so dont waste your time trying that)

I'll need to ask you some questions to help fix it...

Do you see a list of boards on the Tools>arduino menu?

Is your tools>options>visual micro>arduino location pointing to the same arduino exe you are using for your test?

If you switch on tools>options>visual micro>user interface>trace and restart vs do you see any errors appear in the output window after vs has started? please email what appears in the output window.

When you tried the resetaddin did you fully qualify the path to devenv.exe?

Thanks
  
Back to top
IP Logged
 
HeBeGB
Newbies
*
Offline


Posts: 2
Joined: Oct 18th, 2012
Re: Where to reset V-M settings?
Reply #2 - Nov 20th, 2012 at 3:14pm
Print Post  
Tim@Visual Micro wrote on Nov 20th, 2012 at 8:18am:
I'll need to ask you some questions to help fix it...

Besides the wonderful products you have made, I love the responsiveness and helpfulness! Thanks!


After answering all your questions and preparing a long response here (hence deleted), I decided to go ahead and reselect the Arduino.exe even though I have never changed it and it's setting was correct.

Since I had already set the trace true and restarted, by selecting the arduino.exe again, lots of stuff happened that looked promising: 
Create UI command items      Begin
CreateCommandBarItems      Begin AddinVer=1.1211.04
Get Bar      Tools
Create Bar      Tools>Arduino
Adding      Tools>Ports
Adding      Tools>Other Ports
Adding      Tools>Programmers
Adding      Tools>Using Programmer
Adding      Tools>Burn Bootloader
Get      CustomToolBarObjects
Adding      UI Menu-Board-Items
Adding      UI Menu-SerialPort-Items
Adding      ToolBar-Lib-Items
Added      Library names to UI
Create UI command items      End


Restarting VS again, Happy days!� Cheesy COM5 showed up, boards showed up, project compiles & downloads.

I guess the key thing is that selecting the .exe also kicked off reinitializing the Add-in.

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