USBasp and Arduino IDE 1.8.5 - Page 1
Forum section: electronics / general

author: John B
author_rank: Frequent Contributor
timestamp: April 28, 2018, 09:45:12 pm
content: I am trying to get one of those cheapo USBasp devices to work with the Arduino 1.8.5 IDE and Windows 8.1. However I cannot get the Arduino IDE to recognise the device.Firstly, I have (successfully) tried installing several drivers, by disabling driver signing enforcement. I have tried the drivers libusb-win32 1.2.4, 1.2.5, 1.2.6 as well as libusbK 3.0.7.0However, every time I use the Upload Using Programmer function in the Arduino IDE, I get the following message:QuoteWith any of the drivers, the VID and PID match the values above, nor do I get any errors from the device manager, ie "This device is working properly." Even when using the drivers fromwww.fischl.de, it wont work despite it matching all descriptions exactly. Alas the software just won't recognise the device. Any ideas?

author: iMo
author_rank: Super Contributor
timestamp: April 28, 2018, 10:04:09 pm
content: For example with Win7:Also zadig installer helps with installing the drivershttps://zadig.akeo.ie/Use usb 2.0 port with usbasp.

author: obiwanjacobi
author_rank: Super Contributor
timestamp: April 29, 2018, 06:23:24 am
content: Are you sure the driver is installed properly?I seem to remember you need to disable the check for digital signing of the driver. That setting is buried somewhere deep, not sure about Windows 8, but in Windows 10 you need to do a special restart trick (was it hold shift then click restart?) to get in these config settings...Almost all cheapo TTL-USB chip drivers are NOT signed.

author: +Mikie
author_rank: Contributor
timestamp: July 26, 2018, 03:26:27 pm
content: If you bought your USBasp from China, and it has a nice coloured aluminium case - it is not a USBasp, but a weird Chinese MX-USB programmer. The circuit is almost the same, but they did their own thing for it to show up as a HID device so it wouldn't need a specific driver.There is a way to flash a modified USBasp firmware to it and make it into a proper USBasp. I just did it, it isn't hard.

author: mtdoc
author_rank: Super Contributor
timestamp: July 26, 2018, 05:32:23 pm
content: Which USB - serial chip is the device using?

author: +Mikie
author_rank: Contributor
timestamp: July 27, 2018, 04:36:09 am
content: Quote from: mtdoc on July 26, 2018, 05:32:23 pmNone. USBasp has ATMega8, 8A or 88 inside. Connects over USB to SPI on the target.https://www.fischl.de/usbasp/Chinese "MX" copy/modification:http://irq5.io/2017/07/25/making-usbasp-chinese-clones-usable/(3 more links to the subject on that page)

author: westfw
author_rank: Super Contributor
timestamp: July 27, 2018, 05:06:18 am
content: "I have heard" that modern USB controllers are getting increasingly unhappy with the non-conforming parts of the V-USB (bit-banged software USB stack) firmware that the USBASP programmers use.Folks might be better off with an Arduino Nano set up to permanently run the "Arduino As ISP" sketch (at least if that breaks, you can add as much additional debugging as you might want, and easily make your own changes.)

author: mtdoc
author_rank: Super Contributor
timestamp: July 27, 2018, 08:42:39 am
content: Quote from: +Mikie on July 27, 2018, 04:36:09 amDoh! Of course. I knew that. I even own one.Haven't used in a while...Quote from: westfw on July 27, 2018, 05:06:18 amGood idea!