element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Members
    Members
    • Achievement Levels
    • Benefits of Membership
    • Feedback and Support
    • Members Area
    • Personal Blogs
    • What's New on element14
  • Learn
    Learn
    • eBooks
    • Learning Center
    • Learning Groups
    • STEM Academy
    • Webinars, Training and Events
  • Technologies
    Technologies
    • 3D Printing
    • Experts & Guidance
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Arduino Projects
    • Design Challenges
    • element14 presents
    • Project14
    • Project Groups
    • Raspberry Pi Projects
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Or choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
Raspberry Pi
  • Products
  • More
Raspberry Pi
Documents Windows 10 IoT Core on the Raspberry Pi 2
  • Blog
  • Forum
  • Documents
  • Events
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Raspberry Pi requires membership for participation - click to join
Actions
  • Share
  • More
  • Cancel
Engagement
  • Author Author: cstanton
  • Date Created: 30 Apr 2015 8:55 AM Date Created
  • Last Updated Last Updated: 11 Aug 2015 11:54 AM
  • Views 5020 views
  • Likes 10 likes
  • Comments 69 comments
Related
Recommended

Windows 10 IoT Core on the Raspberry Pi 2

Now out of Developer Preview!image


Steve Teixeira of Microsoft gives this statement:

"We’re embracing the simple principle of helping Makers and device builders do more by bringing our world-class development tools, the power of the Universal Windows Platform, direct access to hardware capabilities, and the ability to remotely debug, update, and manage the software running on Raspberry Pi 2 devices.

 

This Insider Preview release of Windows 10 IoT Core is our conversation-starter. Our goal is to give Makers the opportunity to play with the software bits early and to listen to the feedback on what’s working well and what we can do better. You may notice some missing drivers or rough edges; we look forward to receiving your feedback to help us prioritize our development work.

 

We will be incorporating the feedback we receive into regular software updates along with additional drivers, bug fixes and new features. Those looking for a commercial-quality release should wait for general availability this summer."

Called it!

I previously blogged that Windows 10 on the Raspberry Pi 2 will not have a desktop and instead, it is an integrated, Internet of Things development system that is compatible with Microsoft Windows 10. In the Microsoft Build 2015 keynote they presented the integration of the HoloLens with a robot controlled by a Raspberry Pi 2 which is running Windows 10.

 

You don't have permission to edit metadata of this video.
Edit media
x
image
Upload Preview
image

Source: https://www.raspberrypi.org/windows-10-for-iot/

 

This integration of technology is an act that I have dreamed about, what you have here is an interaction crossover from physical to virtual, with the virtual overlaid onto the physical in real time. Microsoft are referring to it as holograms, it used to be called 'alternate reality', and before that simply 'virtual reality'. I'm sure the name is going to change as time goes on.

 

Where can I get it?

Microsoft have an Internet of Things for embedded devices hub where you can find the guide and downloads for the Raspberry Pi 2 (amongst others such as Arduino)

 

Is this the Embedded Pre-Release Program?

Yes, it was at least. you had to sign up to the "Windows Embedded Pre-Release Program" on 'Microsoft Connect'. While there was also the 'Windows On Devices' site, and now there's the 'Windows IoT' site, they did loop you around blogs and links. When you've went to the Pre-Release Program downloads area you saw this:

 

image

 

So once you've downloaded your Windows 10 IoT Core Insider Preview Image for Raspberry Pi 2 you're going to want to get it onto the Raspberry Pi 2. The zip file you've downloaded contains the following files:

 

image

This is a bit of a miss-direction. At this stage we're not entirely interested in using WindowsDeveloperProgramForIoT, for that you'll have to be running Windows 10. In fact, to do anything with this device, you're going to need:

  • Microsoft Windows 10 (Though you can use Windows 8/8.1 to send code to the Pi 2)
  • Microsoft Visual Studio 2015 (Professional / Enterprise / etc. though Community Edition will apparently work)
  • Microsoft ADK for Windows 10 Technical Preview for Windows (you may not need this, but you need an up to date DISM.exe to write the Flash.ffu which comes with this)
  • A way to access a microSD card on your computer

 

Hang on, I thought it was Released?

It is, and the steps have now changed from those above.

 

When You have downloaded the "IOT Core RPi.ISO" file from the downloads page you can either burn the image to a disc (which I admit is a bit antiquated these days) or you can extract the .ISO file using software such as 7zip. You will then have the file "Windows_10_IoT_Core_RPi2.msi" which, if you're running Windows 10 you can run and it will guide you through the setup process. Alternatively you can extract the .msi file and it will give you DISM along with the .ffu image file.

 

So What Now?

These steps are somewhat antiquated because of the final release of Windows 10 IoT Core, however if you ever need to setup your SDCard 'by hand' you still can.

 

So let us assume that you've got Windows 10 installed, you've installed the Microsoft ADK (or you're checking to see if you have dism), and you've got the microSD card installed and downloaded the File_WindowsIoTRpi2Flash.ffu / Flash.ffu image. You now need to follow these steps (as taken from ms-iot.github.io):

 

Follow these instructions to configure your SD card:

  1. NOTE: you will need to follow these instructions on a physical Windows machine (and not a VM) because you need access to the SD card reader.
  2. Configure your connect account here. Note that if your account was already configured, you'll see a blank page.
  3. Make a local copy of the flash.ffu contained in Windows_IoT_Core_RPI2_BUILD.zip found here. Follow the steps above on acquiring the file(s) unless you have already extracted File_WindowsIoTRpi2Flash.ffu
  4. Insert an SD card into your SD card reader.
  5. Open an admininistrator command prompt and navigate to the folder containing your local flash.ffu.
  6. Edit: Microsoft advised the below commands, but it's far easier to open a command prompt and type 'wmic diskdrive list brief' then you get the full DeviceID instead of guessing.
    Find the disk number that your SD card is on your computer. This will be used when the image is applied in the next step. To do this, you can use the diskpart utility. Run the following commands:
    diskpart
    list disk
    exit
  7. Using the administrator command prompt, apply the image to your SD card by running the following command (be sure to replace PhysicalDriveN with the value you found in the previous step, for example, if your SD card is disk number 3, use /ApplyDrive:\\.\PhysicalDrive3 below):
    dism.exe /Apply-Image /ImageFile:File_WindowsIoTRpi2Flash.ffu /ApplyDrive:\\.\PhysicalDriveN /SkipPlatformCheck
  8. Click on the "Safely Remove Hardware" icon in your task tray and select your USB SD card reader to safely remove it from the system. Failing to do this can cause corruption of the image.

 

If, however, you don't have Windows 10 installed, or access to DISM you're going to have a not very fun time trying to get the image. You can at least mount the File_WindowsIoTRpi2Flash.ffu / Flash.ffu file within windows using ImgMount and I'm going to leave you to fiddle with disk cloning tools to duplicate your newly mounted image in those cases.

 

Also if you're putting the image onto a microSD card from a virtual machine, you may encounter the problem that your virtual machine can't see your SDCard reader if it isn't USB. If you're running Microsoft Windows and you're using VirtualBox you'll find an answer at this link, and if you're using VMWare then the trick is to add the SDCard reader as a hard drive, because it's seen as a 'removable disk' you can then continue with the steps.

 

There is apparently a known issue with the Windows 10 IoT Core build on Class 4 micro SDCards that cause applications to time out on boot and the operating system to not start properly. So you may as well make sure you're using a Class 10 micro SDCard. This issue and many others are covered in a Microsoft FAQ. Some are contradictory and others seem like the settings aren't entirely configured (power to USB ports for example).

 

Once you've got your image onto your microSD card you should be able to boot your Raspberry Pi 2 with it and get developing!

 

image

 

You can find guides on how to connect and configure it on Microsoft's Dev Center where you can also submit pull requests to the github repository.

 

Will it always be headless (no display supported)?

 

Yes, in the traditional sense of a 'standard computer' desktop. However that does not mean that you cannot code your own display. According to the FAQ:

 

When running headed the only supported UI is via the UWP UI stacks (XAML, HTML, DirectX).

DirectX support? On the Pi 2? Interesting. However at the time of writing the VideoCore drivers are still in development.

 

Do I have to use Ethernet?

 

Not strictly speaking, no. However it will be more reliable. WiFi and Bluetooth support is still being added. You'll want to check the Microsoft FAQs.

 

Want to see more and it being used in practice?

 

Running Windows 10 IoT Core and Code on the Raspberry Pi 2 !

  • pi_2
  • windows-10
  • microsoft
  • windows_10_iot
  • microsoft_windows
  • windowsiot
  • insider
  • raspberry_pi
  • windows
  • raspberry_pi_2
  • iot
  • hololens
  • developer_edition
  • windows_insider
  • pi2_features
  • windows_10
  • Share
  • History
  • More
  • Cancel
  • Sign in to reply

Top Comments

  • peteroakes
    peteroakes over 8 years ago in reply to Former Member +4
    The whole MS echo system for Windows 10 IoT on a PI is based around using a Windows 10 machine and Visual Studio Community 2015 or better (Network Connected for development, debugging and Deployment )…
  • shabaz
    shabaz over 8 years ago +3
    Very nice demo! Good integration of technologies in that video. Thanks Christopher for the detailed steps on how to get the IoT Core up-and-running. And cool robot. I see XMP-2 needs to up it's game!
  • xever
    xever over 8 years ago in reply to rew +3
    Although the instructions where to use a physical and not a VM Win10 machine, it is actually possible to flash the FFU file from a VM. Just use a USB mem card reader, insert your microSD and attach to…
Parents
  • peteroakes
    peteroakes over 8 years ago

    Also as I have previously reported, even if you can get the SD card written from a non windows 10 machine, if you want to develop software you need to be able to use Visual Studio 2015. The windows 10 IoT uses XAML and C# (Though you can change the language up a bit but the XAML stays if you want graphics).

     

    either way, the Visual Studio Community Edition required a windows machine, even if it is windows 8.1 but if you want to design with a graphics designer rather than raw XML then it needs to be on a windows 10 workstation too.

     

    Regards

     

    Peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 8 years ago in reply to peteroakes

    peteroakes, nobody should try to format a Windows 10 MicroSD for the Pi except in the Microsoft prescribed manner i.e. become a Windows 10 desktop/laptop user.  That's not much of an inducement for the POSIX community who are used to comparable processes producing a Linux image available on all operating systems - including Windows.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • peteroakes
    peteroakes over 8 years ago in reply to Former Member

    I agree, I was not endorsing the process, only reporting on the fact that some people had managed to do so it without a windows 10 machine. In the early release of the Win10IoT people did not want to create Windows 10 desktop, real of VM but still wanted to try the PI with Windows 10. Yes I know they just did not get it !!, but what ya gonna do image

     

    For me, all my machines in my lab and home are running windows 10 and have been for some time. I like it and am very happy to be coding the PI in C# with Visual Studio as you can see from all my receint posts on E14 and my own youtube channel TheBreadboardca

     

    Peter

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 8 years ago in reply to peteroakes

    Can you furnish a url to someone who has managed to install w10 on pi w/o having to have a windows machine at hand?  I'm a developer so I don't get put off by failed experiments.  I have linux & unix & mac at my disposal.

     

    I'd like to try w10 on my pi and evaluate objectively - I promise to ignore slow performance of a 1GB RAM machine!  I last used w7 at a corporate gig and I first used wfw 3.11 20+ yrs ago.

     

    Thanks for your thoughtful reply.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • peteroakes
    peteroakes over 8 years ago in reply to Former Member

    The whole MS echo system for Windows 10 IoT on a PI is based around using a Windows 10 machine and Visual Studio Community 2015 or better (Network Connected for development, debugging and Deployment ), none of the tools needed are available on any other platform currently so it would be a fruitless excersize even if you where able to write the firmware onto the SD card, you still need the Win 10 Desktop to author and deploy the Apps for the PI.

     

    The RAM etc with this version of windows is not an issue in anyway and the programs do not run slowly. Quite the oposit. The confusion many people are having is to assume it is a desktop replacement  rather than a much bigger platform and this is not the case. It is tageted at being a device with the ability to support an HDMI user interface (NOT DESKTOP) that you can code to.

     

    Think an advanced programable power upply, central heating system, Alarm System, Industrial Control etc. This is what it is tageted at and to that end it is a great platform (IMHO)

    This is a screen shot of hte resource screen while running one of my apps

    image

    As you can see, very little CPU in use and plenty of RAM for bigger and more complex apps

     

    I am not assuming your in this camp but there will be plenty of folks reading this that are, therefor I feel it is necessary to clarify

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • peteroakes
    peteroakes over 8 years ago in reply to Former Member

    The whole MS echo system for Windows 10 IoT on a PI is based around using a Windows 10 machine and Visual Studio Community 2015 or better (Network Connected for development, debugging and Deployment ), none of the tools needed are available on any other platform currently so it would be a fruitless excersize even if you where able to write the firmware onto the SD card, you still need the Win 10 Desktop to author and deploy the Apps for the PI.

     

    The RAM etc with this version of windows is not an issue in anyway and the programs do not run slowly. Quite the oposit. The confusion many people are having is to assume it is a desktop replacement  rather than a much bigger platform and this is not the case. It is tageted at being a device with the ability to support an HDMI user interface (NOT DESKTOP) that you can code to.

     

    Think an advanced programable power upply, central heating system, Alarm System, Industrial Control etc. This is what it is tageted at and to that end it is a great platform (IMHO)

    This is a screen shot of hte resource screen while running one of my apps

    image

    As you can see, very little CPU in use and plenty of RAM for bigger and more complex apps

     

    I am not assuming your in this camp but there will be plenty of folks reading this that are, therefor I feel it is necessary to clarify

    • Cancel
    • Vote Up +4 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2023 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube