beautypg.com

Pololu USB AVR User Manual

Page 42

background image

In Windows, the Device Manager shows which port name is assigned to the Pololu USB

AVR Programmer’s USB-to-TTL-serial adapter.

To determine the port name in Linux, type

ls /dev/ttyACM*

. The port name will be one of the devices listed there. If

there are only two ports, then the USB-to-TTL-serial adapter will be /dev/ttyACM1 (and the programming port will
be /dev/ttyACM0). If you see more than two ports, then you should look at the output from

dmesg

when you plug in

the USB AVR programmer to see which two ports are created; the second port is the USB-to-TTL-serial adapter. In
Linux, the port name depends on how many other devices are using the USB CDC ACM driver to create virtual serial
ports at the time the USB AVR Programmer is plugged in.

The USB AVR Programmer’s two serial ports in

Linux.

After determining the port name, you can use any serial port software to communicate on that port.

There are many free terminal programs available, including

PuTTY

[http://www.chiark.greenend.org.uk/~sgtatham/putty/]

(Windows or Linux),

Tera Term

[http://ttssh2.sourceforge.jp/]

(Windows), and

Br@y Terminal

[http://sites.google.com/

site/terminalbpp/]

(Windows). Advanced users developing scripted applications may prefer the free terminal program

kermit

[http://www.columbia.edu/kermit/]

. To use any of these terminal programs with the USB-to-TTL-serial adapter,

you must specify the port name determined above and your desired baud rate. The characters you type will be
transmitted on the programmer’s TX line. Bytes received by the programmer on the RX line will be displayed on the
screen by the terminal program.

Pololu USB AVR Programmer User's Guide

© 2001–2014 Pololu Corporation

6. Communicating via the USB-to-TTL-Serial Adapter

Page 42 of 54