https://github.com/westberrytech/wb32-dfu-updater
USB programmer for downloading and uploading firmware to/from USB devices.
https://github.com/westberrytech/wb32-dfu-updater
dfu wb32 wb32-dfu-updater
Last synced: 8 months ago
JSON representation
USB programmer for downloading and uploading firmware to/from USB devices.
- Host: GitHub
- URL: https://github.com/westberrytech/wb32-dfu-updater
- Owner: WestberryTech
- License: apache-2.0
- Created: 2021-10-11T07:16:54.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2025-08-05T11:26:09.000Z (10 months ago)
- Last Synced: 2025-10-13T18:21:23.719Z (8 months ago)
- Topics: dfu, wb32, wb32-dfu-updater
- Language: C
- Homepage: http://www.westberrytech.com
- Size: 5.3 MB
- Stars: 35
- Watchers: 14
- Forks: 25
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [wb32-dfu-updater_cli](https://github.com/WestberryTech/wb32-dfu-updater)
[](https://github.com/WestberryTech/wb32-dfu-updater/tags)
[](https://github.com/WestberryTech/wb32-dfu-updater/blob/master/LICENSE)
[](https://github.com/WestberryTech/wb32-dfu-updater/pulse/monthly)
[](https://github.com/WestberryTech/wb32-dfu-updater/)
[
](https://formulae.brew.sh/formula/wb32-dfu-updater_cli)
[
](https://packages.msys2.org/package/mingw-w64-x86_64-wb32-dfu-updater?repo=mingw64)
`wb32-dfu-updater` is a host tool used to download and upload firmware to/from WB32 MCU via USB. (`wb32-dfu-updater_cli` is the command line version)
## Pre-built packages
| OS | Link |
| --- | --- |
| Windows (MINGW64) | https://packages.msys2.org/package/mingw-w64-x86_64-wb32-dfu-updater |
| macOS | https://formulae.brew.sh/formula/wb32-dfu-updater_cli |
| Fedora Linux | https://copr.fedorainfracloud.org/coprs/erovia/wb32-dfu-updater/ |
| Other Linux | https://formulae.brew.sh/formula/wb32-dfu-updater_cli |
## How to build wb32-dfu-updater_cli:
**Windows system please run on MINGW64!!!**
### Prerequisites :
- cmake-3.0.0 or more see http://www.cmake.org/cmake/resources/software.html
- libusb-1.0.24 or more see https://github.com/libusb/libusb/releases/download/v1.0.24/libusb-1.0.24.tar.bz2
### Install the wb32-dfu-updater_cli :
- ``` git clone https://github.com/WestberryTech/wb32-dfu-updater.git ```
- ``` cd wb32-dfu-updater ```
- ``` bash ./bootstrap.sh install ```
- If Permission denied is displayed, use the ``` sudo bash ./bootstrap.sh install ```
## Windows driver
You can found the Windows driver for wb32-dfu-updater_cli in the `driver` directory.
To install the Windows driver for wb32-dfu-updater_cli, you should unzip the package and run `winusb_install.bat`.
## Linux bash error
If you encounter either of the following errors
``` bash: ./bootstrap.sh: cannot execute: required file not found ```
or
``` ./bootstrap.sh: line 2: $'\r': command not found ```
then you will need to convert bootstrap.sh from DOS to Unix encoding before attempting to run the script.
The easiest way to do this is by using the CLI tool dos2unix.
``` sudo apt install dos2unix ```
``` dos2unix bootstrap.sh ```