[labs.beatcraft.com]]
Raspberry Pi
Raspbian
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.
- Raspberry Pi 2 (ARM)
- Arrow DragonBoard 410c (ARM64)
- MinnowBoard MAX (x86)
Windows 10 IoT Core can execute the applications, which is created with Universal Windows Platform (UWP) API, with or without a display.
This article introduces how to install Windows 10 IoT Core on Raspberry Pi 2 and how to execute the the OS and an demo application on the board.
Please move to Windows IoT page at Windows Dev Center, and please click Get started now, and shift to Windows IoT page at github. Basically, please follow the instructions described in the page.
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.
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.
If not, go to SETTINGS, select Update & security for updating to the newest version of Windows 10.
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.
Download Windows IoT Core Project Templates from the download page and install it. (To download the templates, the registration is required.)
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.)
Please follow the instructions listed at Set up a Raspberry Pi 2 of github.
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.
- The working PC, which has been setup to write an image of Windows 10 to a microSD.
- Raspberry Pi 2
- microUSB power supply adapter (at least 5V 1.0 A)
- a HDMI cable and a monitor, which has a HDMI terminal (any Windows 10 IoT Core device is bootable without a monitor.)
- an Ethernet cable and network environment (communicate with the working PC)
- microSD Card Reader (This is used when the image of OS is written into the microSD card at the working PC.)
- microSD Card (the image of Windows 10 IoT Core is written to this microSD card, and it is used for booting Raspberry Pi 2.)
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)
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.
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.
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.
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).
As the open file dialog appears, please select flash.ffu, which is located at Microsoft IoT > FFU > RaspberryPi2.
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.
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.
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.
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.
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.
- 2016-02-17 This article is initially published.