Kirale Technologies provides different firmware compilations for the KTDG102 USB Dongle for different purposes:
- General KiNOS to set up the dongle as a Thread node.
- IEEE 802.15.4 Sniffer.
- Golden reference KiNOS in order to run in-house Thread Certification testing.
For this reason the USB Dongle is shipped without any specific pre-loaded firmware, so that the user can decide which one to flash. When no firmware is loaded a secure Bootloader DFU application runs when it is connected to an USB port. Follow the next steps in order to successfully flash the desired firmware.
Download the firmwareTo top
Get the desired firmware image.
Install bootloader driversTo top
Make sure the DFU driver is installed on your computer. More information: Install USB drivers.
Flash the firmwareTo top
Leveraging the potential of KiTools
We provide an easy-to-use software tool to flash all of your Kirale devices in parallel. Run KiTools from a Command Line or Powershell in Windows with the following parameters
C:\> .\KiTools-v1.4.0.exe ––flashdfu .\KiNOS-GEN-KTWM102-1.3.7656.74479.dfu
Otherwise using DFU Util
- On Windows : download dfu-util and extract the files in the desired folder.
- On MAC OS : get Homebrew and then execute the following command
$ brew install dfu-util
- On Linux :
$ sudo apt install dfu-util
Run dfu-util and list the attached devices and find the desired device. The USB Product ID for a KiNOS DFU device in bootloader mode is 0000.
Found DFU: [2def:0000] ver=0100, devnum=8, cfg=1, intf=0, path=”1-1.4.3″, alt=0, name=”KiNOS DFU”, serial=”8404D2000000045B”
Found Runtime: [2def:0102] ver=0100, devnum=9, cfg=1, intf=0, path=”1-1.4.4″, alt=0, name=”KiNOS DFU”, serial=”8404D2000000045C”
Flash the firmware file to the desired device (specifying the serial number). The transference could take several seconds.
Match vendor ID from file: 2def
Opening DFU capable USB device…
Run-time device DFU version 0110
Claiming USB DFU Runtime Interface…
Determining device status: state = appIDLE, status = 0
Device really in Runtime Mode, send DFU detach request…
Device will detach and reattach…
Opening DFU USB Device…
Claiming USB DFU Interface…
Setting Alternate Setting #0 …
Determining device status: state = dfuIDLE, status = 0
DFU mode device DFU version 0110
Device returned transfer size 64
Copying data from PC to DFU device
Download [=========================] 100% 239632 bytes
state(6) = dfuMANIFEST-SYNC, status(0) = No error condition is present
dfu-util: unable to read DFU status after completion
Once dfu-util has finished the transference of the firmware, the KTDG102 USB Dongle will reboot and start to apply the new firmware in the internal flash (led fast flashing). It could take several seconds as well. When the led begins to flash slowly (in stable way) the firmware flashing has finished and KiNOS firmware is operating!
Install run-time driversTo top
Now it is possible to install the run-time mode KiNOS driver. More information: Install USB drivers.
Run KSHTo top
Once run-time USB drivers are installed, run KiTools without parameters and your Kirale device will be shown on your screen. Otherwise, open a USB serial terminal and configure it. Then press “Enter” key to get the KSH prompt and start sending USB commands.