USBasp driver problem

Go To Last Post
25 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi everyone, first post here on AVRfreaks :D

Up until recently I've been using my trusty old copy of windows XP to burn code to AVR's with a USBasp, avrdude 5.4 and AVRstudio 4. Recently I installed Windows 7 on my computer, and after re-installing AVRstudio and AVRdude, I found that AVRdude would no longer recognise my USBasp. and keeps coming up with "error: could not find USB device "USBasp" with vid=0x16c0 pid=0x5dc".

I was a bit confused for a moment before I realised that I hadn't yet installed the drivers for the USBasp. But here's the problem, Windows 7 refuses to accept that the drivers I'm offering it are drivers at all! It just says "Windows could not find driver software for your device" whenever I direct it to the folder where the drivers are.

can anyone suggest how to fix this? Google has turned up nothing upon searching for USBasp win7 drivers.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Ummm Joey. I just installed Windows 7 (64bit version), I'll race you to find a solution!
:-)

Conrad Braam - www.softcircuitry.blogspot.com - www.plcsimulator.org
Always start off poorly, that way when you finally figure it out, you can get a few surprise hits in.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Solution:
1. download driver from http://www.fischl.de/usbasp/
2. Plug in device, browse path to downlaoded files
3. Install fails... no worry.
4. download DSO version 3b from http://www.ngohq.com/home.php?pa...
5. Run it, and select "sign a driver". browse to the driver c:\windows\system32\drivers\libusb0.sys
6. Put DSO into test mode
7. Reboot - it (should) now work
I think you can skip step 5

Conrad Braam - www.softcircuitry.blogspot.com - www.plcsimulator.org
Always start off poorly, that way when you finally figure it out, you can get a few surprise hits in.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I installed driver on Windonws 7 without any problems. Windows accepted it without a warning. Try to download last version like Zaphodikus said.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Aurangozeb, Bangladesh.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have found an alternative solution as well.
1. after you install the driver and Windows 7 (64-bit) complains that it is not signed, reboot
2. tap the F8 key during the windows startup to get to the safe-boot options screen.
3. at the bottom of the list of boot options is the option to disable driver signing checks.

You will need to do this every time you want to use the driver. During this time it is possible to install all manner of dodgy unsigned drivers which can pollute your kernel, so be warned.
http://www.microsoft.com/whdc/wi...

At the moment I am embarking on a mission that may let me compile and self-sign... but I suspect it's doomed.

Conrad Braam - www.softcircuitry.blogspot.com - www.plcsimulator.org
Always start off poorly, that way when you finally figure it out, you can get a few surprise hits in.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hiiii... i`ve the same problem...
my USBasp work well on windows XP and windows 7 32 bit....
But... "couldn`t find driver software for your device"

I`ve tried what Zaphodikus's said...

But that cannot work in my PC.... please... help me...

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Try the newest version of libusb win32 library: http://sourceforge.net/projects/...

It worked for me - I was able to create cat and inf files and then use them for installation.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have tried making USBASP by downloading usbasp.2009-02-28 version, but it is not detecting the programmer.
I have done the followig steps:
1)Flash "bin/firmware/usbasp.atmega8.xxxx-xx-xx.hex"
2)Changed the fuse bits
3)used libusb0.dll and libusb0.sys files of version 0.1.10.1
4)I m using win-avr 20071221

When I connect the programmer to win Vista(32bit) or Win7(32 bit) and update the driver, it says "the folder does not contain driver compatible with the hardware"
It detects as an unknown device with no drivers.

I m using usbasp.inf file for driver version 0.1.10.1 and have tried using the latest version also. nothing seems to work for me.
Please help n suggest a solution asap.

[moderator note: I have deleted the two identical copies of this post you made. Cross posting is not permitted here and thread hijacking is also frowned upon though I'll grant you that this thread you hijacked has some relevance]

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

whisper_jet wrote:
It worked for me - I was able to create cat and inf files and then use them for installation.

Sorry, so does this mean I need to do something for the sys files?

Ive tried both methods in still get same error code as op.

("Windows could not find driver software for your device")

Im trying to get this to work, to be able to use this after our schools updates to windows 7. The version I use is one with ATmega8.

Thank you!

EDIT: Disrecard this message. I realised i just have to use the inf-wizard to get it installed.

Its hilarious to realise that you have used four hours and there was this simple answer. :)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

follow these steps to install the usbasp drivers on windows 7 for both 64bit and 32 bit platform

1)download the zipped folder LibUSB-64bitfrom the following link

http://sites.google.com/site/ope...

2)plug your USBasp programmer into the USB port

3)extract the file and browse to LibUSB-64bit\libusb-win32-bin-1.2.1.0\bin\x86

4)run inf-wizard.exe

5)Inf-wizard will start, click Next

6)select the device 'USBasp' from the lsit of devices shown and click next

7)make sure these values are associated with the give parameters before proceeding

vendor ID (hex format) = 0x16C0
product ID (hex format) = 0x05DC
mi (hex format) = leave it blank
manufacturer name = VOTI
device name = USBasp

then click next

8)save the information file '.inf' generated in

LibUSB-64bit\libusb-win32-bin-1.2.1.0\bin\amd64
(for 64 bit users)

LibUSB-64bit\libusb-win32-bin-1.2.1.0\bin\x86
(for 32 bit users)

9)click install now to install the driver

10)if a windows warning appears telling this driver is not verified , just click on 'install this driver software anyway'

11)once the driver completes installation saying 'installation successful' click ok

thats it! you are good to go!

note - im using 64 bit edition of windows ultimate and this procedure worked for me when all the others failed. i have not tested this procedure for 32 bit systems though.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Step by step instructions with screen shots are provided on the same site in chapter two for both 32-bit and 64-bit systems.
https://sites.google.com/site/op...

Troy Boswell

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm also using USBasp here. The only difference is the device I bought directly from China. Works well.

What I had to do is to install drivers by going to Device Manager -> Right click on your computer icon at the top -> Install Legacy hardware.

Worked on 32 and 64-bit versions of Windows 7. There is a package which has all the drivers too. I believe it uses standard USBasp drivers. You can search for ProgISP or PowerPrg. You should be able to get drivers and programmer software in one package.

Hope this helps.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I had try all the possible solutions and still not recognized my usbasp. My OS is Win7 64bit.

Can i do something else?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

alexisCY wrote:
I had try all the possible solutions and still not recognized my usbasp. My OS is Win7 64bit.

Can i do something else?

1) Change operating system

2) Change programmer

As you have tried ALL THE POSSIBLE SOLUTIONS, there is nothing left to try.

--greg
Still learning, don't shout at me, educate me.
Starting the fire is easy; the hardest part is learning how to keep the flame!

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello to all "Freaks".
I am what you call a newbie. Just writing my first code.
I have a problem. I installed the drivers for my usbasp for win7 64bit and windows recognize the usbasp. But when i am going to programm the chip it does not verify the chip and gives me this error: Chip differs at bytes adress:00000.
Checked again the drivers from device manager and there is nothing wrong.
Does anyone have any idea?
Thanks in advance
George

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

More likely a hardware problem than a driver issue. Double check all your connections and try again. If its a virgin AVR then you may need to use the Slow SCK setting, either using a jumper on the usbasp board or the avrdude -B (bit-clock) option.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I tried all SCK settings but still the same. Even the auto setting.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Does the green led blink when you attempt to program the chip? If it does then it's highly unlikely to be a driver problem.
For more help you are going to have to provide us with a bit more information. Like which avr model and what software you are using, for starters.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Yes a yellow led is blinking when I attempt to programm the chip.
I am using the bascom-avr software and the avr is the ATmega48.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

george.rambo wrote:
Yes a yellow led is blinking when I attempt to programm the chip.
I am using the bascom-avr software and the avr is the ATmega48.
Is it a virgin (never been programmed before) ATmega48?
How do you have everything hooked up? A schematic would be helpful.
Is the target self-powered or is the usbasp supplying power?

Sorry to say I have no experience whatsoever with bascom-avr.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have two variant of USBAsp device.

When I connect my first USBAsp device, the Device Manager shows USBAsp and everything goes fine. But one specific USB port, when I connect the device into that port, window shows

Quote:
USB Device not recognize

The Device Manager shows Unknown device under Universal Serial Bus Controller and the laptop keeps giving the di-dum sound seems like disconnecting and then reconnecting the device.

I have another variant of USBAsp device which works perfectly on that port.

I'm totally fooled at what happening on my first USBAsp device. I'm using Atmega8A with the latest USBAsp firmware.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Get USBDEview.exe to find out what's happening with USB enumeration.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It's not Driver problem, you have to upload sketch without bootloader into your MCU. Try this method, you will success. Thank you.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It's not Driver's problem, you have to upload sketch without bootloader into your MCU, Thank you.