I tried one more time. This is what i did:
- Connected programmer to USB port
- Chose example named "blink"
- Chose the programmer in ArduinoIDE (photo 1)
- 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)?



