As many of you know Microsoft is focusing on Internet of Things (IoT) and it has started developing an IoT version of Windows OS. It was announced in the Build 2014 conference. As a first step, Microsoft open a Web site and encourage developers (Professionals, Students and Hobbyist) to register here in order to receive a worthy Intel Galileo development kit with Windows IoT on it. You can see more information about Windows Developer Program for IoT in the below link.
As a Microsoft MVP, I am privileged to receive the earlier shipment of Galileo kit. Thanks to Windows Embedded (IoT) team. Many of the registered developers will receive this package soon.
Windows IoT on Galileo
Windows IoT is booting from 16 GB Micro SDCard(Only 1GB is used for the OS), A Stripped off version of Windows 8.1 is running on the device. Since it is an Headless device, Ethernet is enabled and a PC tool named Galieo Watcher,Telnet service and Network file sharing enable us to interact with Galileo. To know more about this, Go through the below link,
Now the setup is ready. I log in to the device through telnet and got the command prompt. I eagerly tried the first command to know the version of the OS and found it is the same Windows 8.1 running on my PC.
It raised my eagerness and kindle me to dig on the available things on it. Next I have installed the Windows IOT SDK from connect to start creating the first Windows IoT application on Visual Studio 2013. It is win32 based and support Arduinio wiring APIs. A simple LED blinking application is given as a hello world application. Of course, the kernel is not a Real time kernel like Windows CE, the delays given in the LED blinking are not perfect in timings. I build and run the application with Windows Remote debugger option on Visual studio 2013 and it will ask access details to run the application on the device. Alternatively I tried to run a Win32 application build for PC rather than using Windows IoT SDK. I tried Manual deployment by simple copying the application to device and run it. Yes, I got the hello world message. Deploying from Visual Studio 2013 using remote debugger is succeeded with the following changes.
Changes made to deploy Win32 application using remote debugger
- Change the local windows debugger to remote windows debugger in order to connect with Galileo
- Build the application and press F5 to start the debugger. You will get the error message as shown in the below picture.
- Go to Project -> Properties -> Configuration Properties-> debugging and set/modify the red marked items in the image
- Go to Build -> Configuration Manager and select deploy option as shown below
- Now press F5 to launch your application to Galileo, it will ask you access details to proceed further.
I plugged in the USB pen drive to the device as shown in the above Galileo setup image, Surprisingly, i noticed that USB Mass storage driver support is included which provide additional storage support for this board. See the below image.
You can also access through the Network sharing as shown below
Configuring Ethernet adapter
Next step is to configure Ethernet adapter to connect with world. You can use the command netsh from the telnet prompt to set Static IP Address and DNS server.
- Type netsh and in the prompt netsh> type interface ipv4 as shown below
- Type show interfaces to list out the adapters
- Set the IP Address, subnet mask followed by gateway
- Set the DNS server IP Address
- Check with IPconfig /All command
- Now Ping to Bing.com
On Continuation, Here is the next blog on Windows IoT on Galileo – Connecting Adafruit 10DOF IMU Breakout