Redirecting you to Developer Center... Click here if you are not automatically redirected.
If your current firmware is 64 bit (this is how the MinnowBoard ships)fs0: .\MinnowBoard.MAX.FirmwareUpdateX64.efi _filename_.bin
If your current firmware is 32 bit (if you have already modified the original firmware to be 32 bit)fs0: .\MinnowBoard.MAX.FirmwareUpdateIA32.efi _filename_.bin
e.g.Shell> fs0: fs0:\> .\MinnowBoard.MAX.FirmwareUpdateIA32.efi MinnowBoard.MAX.I32.079.R01.bin
You might wonder why you need to invoke 'MinnowBoard.MAX.FirmwareUpdateX64.efi' even if we're only supporting a 32 bit version of Windows 10 IoT Core. The board usually comes with 64-bit firmware pre-installed on it. The bitness of the EFI has to match the bitness of the current firmware. Additionally, the bitness of the bin file has to match the desired bitness of the firmware after updating. So the first time you will likely need to use 64-bit EFI and 32-bit BIN. The second time and every other time you need to use 32-bit EFI and 32-bit BIN. The reason the bitness of the firmware has to match the bitness of the OS is that there is an EFI in the OS image that gets loaded to bootstrap the OS, and that EFI has to be the same bitness as the firmware as well.
The tool will enumerate devices as shown. Select the SD card you want to flash, and then provide the location of the ffu to flash the image.
NOTE: IoTCoreImageHelper.exe is the recommended tool to flash the SD card. However, instructions are available for using DISM command line tool directly.
Safely remove your USB SD card reader by clicking on "Safely Remove Hardware" in your task tray, or by finding the USB device in File Explorer, right clicking, and choosing "Eject". Failing to do this can cause corruption of the image.
NOTE: If you want to remove Windows 10 IoT Core from your SD card after you are done using it, see the FAQ section titled "How do I remove Windows 10 IoT Core from my SD card?".
If you have loaded a previous version of IoT Core on your MBM you will need to go through the following steps for your first boot (make sure you have your SD card with IoT Core inserted):
In this tutorial, we'll create a simple LED blinking app and connect a LED to your Windows 10 IoT Core device.
This is a headed sample. To better understand what headed mode is and how to configure your device to be headed, follow the instructions here.
Also, be aware that the GPIO APIs are only available on Windows 10 IoT Core, so this sample cannot run on your desktop.
You can find the source code for this sample by downloading a zip of all of our samples here and navigating to the
samples-develop\Blinky. The sample code is available in either C++ or C#, however the documentation here only details the C# variant. Make a copy of the folder on your disk and open the project from Visual Studio.
You'll need a few components:
A 220 Ω resistor
A breadboard and a couple of connector wires
An LED (any color you like)
We will connect the one end of the LED to GPIO 5 (pin 18 on the JP1 expansion header) on the MBM, the other end to the resistor, and the resistor to the 3.3 volt power supply from the MBM. Note that the polarity of the LED is important. Make sure the shorter leg (-) is connected to GPIO 5 and the longer leg (+) to the resistor or it wont light up.
And here is the JP1 connector on the MBM:
Here is an example of what your breadboard might look like with the circuit assembled:
x86. If you're building for Raspberry Pi 2, Raspberry Pi 3 or the DragonBoard, select
Local Machinedropdown and select
Universal (Unencrypted Protocol)Authentication Mode, then click Select.
Debugtab on the left:
When everything is set up, you should be able to press F5 from Visual Studio. If there are any missing packages that you did not install during setup, Visual Studio may prompt you to acquire those now. The Blinky app will deploy and start on the Windows IoT device, and you should see the LED blink in sync with the simulation on the screen.
Congratulations! You controlled one of the GPIO pins on your Windows IoT device.
The code for this sample is pretty simple. We use a timer, and each time the 'Tick' event is called, we flip the state of the LED.
Here is how you set up the timer in C#:
To drive the GPIO pin, first we need to initialize it. Here is the C# code (notice how we leverage the new WinRT classes in the Windows.Devices.Gpio namespace):
Let's break this down a little
GpioController.GetDefault()to get the GPIO controller.
pin, we set it to be off (High) by default using the
pinto run in output mode using the
Once we have access to the
GpioOutputPin instance, it's trivial to change the state of the pin to turn the LED on or off.
To turn the LED on, simply write the value
GpioPinValue.Low to the pin:
and of course, write
GpioPinValue.High to turn the LED off: