Problem of failed connection to Avrisp MKII and Solutions
Just see this:
Problem
Hello, I was attempting to write a program into the ATMEGA1284 using the programmer AVR-ISP-MK2 by Olimex with my windows 7 and windows 8 computers but the AtmelStudio can not read it.
The error message reads:
Unable to connect to tool AVRISP mkII (000200212345)
Timestamp: 2015–01–15 01:55:39.480
Severity: ERROR
ComponentId: 20100
StatusCode: 1
ModuleName: TCF (TCF command: Tool:connect failed.)
Solution
To fix this error:
- Download Zadig: http://zadig.akeo.ie/. Zadig is a USB driver manager for Windows, and saved me a hundred times this year. The last version comes with the libusb-win32 (v1.2.6.0) driver embedded.
- Open Zadig, Options, List All Devices. The AVRISP mkII device should appear in the list.
- Replace its current driver by libusb-win32 (v1.2.6.0)
That’s it! No restart required.
Let me know if somebody had the same issue and was able to solve it this way.
