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) Operation Issue - VS10 (Read 8537 times)
snakethumper
Newbies
*
Offline


Posts: 8
Joined: Jul 3rd, 2014
Operation Issue - VS10
Jul 6th, 2014 at 11:36pm
Print Post  
Hi

just trying to get Visual Studio 10 working with Arduino Mega 2560 and Visual Micro

My Arduino IDE is running from a sub folder on the desktop. I set the folder to the Arduino IDE EXE in the Visual Micro Plugin, then

In VS10: 

in the first (left hand) "Micro Apps" box I select Arduino 1.5x. (there is only the choice of 1.0x or 1.5x) 

Second box "Micro Boards" is disabled. I cannot select anything.

Third box has only 1 choice "COM4 - Arduino Mega 2560" which I select

So it seems to know that the Mega is there, and I can get the Serial Monitor to work , but menu items like Tools/Visual Micro/Programmers are disabled and there is no code window even if I open one of my .INO files

Can anyone suggest what is going wrong or what I'm doing wrong?

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Operation Issue - VS10
Reply #1 - Jul 7th, 2014 at 12:02am
Print Post  
Hi,

The Arduino version numbers are confusing at the moment

1.0.5
and
1.5.6

This normally happens when you have entered the arduino.exe path for the wrong type of Visual Micro application Arduino 1.0.x or 1.5.x

So if you only have one copy of the Arduino Ide you should be clear about which version you have. (You do not say which you have)

If you open the "Tools>Visual Micro>Ide Locations" dialog clear the path of the one you are not using (you said you could see two) to avoid confusion. Then ensure the path is correct for the one that you are using. 

From what you have said I suspect you have Arduino 1.0.5 so need to select the Arduino 1.0.x option and set the Arduino.exe folder path

As noted, the serial ports list is unconnected to the boards list. The names you see for the ports are produced by the usb driver and have no relation to any information derived from the arduino ide config.
« Last Edit: Jul 7th, 2014 at 12:03am by Tim@Visual Micro »  
Back to top
IP Logged
 
snakethumper
Newbies
*
Offline


Posts: 8
Joined: Jul 3rd, 2014
Re: Operation Issue - VS10
Reply #2 - Jul 7th, 2014 at 12:33am
Print Post  
ah I see - ok thanks for this.

The problem could indeed be between the keyboard and the chair  Smiley

I'll check it out and let you know

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Operation Issue - VS10
Reply #3 - Jul 7th, 2014 at 12:48am
Print Post  
Ok, if it is not the problem then click tools>visual micro>reset user interface

Thanks
  
Back to top
IP Logged
 
snakethumper
Newbies
*
Offline


Posts: 8
Joined: Jul 3rd, 2014
Re: Operation Issue - VS10
Reply #4 - Jul 10th, 2014 at 4:37am
Print Post  
Hi Tim

You were right, version is 1.05
Have selected correct board. No go. Cannot open .ino.
Reset interface but no better. I'm thinking there may be something wrong with VS10 but no idea how to determine what the problem is. Do you have any more things I could try? In the meantime I have another PC and will try it on that... Thanks for all your patience so far...

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Operation Issue - VS10
Reply #5 - Jul 10th, 2014 at 11:28am
Print Post  
Hi,

What do you mean when you say that you can not open a .ino file?

What are you clicking or trying to click and what error if applicable do you see on the screen?

Thanks
  
Back to top
IP Logged
 
snakethumper
Newbies
*
Offline


Posts: 8
Joined: Jul 3rd, 2014
Re: Operation Issue - VS10
Reply #6 - Jul 13th, 2014 at 12:13am
Print Post  
Hi Tim

I've attached a doc containing screenshots of what i'm seeing in VS10

let me know if theres anything else you need

cheers
David
  

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Operation Issue - VS10
Reply #7 - Jul 13th, 2014 at 12:21am
Print Post  
Oh I see thanks for the clear pics

Yes it looks like you are doing thing right.

I am surprised you do not see an error of some sorts such as a permissions error.

It could either be permissions related or the fact that you do not have C++ installed in your Visual Studio version.

1)
Can you supply an image of the files in the Test3 folder please.

2)
Can you also switch on tools>options>visual micro>user interface>trace and then re-start the ide. Post or email the output that appears after startup. (info[at]visualmicro.com)

3)
Confirm what version of visual micro is shown in tools>options>visual micro>version>version

4)
Confirm that only one Visual Micro entry exists in Tools>Addin Manager

Thanks
  
Back to top
IP Logged
 
snakethumper
Newbies
*
Offline


Posts: 8
Joined: Jul 3rd, 2014
Re: Operation Issue - VS10
Reply #8 - Jul 15th, 2014 at 8:05am
Print Post  
Ok Tim I'll try to answer each of your questions:

1)
Can you supply an image of the files in the Test3 folder please. - only one file: Test3.ino, has the following in it, seems to have been set up by VS10?

void setup()
{

  /* add setup code here */

}

void loop()
{

  /* add main program code here */

}

2)
Can you also switch on tools>options>visual micro>user interface>trace and then re-start the ide. Post or email the output that appears after startup. (info[at]visualmicro.com)

I've switched that on, will send trace later

3)
Confirm what version of visual micro is shown in tools>options>visual micro>version>version

When I ran up VS10 today it prompted me to download and install a new version of Visual Micro, which I did:
1.1407.10
(problem still exists)

4)
Confirm that only one Visual Micro entry exists in Tools>Addin Manager

Confirmed: only one is shown

Regards
David E
  
Back to top
 
IP Logged
 
snakethumper
Newbies
*
Offline


Posts: 8
Joined: Jul 3rd, 2014
Re: Operation Issue - VS10
Reply #9 - Jul 15th, 2014 at 8:09am
Print Post  
Tim

this is the trace info shown in the Output window , is this what youre looking for ?

Application      Begin
Status      Application - Extenders Created
Status      AddinKickOff - Setup temp commands required
Status      AddinKickOff - Command event obtained
Status      Launched - Mcu Init
Info      MyVisualMicro location C:\Users\David\Documents\Visual Micro
Status      Available application configuations =  7
Status      Launched. Application configurations loaded = 7
Create UI command items      Begin
CreateCommandBarItems      Begin AddinVer=1.1407.10
Adding      Debug status button to toolbar: Ports
Get Bar      Help
Get Bar      Tools
Create Bar      Tools>Arduino
Adding      Tools>Ports
Adding      Tools>Other Ports
Get      CustomToolBarObjects
Adding      UI Menu-Board-Items
Adding      UI Menu-SerialPort-Items
Adding      Creating project menu libraries for platform
Adding      Tools-and-libraries-menu-begin
Adding      Libraries-menu-cleared
Task      libs-get-for-ide
Adding      Lib-core: EEPROM
Adding      Lib-core: Esplora
Adding      Lib-core: Ethernet
Adding      Lib-core: Firmata
Adding      Lib-core: GSM
Adding      Lib-core: LiquidCrystal
Adding      Lib-core: SD
Adding      Lib-core: Servo
Adding      Lib-core: SoftwareSerial
Adding      Lib-core: SPI
Adding      Lib-core: Stepper
Adding      Lib-core: TFT
Adding      Lib-core: WiFi
Adding      Lib-core: Wire
Adding      Lib-user-begin
Adding      Lib-user-cleared
Task      libs-get-for-user
Adding      Lib-user: BSerial
Create UI command items      End
Launch      Complete
Status      Usb or network device connect/disconnect detected

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Operation Issue - VS10
Reply #10 - Jul 15th, 2014 at 11:57am
Print Post  
Please try running the ide as administrator. then try to create a new project and see if that works

Thanks
  
Back to top
IP Logged
 
snakethumper
Newbies
*
Offline


Posts: 8
Joined: Jul 3rd, 2014
Re: Operation Issue - VS10
Reply #11 - Jul 16th, 2014 at 8:44am
Print Post  
tried that, no go, is there some way  the code window is switched off or something ?
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint