$ rosrun kobuki_driver version_info
# Version Info:
* Hardware Version: 1.0.4
* Firmware Version: 1.2.0
* Software Version: 0.7.7
* Unique Device ID: 97713968-842422349-1361404194
# Download & build the flashing utility
$ wget http://files.yujinrobot.com/kobuki/firmware/stm32flash-0.4.tar.gz
$ tar -xvzf stm32flash.tar.gz
$ cd stm32flash
$ make
# choose the firmware version from http://files.yujinrobot.com/kobuki/firmware
# e.g. latest
$ wget http://files.yujinrobot.com/kobuki/firmware/kobuki_firmware-latest.hex
Identify the ttyUSBx Port
If you have a udev rule installed, it will show up as /dev/kobuki, but if not, you can typically find it
under one of the ttyUSB ports, e.g. /dev/ttyUSB0. If you are not sure, type dmesg into a terminal,
unplug and replug the robot and type dmesg again. You should now be able to see which port is
assigned to the robot (more precisely the FTDI USB to serial converter).
Switch to Download Mode
1. Connect the robot to your PC using the USB cable
2. Turn off the robot (switch on the side)
3. Switch from normal runtime mode to firmware download mode
This simply changes the type of data that is sent back and forth along the usb connection. You can do
this by moving the switch illustrated below into the ‘download’ (up) position. Note that this switch is
embedded into the robot cover so it isn’t easily thrown by accident – you may need thin plyers or
some similar tool. You can find the mode switch mechanism on the right side of the control panel -
see the image below.
7