I have some problems with USBasp in Windows 8.1 64bit.
First of all in device manager I have USBasp in libusb-win32 devices. When i tried to find chip via mkAVRCalc is no problem, chip has been found. When I tried to program chip via Arduino IDE (after choose programmer - usbasp) I have a problem with serial port. The program displays: "Board at COM6 is not available". I don't understand why. I heard that USBasp working via USB not COM. I can't change the COM port in ArduinoIDE because the option "PORTS" is not available.
I tried many version of drivers but no of that was working. (v1.2.2.0, v1.2.4.0, v.0.1.12.1)
Well about a month ago I bought a Windows 8.1 64 bit laptop. When I tried to install the driver for my USBasp programmer, windows complained about it not being a 'signed driver'. I researched the web and found a rather tiresome and time consuming procedure to temporarily disable the requirement for 'signed' drivers, and again tried it and it worked fine. I'm not very competent with Windows procedures so I can't talk you through the whole process, but can only report that it is possible for to get a USBasp programmer to work with windows 8.1 64 bit, so don't give up.
Upon rereading your posting, why are you trying to select a com port for a USB programmer? You just select the programmer type and then you can only do two things with the USBasp programmer from the IDE, either the "burn bootloader" option from the tools menu or the "upload sketch using programmer" in the File menu.
Only the more 'standard' method of upload sketch uses a com port to upload using a com port to an arduino board/chip that contains a bootloader to except the upload from the IDE via USB serial com port. 'Programmers' use ISP protocol to upload to a board via a six pin ISP connector.
You are right but the problem is that i try to use programmer with function 'upload sketch using programmer' from File menu but the Arduino IDE looking for com. I don't know why. The Photo from my previous post was take after using that function.
Few days ago I was using USBasp programmer with Windows 7 and there was USBasp on COM port, and is was working. Unfortunetly I can't come back to Win7
engine1992:
You are right but the problem is that i try to use programmer with function 'upload sketch using programmer' from File menu but the Arduino IDE looking for com. I don't know why. The Photo from my previous post was take after using that function.
Few days ago I was using USBasp programmer with Windows 7 and there was USBasp on COM port, and is was working. Unfortunetly I can't come back to Win7
Is any solution to slove this problem on Win8.1?
Sorry i can't help. I just don't ever have to select a com port when using a programmer and have never seen the behavior you are describing on my present win 8.1 or my older XP system. Are you sure you selected the proper programmer type in the tools menu before you performed the upload sketch using programmer option? I've never heard of a uSBasp on COM port. Maybe you have a very different kind of Usbasp programmer?
Chose option in File menu: "upload sketch using programmer" (photo 2)
After that i got massage in ArduinoIDE that COM6 is not available (photo 3)
On the bottom I have displayed "atmega328 on COM6" (photo 4). Earlier I connected atmega328 to PC via usbUART which is installed on COM6. But when i tried to program chip using USBasp, the usbUART is disconnected.
I don't understand why my programmer is working with mkAVRCalc but not with ArduinoIDE. Maybe is something wrong with files of ArduinoIDE (like programmers.txt or boards.txt)?