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 5008 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
  • jack.chaney56
    jack.chaney56 over 7 years ago

    Just curious... after all the fanfare of the release, and the struggles with getting some of the devices to recognize properly, is anyone using Win10 IoT core for serious development? Or, like me it was more an investigation to see if I could get it to work, and provide it as a solution to those users that I support that just have to have Windows.

     

    Jack

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • peteroakes
    peteroakes over 7 years ago in reply to jack.chaney56

    image, you finally got my attention again....

     

    Windows 10 IoT on a PI as an appliance host is great, as a desktop... not so much but then it was never meant to be

     

    MS is still working on this project, there a little slow but is is progressing and there is a very big following on Hackster and GIT

     

    Having said that, I have been over the last few weeks playing with Node Red (Not Available for Windows 10 (YET) ) and I like it alot, I am currently modifying WiringPi for a LeMaker Guitar

     

    I like to develop with Visual Studio (Eclipse is starting to look like Visual Studio image ) and use C# or C, not Java or Python or other languages so it come more natural to me, and of course all the fun UI stuff I have done in Studio for years and it too comes naturally in that environment.

     

    To be honest I have not made the time to learn the Java / Linux UI based apps and with this I dont need to yet...

     

    Add to that Node Red UI type functionality leveraging HTML5... why would I ever need to

     

    Anyway... suffice to say... Im Watching you image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Comment
  • peteroakes
    peteroakes over 7 years ago in reply to jack.chaney56

    image, you finally got my attention again....

     

    Windows 10 IoT on a PI as an appliance host is great, as a desktop... not so much but then it was never meant to be

     

    MS is still working on this project, there a little slow but is is progressing and there is a very big following on Hackster and GIT

     

    Having said that, I have been over the last few weeks playing with Node Red (Not Available for Windows 10 (YET) ) and I like it alot, I am currently modifying WiringPi for a LeMaker Guitar

     

    I like to develop with Visual Studio (Eclipse is starting to look like Visual Studio image ) and use C# or C, not Java or Python or other languages so it come more natural to me, and of course all the fun UI stuff I have done in Studio for years and it too comes naturally in that environment.

     

    To be honest I have not made the time to learn the Java / Linux UI based apps and with this I dont need to yet...

     

    Add to that Node Red UI type functionality leveraging HTML5... why would I ever need to

     

    Anyway... suffice to say... Im Watching you image

    • Cancel
    • Vote Up +2 Vote Down
    • Sign in to reply
    • More
    • Cancel
Children
  • mconners
    mconners over 7 years ago in reply to peteroakes

    You know peteroakes mono is almost fully compatible with .NET 4.5, maybe higher, you can write c# all day on linux.

     

    Got your choice of editors, too.

     

     

    Mike

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • mconners
    mconners over 7 years ago in reply to mconners

    Compatibility | Mono

     

    There's the compatibility list.Pretty complete, c# 6.0, Everything in .NET 4.5 ac except WPF, WWF, and with limited WCF and limited ASP.NET 4.5 async stack.

     

    I actually got VSCode, microsoft's Atom.io clone to compile and run on an odroid, I wasn't able to repeat on a pi, but arm support can't be far off.

     

    Mike

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jack.chaney56
    jack.chaney56 over 7 years ago in reply to peteroakes

    Great stuff!!! I put down my keyboard, because I had to go to choir rehearsal, and didn't pop back until this morning.

     

    Peter has really good arguments for remaining with 10 IoT, the same as I do for not adopting it.  It is clearly a generational difference (at least I presume it is). My history with computers goes back before there was Microsoft, or internet. When Bill Gates was downloading CP/M off websites so he could get his IMSAI to run, and my dad was driving Scott McNeally to Boy Scout meetings. I started programming before there was C (or B), when the choices were Assembly, Fortran, and COBOL. I adopted technologies as they showed themselves to be a significant improvement, or because my managers directed me.  I was using Unix a long time before NT came out, and was not particularly impressed when it did, it looked like X with Motif, and the scheduler was shaky, and didn't give full control of prioritization. IoT is the next new wave, and if you are using Windows 10 and not using it for a desktop solution, and just for the IoT, you are probably better off going with the much more stable IP stack in Linux.

     

    What would be a good offering would be to provide a stripped down Raspbian for development, that doesn't have all the added packages for education, and entertainment. This is why I often develop to a Welcome to Linux From Scratch!  platform, on most devices. It gives a base installation, that is highly customizable, and provides a great learning experience as well.

     

    You might do well to learn some Python.

     

    Jack

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • clem57
    clem57 over 7 years ago in reply to jack.chaney56

    For a stripped down OS on Raspberry Pi, try Minibian

    Clem

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 7 years ago in reply to clem57

    Corrected URL = https://minibianpi.wordpress.com/

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jack.chaney56
    jack.chaney56 over 7 years ago in reply to Former Member

    Thanks for the update, however, You should probably use the SourceForge link http://sourceforge.net/projects/minibian/files/2015-11-12-jessie-minibian.tar.gz/download as it will get the file and is less likely to be blocked by work firewalls.

     

    Jack

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 7 years ago in reply to jack.chaney56

    Agree with Clem.  Small is beautiful.  Minibian has a very small run-time footprint.  Pick what additions you need/want (if anything) on top of it.

     

    One caution: The only user available after installation is the root (password = raspberry).  As the root, be sure to install an ordinary user of your choice and always login to the ordinary user.  Subsequently, if you need to use an administrator's command (E.g. apt-get something), you can specify the command as arguments to `sudo`.  For example:

     

         sudo apt-get update

     

    It's too easy to silently shoot yourself in the foot as the root, hence my cautionary note (I've done it! image).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • jack.chaney56
    jack.chaney56 over 7 years ago in reply to Former Member

    ...you mean like rm -rfv /*

     

    {oops}

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 7 years ago in reply to jack.chaney56

    For downloads, I agree.  I believe that Clem specified the home page so that folks would be able to get started with general info and FAQs.  Look before you leap, eh?  (-:

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 7 years ago in reply to jack.chaney56

    Yes, and forgetting that you were actually in /usr (or worse!) and not in /tmp.  My last {oops} like that was on a BSD 4.1 VAX system, >30 years ago.  Fortunately, we had a diskette to recover with.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
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