avr-chat
[Top][All Lists]
Advanced

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

[avr-chat] usbprog + avrdude on OS X


From: Dean Hall
Subject: [avr-chat] usbprog + avrdude on OS X
Date: Mon, 13 Aug 2007 14:43:51 -0500

Hello,

I have a UsbProg device (seen here: http://www.deanandara.com/ UsbProgSharp/) that runs the latest avrispmkiiklon firmware which makes it behave like an AVR-ISP MKII. This device is able to program my ATmegas when connected to a Win32 PC running AVR Studio. So I have good evidence that the programming device works.

I have installed the OSX-AVR package (OSX-AVR-JAN07-PPC.dmg) from http://www.digithink.com/OSX-AVR/Introduction/Main on my Mac (PB12" PPC OS 10.4.10) and have used the avr-gcc/avrdude toolchain with success to compile and program an ATmega on an STK500 (through a Keyspan serial dongle). Of note, OSX-AVR installs the avr-gcc packages, libusb (libusb-0.1.4.4.4.dylib and friends) and avrdude compiled with libusb enabled.

Now, I would like to use avrdude to program an ATmega through the UsbProg connected to my Mac. I've read as much useful info as I can, but I'm stuck. I've tried thse command lines and get these error messages:

$ avrdude -p atmega8 -b 115200 -P usb -c avrispmkII -tuF
avrdude: usbdev_open(): did not find any USB device "usb"

$ avrdude -p atmega8 -P usb -c avrispmkII -tuF
avrdude: usbdev_open(): did not find any USB device "usb"

$ avrdude -p atmega8 -c avrispmkII -tuF
avrdude: ser_open(): can't open device "unknown": No such file or directory

So is my command line wrong? Do I need an up-to-date libusb? Or something else?

thanks,

!!Dean




reply via email to

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