NerdKits - electronics education for a digital generation

You are not logged in. [log in]

NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.

Support Forum » Nerdkits and FreeBSD

January 25, 2010
by davidcollins001
davidcollins001's Avatar

Hi,

I run FreeBSD and wanted to see if I could interface it with my new Nerdkit before having to use another OS.

It was very simple to get working. The pl2303 driver is supported in the uplcom driver that can be loaded either by:

# kldload uplcom

or by:

echo 'uplcom_load="YES"' >> /boot/loader.conf

dmesg shows the device appear as /dev/cuaU0 (on FreeBSD-8 at least).

To install the programmer from ports:

cd /usr/ports/devel/avrdude
make install

The avr tool chain also needs to be installed from ports:

cd /usr/ports/devel/avr-libc
make -DNOPORTDOCS install

This installs all the dependancies also, and prevents the documentation system (including doxygen and tetex) from being installed.

I ran avrdude as root

Thanks for a great kit

David

January 09, 2012
by fc
fc's Avatar

This worked on 7.4 like a champ. Thanks.

One last trick if you don't like to 'su' or log in as root. cuaUx belongs to the 'dialer' group. Go into '/etc/group', find the line 'dialer', and add your login to the end of the line, as in -

Find -

dialer:*:68:

end with

dialer:*:68:<logname>

No more root requirement for avrdude.

fc

Post a Reply

Please log in to post a reply.

Did you know that essentially all power supplies' voltages drop when current is drawn from them? Learn more...