avr-chat
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-chat] Avrdude on FreeBSD


From: Thomas D. Dean
Subject: [avr-chat] Avrdude on FreeBSD
Date: Sun, 29 Jan 2012 00:04:00 -0800
User-agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:9.0) Gecko/20120126 Thunderbird/9.0

I had this working last year. New system. Now, I don't remember what I did to get it working.

FreeBSD 9.0 x86_64

avrdude version 5.11

avr-gcc, avr-libc.

I can build a .hex.

I plug my avrisp into a usb port and in dmesg, I see

ugen0.3: <ATMEL> at usbus0

# sudo avrdude  -c avrisp -P /dev/ugen0.3 -v -v -p m16

avrdude: Version 5.11, compiled on Jan 27 2012 at 22:11:32
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "/usr/local/etc/avrdude.conf"
         User configuration file is "/root/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

         Using Port                    : /dev/ugen0.3
         Using Programmer              : avrisp
avrdude: ser_open(): can't set attributes for device "/dev/ugen0.3": Inappropriate ioctl for device

avrdude done.  Thank you.

# avrdude -c avrisp
...
  m16  = ATMEGA16        [/usr/local/etc/avrdude.conf:3626]
...

Any ideas?

Tom Dean



reply via email to

[Prev in Thread] Current Thread [Next in Thread]