Skip to content

Supplied avrdude (v6.3) does not work with USBasp #5942

New issue

Have a question about this project? No Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “No Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? No Sign in to your account

Closed
mozgy opened this issue Feb 2, 2017 · 2 comments
Closed

Supplied avrdude (v6.3) does not work with USBasp #5942

mozgy opened this issue Feb 2, 2017 · 2 comments

Comments

@mozgy
Copy link

mozgy commented Feb 2, 2017

Supplied avrdude ->

  -?                         Display this usage.

avrdude version 6.3, URL: <http://savannah.nongnu.org/projects/avrdude/>

C:\Program Files (x86)\Arduino\hardware\tools\avr\etc>..\bin\avrdude.exe -c usba
sp -p t85 -B 46.88

avrdude.exe: set SCK frequency to 16000 Hz
avrdude.exe: warning: cannot set sck period. please check for usbasp firmware up
date.
avrdude.exe: error: program enable: target doesn't answer. 0
avrdude.exe: initialization failed, rc=-1
             Double check connections and try again, or use -F to override
             this check.


avrdude.exe done.  Thank you.

Savannah avrdude ->

  -?                         Display this usage.

avrdude version 6.3, URL: <http://savannah.nongnu.org/projects/avrdude/>

C:\tmpavr>avrdude.exe -c usbasp -p t85 -B 46.88

avrdude.exe: set SCK frequency to 16000 Hz
avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.03s

avrdude.exe: Device signature = 0x1e930b (probably t85)

avrdude.exe: safemode: Fuses OK (E:FF, H:DF, L:62)

avrdude.exe done.  Thank you.
@per1234
Copy link
Collaborator

per1234 commented Feb 3, 2017

Looks like it could be arduino/avrdude-build-script#1

Please do the following:

  1. Plug in the USBasp to your computer.
  2. Start Menu > Control Panel > Device Manager
  3. Find the USBasp device and double click on it
  4. Click the Driver tab
  5. Write down the Driver Provider and Driver Version
  6. If you're not already using it, install the libusbK driver. I used Zadig following the directions here: avrdude 6.3.0-arduino2 incompatible with USBasp using libusb-win32 driver avrdude-build-script#1 (comment) but I'm sure that's not the only way.
  7. Try using your USBasp with the version of AVRDUDE 6.3 supplied with the Arduino IDE
  8. If that fixes the problem please post the Driver Provider and Driver Version that you were using before you changed to libusbK on the issue: avrdude 6.3.0-arduino2 incompatible with USBasp using libusb-win32 driver avrdude-build-script#1. Thanks!

@facchinm
Copy link
Member

facchinm commented Feb 7, 2017

As suggested by @per1234 , let's move the conversation to arduino/avrdude-build-script#1 , thanks!

@facchinm facchinm closed this as completed Feb 7, 2017
No Sign up for free to join this conversation on GitHub. Already have an account? No Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants