Link Search Menu Expand Document

Updating the tracker firmware

This procedure will show how to build and configure the SlimeVR firmware and upload it to your tracker.

1. Install Visual Studio Code

Download the latest Visual Studio Code and install it.

Download

img

Install

img

2. Install PlatformIO IDE

Once Visual Studio Code is installed, open it and install PlatformIO IDE for VSCode, an extension that will allow you to connect to the tracker, build and upload the firmware.

img

3. Install device drivers

For CP210X (NodeMCU v2)

  1. Download the zip archive with the drivers from silicon labs here.

    For any other OS, the drivers can be found here.

  2. Extract the files from the downloaded zip archive, then launch CP210xVCPInstaller_x64.exe (CP210xVCPInstaller_x86.exe if you are using 32-bit Windows) and follow installation instructions.

img

For CH340 (NodeMCU v3, Wemos D1 Mini and review units of SlimeVR)

Download the CH341SER.EXE file from here, run it and follow installation instructions.

4. Install git client

For Windows, you can download and install Git for Windows. If you have other OS, visit https://git-scm.com/downloads.

Note: you will most likely have to click “Click here to download manually”. If that doesn’t work, you can try here.

img

5. Clone the firmware project

Make sure you close any current projects you have open or open a new window before moving forward with these steps.

  1. Click the Source Control button, click on Clone Repository and enter: https://github.com/SlimeVR/SlimeVR-Tracker-ESP.git.

    If you installed git while Visual Studio Code was open you may have to close it and re-open it first.

    img

  2. Once you have chosen a download location click the Open button that appears at the bottom right.

    img

  3. Click Yes, I trust the authors.

    img

6. Plug in your ESP

If your microcontroller board has a button labeled FLASH, BOOT or RESET, press and hold the button and plug in the micro-USB cable. If you have different labels and/or buttons, please check your microcontroller’s manual for more information.

Note that holding the button is not required for Wemos D1 Mini.

7. Build your firmware

  1. Follow the configuring the firmware project page to prepare your project for building and uploading the firmware.
  2. Press the build button at the bottom of Visual Studio Code.

    img

8. Upload your firmware

  • Once the firmware has been built, press the upload button to upload the firmware.

    img

  • If the upload is successful, you should get an output that looks like this:

    img

Congratulations! You have now successfully uploaded the firmware to your SlimeVR Tracker!

Troubleshooting

If you encountered an issue while following these steps check the Common issues page.

If you don’t find an answer to your question there ask in #diy channel in the discord, we will be happy to help.

Made with care by Prohurtz#0001, adigyran#1121, Eiren#0666 and CalliePepper#0666. Edited by CalliePepper#0666 and Emojikage#3095.


Table of contents