Re: Help with pic over usb

John Maxwell <[email protected]> Fri, 18 Feb 2011 18:57:58 -0500
Newsgroups gmane.comp.hardware.microcontrollers.gnupic
Message-ID <[email protected]>
On 02/14/11 07:46:28, Anne Vanhoest wrote:
> But how
> do I
> get "any terminal emulator" to connect to the virtual com port?
>=20

Linux includes drivers for most (I'm tempted to say "all", because I've=20
never found an exception, but that'd be begging for trouble) devices=20
which conform to the USB CDC (the USB sub-spec for com port-like=20
devices)

Plugging in a such a device usually results in a new device file=20
showing up on the machine. Typical filenames are /dev/ttyUSB0 or
/dev/ttyUSB1 or the like.

To find out for sure whether your Linux box is noticing the PIC32 board=20
and setting things up properly, do a tail -f on /var/log/messages, and=20
then plug the device in. You should see a flurry of messages indicating=20
that Linux has seen the new device, and (hopefully) what device file=20
it's accessible as.

Given that all of the above works, just tell minicom to use /dev/
ttyUSB0 (substitute appropriate terminal program and device file, of=20
course) as its communications port.

-John

--
John Maxwell  KB3VLL  [email protected]

Exit ramps - suburban America's skid pads.
=