kobuki_ftdi Documentation


Utilities for flashing and enabling Kobuki's USB connection. This package contains tools for flashing the Kobuki's FTDI chip (usually done at the factory). The special firmware for the FTDI chip (USB to serial converter) enables it to appear as /dev/kobuki on the user's PC.


Programming the Eeprom

If it is the only FTDI device plugged in, simply

$ rosdep install kobuki_ftdi
$ roscd kobuki_ftdi
$ make
$ sudo ./bin/ftdi_koboki

will do the job, if not - optionally add an argument with the current serial id of the FTDI chip you want to flash to the last command.

If things go bums up, then you will find an eeprom.backup saved in your current directory that you can reflash back to the chip (using ftdi_write_eeprom).

$ sudo ./bin/ftdi_write_eeprom -f eeprom.req

Preparing Udev

$ roscd kobuki_ftdi
$ make udev

Copying 57-kobuki.rules -> to /etc/udev/rules.d

[sudo] password for dude:
Adding user `dude' to group `dialout' ...
Adding user dude to group dialout
udev stop/waiting
udev start/running, process 15150

Logout and log back in to make sure the dialout group permissions take affect.


WILL NOT WORK WITH libftdi 0.17!!!

libftdi needs to be upgraded to work for TYPE_R (can see FT232R on the iInterface variable in lsusb) FTDI chips. To workaround on lucid(Ubuntu 10.04), simply uninstall libftdi and download the sources for version 0.2/0.3 and above (might also work on 0.18 from emails I've read).

Might work out of the box on oneric(Ubuntu 11.10), but I haven't tried.




Make sure you use sudo, if not, it will only retrieve part of the information.

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 007: ID 0403:6001 Future Technology Devices International, Ltd FT232 USB-Serial (UART) IC
// Get the two numbers to the left of the FTDI device (bus and device number) (e.g. 002, 007)
$ sudo lsusb -v -s 002:007


Much more detailed information of a currently connected device.

$ ls /dev/ttyUSB*
$ sudo udevadm info -a -n /dev/ttyUSB0

Author(s): Younghun Ju
autogenerated on Mon Oct 6 2014 01:31:47