Install the Visual Studio Extension

First, you need to install the latest VS Tools for Meadow Extension by downloading it or through the Extension Manager

  1. In Visual Studio, go to Extensions > Manage Extensions.
  2. Click Online and search for Meadow.
  3. Install VS Tools for Meadow (version 0.6.0 or later), shut down all instances of Visual Studio, and restart.

Install Meadow.OS

Important: If you previously installed Meadow.OS with dfu-util and updated the STM32 BOOTLOADER driver from STTub30 to WinUSB through Zadig, you need to uninstall the WinUSB driver. See Uninstall WinUSB Bootloader Driver below.

  1. Open Visual Studio 2019 and select Continue without code.
  2. Open Meadow Device Explorer: View > Other Windows > Meadow (or Ctrl+Shift+M).
    Meadow Device Explorer
  3. Click Download MeadowOS.
  4. Connect your Meadow device in bootloader mode by connecting your device while holding down the BOOT button.
  5. Click Flash Device. This will take a couple minutes to complete.
  6. Choose the correct port in Select Target Device Port dropdown. Hint: open Device Manager and expand Ports (COM & LPT), the correct Meadow device COM port is USB Serial Device.

Uninstall WinUSB Bootloader Driver

If you did not install MeadowOS via dfu-util previously, you can skip this section.

  1. Connect your device in bootloader mode.
  2. Open Device Manager.
  3. Find Universal Serial Bus devices > STM32 BOOTLOADER.
  4. Right-click STM32 BOOTLOADER and select Uninstall Device.
  5. In the Uninstall Device window, check Delete the driver software for this device. and click Uninstall.
    Driver Uninstall
  6. After uninstall is completed, the device will appear as STM Device in DFU Mode under Universal Serial Bus controllers.
  7. Reconnect the device in bootloader mode.

Next - Hello, Meadow


These docs are open source. If you find an issue, please file a bug, or send us a pull request. And if you want to contribute, we'd love that too!