Linux getting started
Thanks to our collaboration with the linux kernel team, recent kernel releases, starting with 2.6 and higher, natively recognize our µChameleon. For those who need to use an older version, we have made available for download a kernel patch in the classic diff format.
An other way to make it work is to reprogram the eeprom on the board with the Mprog utility, and revert it to a vanilla vid/pid that older 2.4 kernels will recognize.
Testing for device presence
The simplest way to test for device presence is by checking with /proc/bus/usb, or more conveniently by using the USBView software available from: http://www.kroah.com/linux-usb/. If a new device doesn't show up, you've probably missed a step.
Testing without programming : the shell
It is possible to issue commands to your µChameleon without actually
writing a program. When the device is plugged, Linux creates a new entry in /dev,
in most systems it will be /dev/ttyUSB0. To check that, one can do an "ls /dev/tty*"
before and after plugging the device. The simplest command we can think of is the one
that turns on or off the LED located near the USB connector. It is done by
simply typing in the shell :
echo "led off" > /dev/ttyUSB0
and then
echo "led on" > /dev/ttyUSB0