Driver will not install: Unknown Device/Stopped Device (Code 43)

USB AVR Programmer and SPI interface. Adafruit's USBtinyISP.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
nick60
 
Posts: 19
Joined: Tue Aug 20, 2013 7:44 am

Driver will not install: Unknown Device/Stopped Device (Code 43)

Post by nick60 »

I built the USBtinyISP I purchased from Adafruit, but I cannot get the driver to install. I'm not sure my PC is recognizing it. The Green LED lights up and I receive the USB Device not Recognized message. When I go to Device Manager and try to install (any of) the drivers, I receive:

"The best driver software for your device is already installed
Windows has determined the driver software for your device is up to date.
Unknown device"

I have tried:
usbtinyisp_libusb-win32_1.2.1.0
usbtinyisp_win_driver_v1.10
and
usbtinyispw32driverv1.12

When I look at the properties in Device Manager the Hardware Id is USB\UNKNOWN

PC: ASUS G74SX-TS71
OS: Windows 7 Ultimate 64-bit

Why is Windows shutting down the USB port?
If the USB port is not enumerated, why does the Green LED illuminate?

Thanks,
Henry

User avatar
adafruit_support_bill
 
Posts: 88091
Joined: Sat Feb 07, 2009 10:11 am

Re: Driver will not install: Unknown Device/Stopped Device (Code 43)

Post by adafruit_support_bill »

"The best driver software for your device is already installed
Windows has determined the driver software for your device is up to date.
Unknown device"
Try uninstalling the existing driver first.

User avatar
nick60
 
Posts: 19
Joined: Tue Aug 20, 2013 7:44 am

Re: Driver will not install: Unknown Device/Stopped Device (Code 43)

Post by nick60 »

I have already tried Uninstalling (Advanced) the driver. It just shuts down the USB port and the USBtinyISP is no longer recognized and the Green LED no longer illuminates. Only a restart re-enables the USB port.

After rebooting, I tried this:
If your computer is a X86 64 bits system:
• go to the libusb-win32-bin-1.2.1.0\bin\x86 folder,
• rename the file libusb0_x86.dll to libusb0.dll,
• copy this new file in the c:\Windows\syswow64\ folder,
• copy the file libusb0.sys to the c:\Windows\system32\drivers\ folder,

But no change. Is usbtinyisp_libusb-win32_1.2.1.0 the correct driver package for Win7 64-bit on Intel i7?

I connected the USBtinyISP to my WinXP netbook and it is not even recognized and the Green LED does not illuminate.

User avatar
adafruit_support_bill
 
Posts: 88091
Joined: Sat Feb 07, 2009 10:11 am

Re: Driver will not install: Unknown Device/Stopped Device (Code 43)

Post by adafruit_support_bill »

If you uninstall the driver and plug in the USBTiny, does anything at all show up in Device Manager?
But no change. Is usbtinyisp_libusb-win32_1.2.1.0 the correct driver package for Win7 64-bit on Intel i7?
That s what I am running.

User avatar
nick60
 
Posts: 19
Joined: Tue Aug 20, 2013 7:44 am

Re: Driver will not install: Unknown Device/Stopped Device (Code 43)

Post by nick60 »

I un-installed the ASUS USB Charger utility as it showed up along with the driver on other working USB ports, but no change:

Device Manager -> Universal Serial Bus controllers -> Unknown Device -> Properties -> Details -> Property -> Problem code:
0000002B

Device Manager -> Universal Serial Bus controllers -> Unknown Device -> Properties -> Details -> Property -> DevNode status:
01806400
DN_HAS_PROBLEM
DN_DISABLEABLE
DN_REMOVABLE
DN_NT_ENUMERATOR
DN_NT_DRIVER

I connected the USBtinyISP to one of my Linux boxes and it's recognized:
/var/log/messages:
Aug 21 12:37:57 owl kernel: usb 4-2: new low speed USB device number 4 using uhci_hcd
Aug 21 12:37:57 owl kernel: usb 4-2: New USB device found, idVendor=1781, idProduct=0c9f
Aug 21 12:37:57 owl kernel: usb 4-2: New USB device strings: Mfr=0, Product=2, SerialNumber=0
Aug 21 12:37:57 owl kernel: usb 4-2: Product: USBtiny
Aug 21 12:37:57 owl kernel: usb 4-2: configuration #1 chosen from 1 choice
Aug 21 12:39:03 owl kernel: usb 4-2: USB disconnect, device number 4

I was also able to install the driver on my WinXP netbook and the USBtinyISP was recognized on one of my Win7 x64 desktops ;^)

What is going on with my ASUS laptop? I have VirtualBox and VMWARE installed. Could their USB hooks be causing this?

Device Manager on WinXP shows the firmware version as 01.04. I understand there's a version 1.05. Is there also a version 2.0? How can I get a v1.05 oe v2.0 ATtiny 2313?

Thanks,
Henry

User avatar
adafruit_support_bill
 
Posts: 88091
Joined: Sat Feb 07, 2009 10:11 am

Re: Driver will not install: Unknown Device/Stopped Device (Code 43)

Post by adafruit_support_bill »

What kind of USB ports do you have on your Asus? We've seen some issues where USB 3.0 ports are not backwards compatible with all devices. If you have some 2.0 ports on the box try those. Otherwise, sometimes the problem can be worked around using a USB 2.0 hub between the 3.0 port and the device.

User avatar
nick60
 
Posts: 19
Joined: Tue Aug 20, 2013 7:44 am

Re: Driver will not install: Unknown Device/Stopped Device (Code 43)

Post by nick60 »

I have 1 USB 3.0 port and I'm NOT using it.

Shouldn't I have version 1.05 or 2.0 of the firmware?

User avatar
adafruit_support_bill
 
Posts: 88091
Joined: Sat Feb 07, 2009 10:11 am

Re: Driver will not install: Unknown Device/Stopped Device (Code 43)

Post by adafruit_support_bill »

Not sure which version number your system is reporting. Although the board & kit is rev 2.0, the firmware is at rev 1.3. The last update was in 2006-12-15.

Firmware Change Log: http://learn.adafruit.com/usbtinyisp/download

Code: Select all

2006-03-12 version 1.0

o Initial release.


2006-03-31 version 1.1

o Updated patches/avrdude-5.1.diff. The modifications to Makefile.in
  are now included, so that automake1.9 is not needed to build avrdude.

o Changed the dependencies in utils/Makefile so that it will restart
  after a compilation failure.

o Shaved off a couple of instructions in usbtiny/usb.c. The code now
  fits in 2K when compiled with gcc-4.0.2, provided USBTINY_VENDOR_NAME
  and USBTINY_DEVICE_NAME are undefined. Gcc-4.0.2 produces about 10%
  more code than gcc-3.4.3!


2006-07-12 version 1.2

o Moved the original SPI application to the spi/ subdirectory, and
  added a new IR receiver and LCD controller application in the ir/
  subdirectory.

o Added an optional additional endpoint (for the ir application).

o Reduced the size of the spi application by a couple of bytes.

o Converted the usbtiny.py script to a Python module that defines
  a class USBtiny. Added test scripts to both application directories
  that use this class.

o Created a common make include file for the applications, and a global
  Makefile that recursively runs make in all subdirectories.


2006-12-15 version 1.3

o Commented out the USBTINY_VENDOR_NAME/USBTINY_DEVICE_NAME macros,
  to make the code fit when compiled with gcc-4.1.0, which seems to
  be the standard version in most distributions these days.

o Added a pull-down resistor in the ir schematic to avoid a hang in
  the LCD initialization code when no LCD is attached. The LCD code
  can now be disabled by defining LCD_PRESENT as 0.

o The 1K5 pullup of the ir application is now controlled by an I/O pin,
  so that the device disappears from the USB bus when it is flashed
  in-circuit, and is automatically recognized when it comes out of RESET
  (idea from Reinhard Max).

o Updated lirc patch with a gap calculation fix from Reinhard Max.

o Fixed some build problems of the libusb python wrapper, and added
  proper error reporting.

o Made the flash and SRAM sizes configurable in the Makefile.


User avatar
nick60
 
Posts: 19
Joined: Tue Aug 20, 2013 7:44 am

Re: Driver will not install: Unknown Device/Stopped Device (Code 43)

Post by nick60 »

Thanks.

I don't have one, but I will get a USB hub and see what happens.

Henry

SB555
 
Posts: 11
Joined: Tue Sep 03, 2013 2:04 pm

Re: Driver will not install: Unknown Device/Stopped Device (Code 43)

Post by SB555 »

If you haven't found a solution yet, maybe check my thread, I had the exact same problem and found a solution.

Mason1
 
Posts: 1
Joined: Sun Feb 16, 2014 7:01 am

Re: Driver will not install: Unknown Device/Stopped Device (

Post by Mason1 »

I have also had this problem with my windows 7 system and my 1st idea was to take a big hammer and smah the trinket to bits!!...;-) Sorry for that....... But... after being very stubborn and trying to make this work i found the solution... it was first installing a program named: readydriverplus.. no more problems with drivers that are not "signed".. then i found out that the trinket does not go into bootloader mode if there is an external power source connected to the trinket.. third of all... my pc only recognized the trinket when it is in bootloader mode (after pressing te reset button and the led starts flashing..) then uploading was not a problem... in short.... when i connect my trinket it will go into bootloader mode for 10 secceonds and it is being recognized by my pc... after that when it starts running it's program (or after succesfully uploading a program) the pc does no longer recognizes it... Please ignore the message.. It has cost me a few hours to find out that it was actually working fine when it matterd,,Grrrrr whahaha, sorry;-) I am a mechanical engineer who only knows Ohm's law..... no electronic background what so ever.. the only progamming i have experience with is a cnc machine.... Hence the first thought of the hammer;-) I mave have posted a rather negative post about this trinket involving a hammer :-$ (wich i removed btw...) after succeeding, I have turned into a Big fan of the site, the hardware and all the projects... I have allready succesfully used arduino boards to program stepper motors and led chasers to work with some of my own mechanical projects and i am now building a clock controlled by a trinket....

Locked
Please be positive and constructive with your questions and comments.

Return to “USBtinyISP”