Preparation:
.bin files from this directory and extract them.Installation:
setup_eval.exe to install the tool to upgrade your Tone’s firmware.Yes, then disconnect and reconnect your Tone.Upgrading:
TUSBAudio Firmware Upgrade tool, from your Start Menu.Device Opened, which means your Tone is connected and ready for upgrading. (If not, disconnect and reconnect your Tone).Browse and load the firmware .bin file you extracted, into the tool.Start to begin the upgrade process.Exit.Preparation:
$ sudo apt-get update $ sudo apt-get install git libusb-1.0-0 libusb-1.0-0-dev
Download Burning Tool:
Tone DFU burning tool on Ubuntu is in utils repository.
$ git clone https://github.com/khadas/utils
Or just pull it (if you have already cloned this repository).
$ cd /path/to/utils $ git pull
Install Burning Tool:
You need to install USB rules and create some links.
$ cd /path/to/utils/tone-dfu-tool $ sudo ./INSTALL
You will see this print-out if it was successful.
[sudo] password for nick: =============================================== Host PC: Ubuntu 20.04 =============================================== Installing USB rules... Installing tone-burn-tool... Done!
Root privilege required.
Upgrading:
Home folder.Terminal window, and cd into your Home folder. $ cd /home/*
.bin file to replace /path/to/firmware.bin). $ sudo tone-burn-tool -i /path/to/firmware.bin
Upgrading will stuck at Waiting for device to restart and enter DFU mode for about 20 seconds, please wait patiently.
Upgrading Tone firmware... Khadas Tone1 detected! Tone DFU application started - Interface 2 claimed Detaching device from application mode. Waiting for device to restart and enter DFU mode... ... DFU firmware upgrade device opened ... Downloading image (Tone1_Firmware_V2.00_201016.bin) to device ... Download complete ... Returning device to application mode
Uninstall Burning Tool:
$ cd /path/to/utils/tone-dfu-tool $ sudo ./UNINSTALL
Preparation:
Download the ready to use dfu tool to somewhere like:~/Desktop.
$ wget https://dl.khadas.com/products/tone2/tools/dfu_tool/tone_dfu_tool_macos $ chmod +x ./tone_dfu_tool_macos
Upgrading:
.zip file../tone_dfu_tool –download, followed by space, and drag the firmware.bin you just downloaded, from the Finder into Terminal. Then hit Enter.$ ./tone_dfu_tool --download /path/to/Tone2_Pro_DFU_TEST201228_nothing.bin
VID = 0x3353, PID = 0xa002
Khadas Tone2 Pro detected!
Tone DFU application started - Interface 2 claimed
Detaching device from application mode.
Waiting for device to restart and enter DFU mode...
VID = 0x3353, PID = 0xa002
... DFU firmware upgrade device opened
... Downloading image (/path/to/Tone2_Pro_DFU_TEST201228_nothing.bin) to device
... Download complete
... Returning device to application mode
./tone_dfu_tool --download /path/to/Tone2_Pro_DFU_TEST201228_nothing.bin dyld: Library not loaded: /usr/local/lib/libusb-1.0.0.dylib Referenced from: /Users/username/Downloads/USB-Audio-2.0-Software-v6.1-master/sc_usb_audio/module_dfu/host/xmos_dfu_osx/./xmosdfu Reason: image not found Abort trap: 6