Olimex Support Forum

Microcontrollers => AVR => Topic started by: OLimar on February 28, 2014, 07:56:09 PM

Title: AVRispmk|| Avrdude and AVRDUDE-IDE failure
Post by: OLimar on February 28, 2014, 07:56:09 PM
Hello
Please can anyonehelp me with the programmer?
Has anyone problems? in XP?
I updated the firmware for AVRDUDE, and installed the drivers; in the device manager it is visible, but when I try to read a given with AVRDUDE-GUI, I get the message that there is no usb port.
Any help is precious, there are 2 days that I'm arguing with the programmer  :-X
Thanks for any help, Marco
Title: Re: AVRispmk|| Avrdude and AVRDUDE-IDE failure
Post by: LubOlimex on April 30, 2014, 04:07:16 PM
Hey there,

Did you test with the simple command line AVRDUDE. Navigate ot the folder where the avrdude is located and test with a simple line like:

avrdude -p m328p -P usb -c avrispmkii -e -U flash:w:test.hex

,where

m328p is the name of the target processor taken from this list http://www.nongnu.org/avrdude/user-manual/avrdude_4.html (http://www.nongnu.org/avrdude/user-manual/avrdude_4.html)

test.hex is the binary code for your program

The fuses are left as per default or configured with fuse optional parameter.

Best regards,
Lub/OLIMEX
Title: Re: AVRispmk|| Avrdude and AVRDUDE-IDE failure
Post by: MCutie on May 28, 2014, 03:35:04 PM
Hello.

I have this problem too.

With "AVR456-studio-AVRISP-MKII" firmware and atmelstudio programmer work perfectly. When i'm update firmware to "libUSB-AVRISP-MKII" (without problems) and drivers to "LibUSB drivers" (without problems again) and trying to use avrdude:

avrdude -p m64 -P usb -c avrispmkii -e -U flash:w:myprogramm.hex

But all is i can see is

avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)

I'm trying different versions of avrdude from 5.11 to 6.1.

Maybe i'm do something wrong?

ps: sorry for my english :)
pps: and yes, i deleted previous versions of drivers.
Title: Re: AVRispmk|| Avrdude and AVRDUDE-IDE failure
Post by: MCutie on June 09, 2014, 07:41:12 AM
I need create new topic for answer?