Difference between revisions of "IoTGateway/BSP/Windows10 IoT Core"

From ESS-WIKI
Jump to: navigation, search
Line 77: Line 77:
  
 
:[[File:DB410c DefaultApp.jpg|800px|DB410c DefaultApp.jpg]]
 
:[[File:DB410c DefaultApp.jpg|800px|DB410c DefaultApp.jpg]]
 +
 +
 +
 +
== i.MX6 ==
 +
 +
In this section, we will show you how to flash the Windows 10 IoT Core image into RSB-4411.
 +
 +
=== Flash Pre-built Images ===
 +
 +
The images we use here are compiled via&nbsp;<!--
 +
-->'''[https://github.com/ms-iot/project-kayla project-kayla]&nbsp;'''(Windows 10 IoT Core Board Support Package for iMX6).
 +
 +
==== Step 1&nbsp;: Get the tools ====
 +
 +
*'''<font color="#0070c0">OS requirement</font>'''
 +
 +
:Only Windows 10 can work. It does not support&nbsp;Windows 7.
 +
 +
*'''<font color="#0070c0">Download and install Windows 10 IoT Core Dashboard</font>'''
 +
 +
:Download the '''Windows 10 IoT Core Dashboard''' from [https://developer.microsoft.com/zh-tw/windows/iot/Downloads here].
 +
:[[File:Win-10-iot-core-dashboard.png|800px|Win-10-iot-core-dashboard.png]]&nbsp;<br/>
 +
 +
==== Step 2&nbsp;: Flash FFU & Replace images ====
 +
 +
==== Step 3&nbsp;: Set up your device ====
  
 
== Connecting to Your Device ==
 
== Connecting to Your Device ==

Revision as of 06:56, 15 March 2018

APQ8016

Currently we do not have a customized Windows 10 IoT Core image for Advantech APQ8016 projects. Fortunately, the image for Dragonboard 410c is also available on our devices, such as RSB-4760. Here, we will show you how to flash the Windows 10 IoT Core image into RSB-4760.

Flash Pre-built Images

Most of the steps below are based on "Get Started" page from Microsoft. You can also refer to it for more details.

Step 1 : Get the tools

  • OS requirement
Microsoft recommends to run Windows 10, but the following steps actually can work on Windows 7. You can choose one of them.
  • Download and install the DragonBoard Update Tool
Download the DragonBoard Update Tool by selecting the download link appropriate for your PC: x86 or x64.
Extract the zip file and install on your desktop. The installer will create a shortcut to the DragonBoard Update Tool on your desktop and in your start menu, under Qualcomm->DragonBoardUpdate Tool.
  • Download the DragonBoard Windows 10 IoT Core Image
Download Windows 10 IoT Core image from here.
Double click the downloaded ISO file. This will automatically mount the ISO as a new virtual CD-drive. (Look for a new CD-ROM drive)
The mounted virtual drive contains an installer file "Windows_10_IoT_Core_for_QCDB410C.msi". Double click the file to start the installation.
RTENOTITLE
The installer creates a new directory: C:\Program Files (x86)\Microsoft IoT\FFU\QCDB410C\ which contains the DragonBoard410c image file "flash.ffu".
In Windows 7, this new directory is under C:\Program Files\Microsoft IoT\FFU\
RTENOTITLE

Step 2 : Set up your device

  • Set up your RSB-4760 device
First, you have to set the SW1 boot switch to enable download mode.
Both switch pins are set to ON, and power on the RSB-4760 device.
Rsb4760-sw1.jpg
Then, connect a USB cable to the micro USB port and connect the other end to an empty USB port on your Host PC.
  • Install Windows 10 IoT Core
Start the DragonBoard Update Tool you installed during the Step 1.
RTENOTITLE
The Update Tool should detect the board and the Connection Status should show: "Connected".
In the DragonBoard Update Tool click the "Browse" button and locate the Win10 IoT Core Image file you downloaded during Step 1.
Click the "Program" Button and wait for the image to be downloaded to the board.
NOTE: The download will overwrite any previous content of the eMMC memory.
Once the download is complete, disconnect the power supply and microUSB cable from the board and change both the SW1 switch pins back to the OFF position.
The RSB-4760 is now ready to boot into Windows 10 IoT Core OS.
  • First Boot
Connect Mouse, Keyboard and Display to the RSB-4760 and also insert a sdcard.
Because the definition of USB id pin are different to RSB-4760 and DragonBoard, the USB id is defined to sdcard detection GPIO on RSB-4760.
So, we have to cheat the device that USB host is ready by inserting a sdcard. Or, USB keyboard & mouse will be invalid.
NOTE: Make sure that the microUSB cable is not plugged-in, otherwise the USB devices will not be detected.
After a few seconds you should see the Win10 IoT boot-logo and shortly after you should see the Win10 IoT Core default application:
DB410c DefaultApp.jpg


i.MX6

In this section, we will show you how to flash the Windows 10 IoT Core image into RSB-4411.

Flash Pre-built Images

The images we use here are compiled via project-kayla (Windows 10 IoT Core Board Support Package for iMX6).

Step 1 : Get the tools

  • OS requirement
Only Windows 10 can work. It does not support Windows 7.
  • Download and install Windows 10 IoT Core Dashboard
Download the Windows 10 IoT Core Dashboard from here.
Win-10-iot-core-dashboard.png 

Step 2 : Flash FFU & Replace images

Step 3 : Set up your device

Connecting to Your Device

You can use Windows Device Portal to connect to your device through your favorite web browser. The device portal provides configuration and device management capabilities, in addition to advanced diagnostic tools to help you troubleshoot and view the real time performance of your Windows IoT Device.

Windows device portal.png

Steps:

1. Setup network connections on Windows 10 IoT Core

Device Settings -> Network & Wi-Fi

2. Make sure your host PC can reach the IP which Windows IoT Device gets.

3. Open your favorite web browser and go to http://<Windows IoT Device's IP address> :8080/ , e.g.http://192.168.0.109:8080/

You need username and password to log-in.
  • username: Administrator
  • password: p@ssw0rd

4. Then, you are able to handle the Windows IoT Device via Windows Device Portal.

Additional Resources

There are some additional valuable resources for your reference.