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

_______________________________________________
AVR-chat mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avr-chat

Reply via email to