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 Visual Studio is not finding Yun IP (Read 6583 times)
elknerps
Newbies
*
Offline


Posts: 3
Joined: Jun 29th, 2014
Visual Studio is not finding Yun IP
Jun 29th, 2014 at 10:42pm
Print Post  
I am using Visual Studio 2010 and I am trying to connect to a Yun.  I cannot connect to it over the WIFI it is showing a IP address of 198.105.254.240 which is not even valid.  The Yun is on 192.168.1.25.  Any suggestions, is there a way to set this manually?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio is not finding Yun IP
Reply #1 - Jun 30th, 2014 at 12:59pm
Print Post  
Hi,

What Ip address does the Arduino Ide find?

Thanks
  
Back to top
IP Logged
 
elknerps
Newbies
*
Offline


Posts: 3
Joined: Jun 29th, 2014
Re: Visual Studio is not finding Yun IP
Reply #2 - Jul 13th, 2014 at 4:24am
Print Post  
198.105.254.240
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio is not finding Yun IP
Reply #3 - Jul 14th, 2014 at 12:05am
Print Post  
Did you follow the quick start guide for the yun and log-on to it? It will appear as a wifi network, logon then access it via your browser and set it to connect to your network.

The wifi on the Yun can be a wifi server or a client and defaults to being a server

Does this make sense? Sorry if I am missing the point
« Last Edit: Jul 14th, 2014 at 12:06am by Tim@Visual Micro »  
Back to top
IP Logged
 
elknerps
Newbies
*
Offline


Posts: 3
Joined: Jun 29th, 2014
Re: Visual Studio is not finding Yun IP
Reply #4 - Jan 4th, 2015 at 8:15pm
Print Post  
My Yun connect correctly to the the Arduino IDE.  The Arduino IDE has the correct IP address in the port select.  Visual Studio has a bogus IP address for the YUN.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio is not finding Yun IP
Reply #5 - Jan 5th, 2015 at 11:00am
Print Post  
Hi,

Yes I will try to add a manual setting for the upload ip address.

We use the Apple Bonjour Service to find the Ip addresses of a device so the ip address you are seeing is one that it believes is valid. If you have time I believe there is an apply bonjour/dns viewer that should also confirm why more than one ip address is considered valid for the device or why the wrong ip address is considered valid.

I will also try to add some trace info during the bonjour requests.

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio is not finding Yun IP
Reply #6 - Jan 11th, 2015 at 6:42pm
Print Post  
I found the issue. It seems that the Yun can have multiple ip addresses on some networks. The Arduino Ide polls the ip addresses on TCP port 100 to see if the Yun responds then uses the Ip address if it does.

I will look into adding this change so the right ip is displayed.

In the meantime you can use the "file>preferences>external editor" checkbox of the arduino ide. That enables you to edit with Visual Micro and then upload via the Arduino Ide without re-opening the sketch (after edit).

Thanks

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Studio is not finding Yun IP
Reply #7 - Jan 15th, 2015 at 8:57pm
Print Post  
Hi,

The latest beta (Sp5) on the downloads page contains a new project property called "Upload Port". You can use it to specify the ip address that will be used for upload operations.

For you this is currently a workaround while we implement the port 100 discovery/validation of the ip addresses found for a device. For others it means Apple Bonjour for Windows is no longer required if you can work without seeing a list of ip addresses in the Visual Micro ports list.

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