BugsMover / wb32-dfu-updater

USB programmer for downloading and uploading firmware to/from USB devices.

Home Page:http://www.westberrytech.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Current Version License GitHub contributors GitHub forks

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)

How to build wb32-dfu-updater_cli:

Windows system please run on MINGW64!!!

Prerequisites :

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

About

USB programmer for downloading and uploading firmware to/from USB devices.

http://www.westberrytech.com

License:Apache License 2.0


Languages

Language:C 85.3%Language:CMake 9.2%Language:Shell 5.6%