# qm-dfu-util **Repository Path**: LinuxHacker/qm-dfu-util ## Basic Information - **Project Name**: qm-dfu-util - **Description**: UART-based dfu-util for Quark MCUs - **Primary Language**: C - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2018-08-10 - **Last Updated**: 2020-12-18 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README qm-dfu-util - Intel® Quark™ Microcontroller Device Firmware Upgrade Utility ########################################################################### *qm-dfu-util* is a fork of |dfu-util|_, a host side implementation of the `DFU 1.0`_ and `DFU 1.1`_ specification of the USB forum. DFU is intended to download and upload firmware to devices connected over USB. It ranges from small devices like micro-controller boards up to mobile phones. *qm-dfu-util* allows you to download firmware to your Intel® Quark™ Microcontroller by using the serial interface (UART). Building ******** LINUX ===== For building the host tool, first configure the build with:: ./autogen.sh ./configure Then compile it with:: make The generated binary is ``src/dfu-util-qda``. You can have it installed into your GNU/Linux host with:: sudo make install The binary will be put into ``/usr/local/bin/``. WINDOWS ======= Windows Native with MSYS ------------------------ Windows binaries can be built in a MSYS2 environment, which provides a Linux-like environment for Windows. MSYS2 can be downloaded from http://msys2.github.io Install it and then copy the qm-dfu-util folder to ``\home\``. Open MSYS2 Shell and install the needed components:: pacman -S autoconf pacman -S perl pacman -S automake pacman -S make pacman -S mingw-w64-x86_64-gcc PATH=$PATH:/mingw64/bin/ To build the host tool, first configure the build with:: ./autogen.sh ./configure Then compile it with:: make The generated binary is ``src/dfu-util-qda.exe``. Windows Cross-compile from Ubuntu 16.04 --------------------------------------- Windows binaries can also be cross-compiled from Ubuntu. First, install MinGW:: sudo apt-get install mingw-w64 Then, configure the build with:: ./autogen.sh ./configure --host=x86_64-w64-mingw32 Finally compile it with:: make The generated binary is ``src/dfu-util-qda.exe``. .. |dfu-util| replace:: *dfu-util* .. _dfu-util: http://dfu-util.gnumonks.org .. _`DFU 1.0`: http://www.usb.org/developers/devclass_docs/usbdfu10.pdf .. _`DFU 1.1`: http://www.usb.org/developers/devclass_docs/DFU_1.1.pdf