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
Locked Topic How to debug using Yun and Wifi? (Read 8505 times)
GURU_RUS
Newbies
*
Offline


Posts: 3
Joined: Sep 13th, 2015
How to debug using Yun and Wifi?
Sep 13th, 2015 at 7:41pm
 
Hi! I have updated the firmware to the Arduino openvrt yun 1.5.3. Now Visualmicro stopped working on WiFi. 
A message pops up, download a new version Visualmicro.

Arduino IDE 1.6.5
VisualMicro Version 1.1509.9 and VersionMinor 0
« Last Edit: Sep 14th, 2015 at 12:25pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Not working Arduino yun (openwrt 1.5.3) and visualmicro wifi
Reply #1 - Sep 13th, 2015 at 7:54pm
 
Thanks for the post

I forgot to ask which version of Visual Studio you are using?
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Not working Arduino yun (openwrt 1.5.3) and visualmicro wifi
Reply #2 - Sep 13th, 2015 at 7:56pm
 
I should also ask if you have any entries in "tools>add-in manager". If so then what the names?
  
Back to top
IP Logged
 
GURU_RUS
Newbies
*
Offline


Posts: 3
Joined: Sep 13th, 2015
Re: Not working Arduino yun (openwrt 1.5.3) and visualmicro wifi
Reply #3 - Sep 13th, 2015 at 8:49pm
 
Visual Studio Community 2013
tools>add-in manager  no records
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Not working Arduino yun (openwrt 1.5.3) and visualmicro wifi
Reply #4 - Sep 13th, 2015 at 10:20pm
 
Okay thanks.

1)
You updated Visual Micro a few days ago or installed for the first time?

2)
I have no picture from you of the message that pops up but I will assume it is the standard Visual Studio message? In "tools>extensions & updates" there is a new Visual Micro version of Visual Micro.

3)
The problem you are having with the new linux update on the yun is unconnected to the the "new version available" message. 

Can you please explain what you mean when you say Visual Micro no longer works with the Yun?? 
Do you mean that wifi upload is failing?
Is the build/compile working okay?
Does usb upload work?

Thanks
  
Back to top
IP Logged
 
GURU_RUS
Newbies
*
Offline


Posts: 3
Joined: Sep 13th, 2015
Re: Not working Arduino yun (openwrt 1.5.3) and visualmicro wifi
Reply #5 - Sep 14th, 2015 at 5:57am
 
1. I installed a new Visualmicro  5 days ago.
2. File with the message attached. I put the new version. It did not help.
3. The problem came when I downloaded the new firmware to the yun - https://www.arduino.cc/en/Main/Software
4. Debugging via USB works (Ок).
5. loading via WiFi without debugging work (Ок). The program asks for a password to connect and downloads.
6. Debugging via WiFi is not working. In the message given more information:
Binary sketch size: 4 744 bytes (used 17% of a 28 672 byte maximum) (0,50 secs)
Minimum Memory Usage: 151 bytes (6% of a 2560 byte maximum)
Compiling debug version of 'Blink2' for 'Arduino Yún'
VM_DBG.h:44:20: fatal error: Bridge.h: No such file or directory
VM_DBG.h:44:20: fatal error: Bridge.h: No such file or directory
Error compiling
  

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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Not working Arduino yun (openwrt 1.5.3) and visualmicro wifi
Reply #6 - Sep 14th, 2015 at 10:41am
 
Hi,

I think this is okay. The debugger over wifi can only work if you have a Yun compatible sketch.

Having a Yun compatible sketch means the Arduino can communicate with the wifi. To do this the Arduino needs the bridge library to be included in the sketch.

So testing a Yun wifi with blink will never work. I suggest testing with the Arduino bridge example because it already makes the connection with the linux server.

« Last Edit: Sep 14th, 2015 at 10:42am by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Not working Arduino yun (openwrt 1.5.3) and visualmicro wifi
Reply #7 - Sep 14th, 2015 at 12:07pm
 
Quote:
If you connect the library
#include <Bridge.h>
#include <YunServer.h>
#include <YunClient.h>
 
Error disappears


Thanks for letting me know it works. Here are some pointers for others

I searched visualmicro.com for "yun wifi" and found this yun page 

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