Skip to content

1c. Installing the Toolchain on Windows

Michael Corell edited this page Jun 2, 2020 · 31 revisions

Steps

1. Git for Windows

2. Make

3. ARM Toolchain

4. dfu-util

5. Zadig

Git for Windows

Git for Windows provides a terminal application (Git BASH) and installs Git on your system so that you can clone from GitHub.

Make

Make is included in the GNUWin32 package of tools. Download the Setup program for an installer. Use the most recent version.

Once this is installed, you will need to add the path to your environment variables.

ARM Toolchain

Download and install the GNU Embedded Toolchain for Arm.

You may see a a download button on the right hand side which briefly appears when the page loads, and then quickly disappears. You can ignore that and scroll down until you see the Windows 32-bit Installer (use the most recent version).

On the final screen of the installer, there is a checkbox for adding the path to your environment variables. It is unchecked by default.

Make sure to check this box if you don't want to add the path yourself:

If you did not tick the checkbox in the installer, you will need to add the path to your environment variables.

dfu-util

Download dfu-util.

Use the most recent version.

Extract the folder and move it to a permanent location such as \User\Documents

Once this is installed, you will need to add the path to your environment variables.

Zadig

In some cases, it is necessary to update the USB driver, and Zadig facilitates the process.

To begin, download Zadig. Use the most recent version.

Once Zadig is launched, click the Options menu and select "List All Devices." Reference screenshot below:

In the drop down menu inside the main window, select "DFU in FS mode," followed by selecting WinUSB in the target driver box. Reference screenshot below:

Click "Replace Driver." Zadig will update to the appropriate driver to flash Daisy.