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) Galileo Compatibility (Read 9329 times)
RoboBill
Junior Member
**
Offline


Posts: 32
Location: Northern California
Joined: Apr 14th, 2013
Galileo Compatibility
Jan 17th, 2016 at 2:32am
Print Post  
Can I use VM with the Galileo Gen2?

Thanks

RoboBill
  
Back to top
 
IP Logged
 
RoboBill
Junior Member
**
Offline


Posts: 32
Location: Northern California
Joined: Apr 14th, 2013
Re: Galileo Compatibility
Reply #1 - Jan 18th, 2016 at 11:39pm
Print Post  
Please let me expand the question....

Yes I found the board manager
Yes I ran the blink on the Galileo... no problems
But
When I run the WiFi Scan Networks sketch, I get:
ScanNetworks.ino:12:18: fatal error: WiFi.h: No such file or directory

If I hook up a plain Uno... it uploads fine and gives me a "No WiFi shield present"

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Galileo Compatibility
Reply #2 - Jan 18th, 2016 at 11:49pm
Print Post  
Sorry for delay.

This suggests the wifi library is included with the avr tool chain and not intel

Switch on "Visual Micro>Verbose" then build to determine what libs it is looking for.

Also check your arduino ide version. In the recent releases there is a new system that auto discovers related libraries. I expect intel has not implemented this yet.

Email me the verbose output from both builds if in doubt to info[at]visualmicro.com
  
Back to top
IP Logged
 
RoboBill
Junior Member
**
Offline


Posts: 32
Location: Northern California
Joined: Apr 14th, 2013
Re: Galileo Compatibility
Reply #3 - Jan 19th, 2016 at 12:53am
Print Post  
Hi Tim,

I tried to send you the stuff but I got a the following sent back to me

Hi. This is the qmail-send program at bounce.mail.unifiedlayer.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<info@visualmicro.com>:
85.233.160.24 does not like recipient.
Remote host said: 550-blacklisted on bl.spamcop.net (127.0.0.2) Blocked - see
550 http://www.spamcop.net/bl.shtml?69.89.21.30
Giving up on 85.233.160.24.



  
Back to top
 
IP Logged
 
RoboBill
Junior Member
**
Offline


Posts: 32
Location: Northern California
Joined: Apr 14th, 2013
Re: Galileo Compatibility
Reply #4 - Jan 19th, 2016 at 1:43am
Print Post  
Hi Tim,

I still can't seem to get the logs to your via email, so I attached the logs herein

RoboBill
  

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: Galileo Compatibility
Reply #5 - Jan 19th, 2016 at 1:09pm
Print Post  
Thanks for the info.

Before I look into this can you confirm the example builds and uploads okay using the arduino ide to the gen2

Thanks
  
Back to top
IP Logged
 
RoboBill
Junior Member
**
Offline


Posts: 32
Location: Northern California
Joined: Apr 14th, 2013
Re: Galileo Compatibility
Reply #6 - Jan 19th, 2016 at 1:35pm
Print Post  
Hi Tim,

Yes, I've successfully uploaded Blink, Scan Networks, ConnectNoEncryption and SimpleWebServerWiFi using the Arduino IDE.

Thanks,

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Galileo Compatibility
Reply #7 - Jan 21st, 2016 at 1:24am
Print Post  
The is a new release of visual micro which overrides library architecture for libraries that are located below the platform/toolchain folder.

The intel libraries have an invalid architecture so were filtered out Smiley
  
Back to top
IP Logged
 
RoboBill
Junior Member
**
Offline


Posts: 32
Location: Northern California
Joined: Apr 14th, 2013
Re: Galileo Compatibility
Reply #8 - Jan 21st, 2016 at 4:09am
Print Post  
Hi Tim,

I installed the update but I still had the same issue but this time with the SPI.h file. So I followed your thoughts about the toolchain folder stuff, found the SPI.h file buried deep in my machine at:

\libraries

I simply copied the spi.h file to the intel arduino folder under the: 

C:\Intel\arduino-1.6.5\libraries

I guess its the folder name with "1.6.5" that messes things up?

Anyway   After I copied the SPI.h, did a rescan.... It works   

Thanks!   Cheesy

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Galileo Compatibility
Reply #9 - Jan 21st, 2016 at 8:47am
Print Post  
It should be finding spi.h. Where did you download the arduino ide from?
The folder and is not the issue
  
Back to top
IP Logged
 
RoboBill
Junior Member
**
Offline


Posts: 32
Location: Northern California
Joined: Apr 14th, 2013
Re: Galileo Compatibility
Reply #10 - Jan 21st, 2016 at 2:31pm
Print Post  
That I messed up the installs doesn't surprise me...  I'm good at that  Undecided   

I installed the Intel Arduino IDE from this file:

w_galileo_2015.0.010.exe   It also installs the Galileo driver and downloads the SD card image.

I also installed the latest official Arduino IDE from Arduino.cc.

Maybe the problem is where I put any "non certified" Arduino libraries such as ros_lib from ROS.org?

Should I remove the official Arduino IDE?

Is there anything I need to set in the Arduino IDE preferences?

Thanks
« Last Edit: Jan 21st, 2016 at 2:32pm by RoboBill »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Galileo Compatibility
Reply #11 - Jan 21st, 2016 at 2:38pm
Print Post  
I am not entirely clear about all the different options that Intel have produced. I can only tell you what I know about.

1)  Intel used to produce a cut down version of the old arduino ide (pre 1.6). It's now discontinued as far as I am concerned unless someone tells me it has advantages over 2)

2) Subsequent to arduino 1.6 Intel have produced new cores that can be installed via the arduino ide>Boards Manager. In the boards manager you will see the Intel core for the Edison and Gallileo. Click to install which then gives both the arduino ide and Visual micro the Intel boards to use.

3) User libraries can be installed using the "Visual Micro>Install Library" menu and then Tools>Visual Micro>reload toolchains" will redetect changes (or re-start the ide). If you install manually you will find them below the libraries sub folder of the "sketchbook" folder. The sketchbook folder usually defaults to "mydocuments\arduino" but you can change it (not advisable)

Hope that helps
  
Back to top
IP Logged
 
RoboBill
Junior Member
**
Offline


Posts: 32
Location: Northern California
Joined: Apr 14th, 2013
Re: Galileo Compatibility
Reply #12 - Jan 21st, 2016 at 2:43pm
Print Post  
OK  that info is very helpful. I will give it a try and report back soon.

Thank you
  
Back to top
 
IP Logged
 
RoboBill
Junior Member
**
Offline


Posts: 32
Location: Northern California
Joined: Apr 14th, 2013
Re: Galileo Compatibility
Reply #13 - Jan 22nd, 2016 at 2:45pm
Print Post  
Howdy All,

Well, after a day of mostly errors to the point of not even being able to upload blink, I finally got everything to work as it should. 

First I had to do a real clean uninstall of all versions of the Arduino IDE and the Intel software/drivers. Some directories would not allow me to delete them until I used Unlocker. I even deleted all my unused com ports... just to be thorough. 

Then I discovered I had two Intel installers that I had dl'd. 

1) w_galileo_2015.0.010.exe
2) iotdk_galileo_win_installer.exe

I'm not sure of the difference, but I ended up using the latter. 

Now VS+VM work fine... being able to upload Blink and a few of the WiFi examples

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