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.

  • 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.

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.

  • 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.)

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.jpg 014.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

  • 2016-02-17 This article is initially published.

Attach file: file014.jpg 551 download [Information] file013.jpg 559 download [Information] file012.jpg 519 download [Information] file011.jpg 528 download [Information] file010.jpg 529 download [Information] file009.jpg 497 download [Information] file008.jpg 577 download [Information] file007.jpg 532 download [Information] file006.jpg 571 download [Information] file005.jpg 581 download [Information] file004.jpg 535 download [Information] file003.jpg 500 download [Information] file002.jpg 542 download [Information] file001.jpg 572 download [Information]

Front page   Edit Freeze Diff Backup Upload Copy Rename Reload   New List of pages Search Recent changes   RSS of recent changes
Last-modified: 2016-02-17 (Wed) 08:45:31 (646d)