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 Upcoming 1401.07 network usage (Yun) (Read 3544 times)
Gilles Plante
Full Member
***
Offline


Posts: 156
Location: Québec, Canada
Joined: Oct 31st, 2013
Upcoming 1401.07 network usage (Yun)
Jan 10th, 2014 at 1:42pm
Print Post  
Hi Tim,

in describing what will be in that new version, one can read "Added - Debug using network (Bridge/Console)". This is very interesting, even downlaod through network  Huh.

If you have a chance, cand you give us more details about that feature ? Or maybe there is more information in the Alpha installation package ?

Thanks

Gilles Plante
« Last Edit: Jan 10th, 2014 at 2:06pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Upcoming 1401.07 network usage (Yun)
Reply #1 - Jan 10th, 2014 at 2:03pm
Print Post  
Hi Giles,

Thanks for the message. More info will be published shortly but the basics are the same as the Arduino Ide (1.5.5). 

+

If you have an Arduino Yun and the Visual Micro debugger is installed (trial or purchased) then you should see the ip address and name of the Arduino Yun within the normal Serial ports lists (menus/toolbar). Of course you do need an Arduino Yun for this  Undecided

If you select the Ip address as the port then upload and debug will work over the network.

If you want to upload as normal via serial to the Yun but would like to debug over network then set LocalPort to the ip address, RemoteTransport to Network and RemotePort to Console.

That's it, everything works the same except in the background Visual Micro will use network instead of serial.

Does this make sense?

Tim

My tests might help.

1. Let's assume you have set your Yun to be called arduinoyun1 using the admin panel of the Yun web server
2. Open the standard Yun sketch, which provides REST access to the Yun IO pins.
3. Select [Ip address at ArduinoYun1] from the Serial ports list
4. Prior to upload, add a breakpoint to the Yun code where it reads the REST request and sets a digitalPin
5. Upload with debugging enabled
6. Open your web browser on any wifi pc and browse to http://arduinoyun1.local/arduino/digital/13/1
7. The debugger should confirm that the Yun pin 13 has been switched ON
8. Browse to http://arduinoyun1.local/arduino/digital/13/0
9. The debugger should confirm that Yun pin 13 has been switched OFF

Actually, in my Chrome web browser I have created a new favourites folder called "Yun". In the folder I have added lots of REST links for the Yun with nice names such as:-

Yun Pin 13 On
Yun Pin 13 Off
Lights On
Make tea
Lock the garage

etc.

References
http://playground.arduino.cc/Hardware/Yun
http://arduino.cc/en/Reference/YunFileIOConstructor
http://arduino.cc/en/Tutorial/ConsoleRead
http://arduino.cc/en/Tutorial/YunDatalogger
http://arduino.cc/en/Tutorial/YunSerialTerminal
« Last Edit: Jan 10th, 2014 at 2:07pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Gilles Plante
Full Member
***
Offline


Posts: 156
Location: Québec, Canada
Joined: Oct 31st, 2013
Re: Upcoming 1401.07 network usage (Yun)
Reply #2 - Jan 10th, 2014 at 3:02pm
Print Post  
Yes that makes sense  Smiley.

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