[labs.beatcraft.com]]
Raspberry Pi
Raspbian

Raspberry Pi 2/Windows 10 IoT Core/Set-up and Booting

Windows IoT Core

Windows 10 IoT Core is a version of windows 10, which is optimized for a small device.
As of December 2015, Windows 10 IoT Core runs on the boards listed below.

Setting up working PC

To create a bootable microSD card for Windows 10 IoT, which runs on Raspberry Pi 2, a PC that can run Windows 10 is needed. This requirement is due to the tools, which are needed for writing that the boot image of Windows 10 IoT Core to a microSD card, only works in the Windows 10 environment.

Checking the version of Windows 10

Please go to SETTINGS of Windows 10 → SYSTEM → About, then look at OS Build. If its version is grater than 10.0.10240, the PC can install and run Visual Studio, which is necessary to write the boot image of Windows 10 IoT Core to a microSD card.

001.jpg

If not, go to SETTINGS, select Update & security for updating to the newest version of Windows 10.

Installing Visual Studio

Install Visual Studio Community 2015.
If you have a valid license of Visual Studio Professional 2015 or Visual Studio Enterprise 2015, these IDEs are also acceptable.

To install Visual Studio Community 2015, please select the custom install. Go to Universal Windows App Development Tools, and put a mark on Tools and Windows SDK. Then, start installing.

In the default setting of Visual Studio 2015 Update1, Tools and Windows SDK is already selected, putting the mark on the box. For Visual Studio 2015 Update1, please install it with the default setting.

002.jpg

Installing Windows IoT Core Project Templates

Download Windows IoT Core Project Templates from the download page and install it. (To download the templates, the registration is required.)
003.jpg

Making Developer mode effective

At the working PC, please make Developer Mode effective.
To follow the instructions listed at Enable your device for development in Development Center, please select Developer mode from a dialog of Visual Studio or SETTINGS of Windows 10. (Go to Startup Menu of Widows 10 → SETTINGS → Update & security → For developers.)
004.jpg

Setting up Raspberry Pi 2

Please follow the instructions listed at Set up a Raspberry Pi 2 of github.

Requirements

To run Windows 10 IoT Core on Raspberry Pi 2, the requirements are listed below.
Basically, the list of requirements is very similar to the one for a cross-development on Linux.

Installing Windows 10 IoT Core Tools

Please download Windows 10 IoT Core for Raspberry Pi 2 from Windows IoT Downloads Tools on the working PC.

Please download an iso file on the working PC. (As of December 2015, the name of file is 10586.0.151029-1700.TH2_Release_IOTCoreRPi_armFRE.ISO)
005.jpg
To double-click the iso file, it is automatically mounted as a virtual drive, and the files, which are held inside the virtual drive, become accessible.

As the iso file is mounted as a DVD drive (D:), please open up the iso file and double click Windows_10_IoT_Core_PRi2.mis to start the install process. 006.jpg

As the installation process is completed, the files and applications such as WindowsIoTHelper and WindowsIoTCoreWatcher are installed at the directory of (C:) > Program Files (x86) > Microsoft IoT. 007.jpg

Copying Windows 10 IoT Core

Insert the microSD card, which Windows 10 IoT Core for Raspberry Pi has will be written into, to the microSD card reader. As the microSD card reader is attached to the working PC, start up Windows IoTImageHelper. Then, the window shown below appears on the screen.
008.jpg

Please select the microSD card that the OS image is written into at the section of Select the SD card, and click Browse button at the section of Select the image (.ffu).
009.jpg

As the open file dialog appears, please select flash.ffu, which is located at Microsoft IoT > FFU > RaspberryPi2.
010.jpg

As both sections of Select the SD card and Select the image are filled in, Flash button becomes clickable. As you click Flash button, the writing process begins.
011.jpg

Connecting peripheral devices to Raspberry Pi

To boot Windows 10 IoT Core on Raspberry Pi 2, Raspberry Pi 2 is attached with its peripheral devices.

The microSD, which the image of OS has already been written into, is inserted into the microSD card slot of Raspberry Pi 2.
The Ethernet cable, which is connected to the same local network as the working PC is connected, is attached to the Ethernet port of Raspberry Pi 2.
A HDMI cable of a display is connected to the HDMI port of Raspberry Pi 2.
Finally, the microUSB AC power adapter is connected to the microUSB power port of Raspberry Pi, and the system starts booting.

Booting Windows 10 IoT Core

As the power Cable (microUSB cable) is connected to Raspberry Pi 2, Windows 10 IoT starts booting, and DefaultApp begins. DefaultApp displays IP address and its system information.
012.jpg

From its tutorial menu, you can boot an application for demonstration. This application allows an LED, which is attached to Raspberry Pi 2, to brink. 013.jpg014.jpg
On Raspberry Pi 2, Windows 10 IoT Core can do only these things, and it cannot do without installing other applications.

To access to the management function of Window 10 IoT Core via network, you can install and execute own applications.
In the next article, it will introduce how to install and to execute own applications.

Revision History


Front page   New List of pages Search Recent changes   RSS of recent changes