AVRISP MKII serial or USB?

Go To Last Post
2 posts / 0 new
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

So, i have this AVRISP Clone.

I first tried to use it on Win10 and Arduino, but no success.

Avrdude complains about not finding a device named USB... ...or so.

I have tried a bunch of different drivers installed via ZADIG, etc.

I did also try to get it recognized in AVRStudio, but no luck either. I don't remember the details on what i did there.

So it was laying around for a while. I know i should just get an original programmer.

But as i hate when things don't work, especially if i don't get why, i thought i should try it under Linux.

Maybe it works better there, without all the Windows driver confusion.

Using the arduino IDE on Lubuntu i got the same error.

So then i watched the dmesg output:

[Jan28 13:14] usb 4-1: new full-speed USB device number 7 using uhci_hcd
[  +0.178127] usb 4-1: New USB device found, idVendor=067b, idProduct=2303
[  +0.000005] usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  +0.000004] usb 4-1: Product: USB-Serial Controller
[  +0.000003] usb 4-1: Manufacturer: Prolific Technology Inc.
[  +0.003048] pl2303 4-1:1.0: pl2303 converter detected
[  +0.013081] usb 4-1: pl2303 converter now attached to ttyUSB0

Aha... it offers a serial port, not USB...

So i copied the avrdude command from the Arduino IDE to the commandline, and replaced usb for /dev/ttyUSB0:

avrdude -C/usr/share/arduino/hardware/tools/avrdude.conf -v -v -v -v -patmega328p -cstk500v2 -P/dev/ttyUSB0 -Uflash:w:/tmp/build8082124423494511111.tmp/BlinkWithoutDelay.cpp.hex:i

And... It worked!

Next i edited  the programmer definition in /usr/share/arduino/hardware/arduino/programmers.txt and now, all is good...
Only, i don't get WHY! And off course, i want to be able to use the programmer also on win10, and possibly on different machines, with different Software, without first having to modify config...


Is this typical for clones? Can it be changed?

The ebay listing talks about Firmware upgradability... This can only be done through AVRStudio?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

sirtet wrote:
I know i should just get an original programmer.
Atmel AVRISP mkII, Microchip CPN ATAVRISP2, may still be in-stock though apparently only at the EOL/NRND distributors.

The clone, the clones, and function-likes (via Dean's LUFA AVRISP2) may or will have differing behavior than Atmel's though should be able to be adapted.

IIRC, the Windows driver for LUFA AVRISP2 was signed by the ones at Atmel; libusb for Linux, BSD, etc.

sirtet wrote:
Aha... it offers a serial port, not USB...
virtual serial port; iow, COM in Windows 10 WinUSB for USB CDC ACM.

sirtet wrote:
And... It worked!
Well done!

sirtet wrote:
Is this typical for clones?

sirtet wrote:
Can it be changed?
Consider either the clone (ie there's one) or LUFA AVRISP2; LUFA has several to many instances, is FLOSS, one (more?) is OSHW.

sirtet wrote:
The ebay listing talks about Firmware upgradability... This can only be done through AVRStudio?
Can't answer as I didn't read the documentation for that; a concern is PL2303 may not be compatible with the USB device controller IC in an Atmel AVRISP mkII.

Can try Prolific's Windows driver.

AVR Studio goes via Jungo to get to Windows XP USB interface.


Can I Get a Genuine Atmel AVRISP MKII? | Blog | Kanda



lufa/Projects/AVRISP-MKII at master · abcminiuser/lufa · GitHub

What is new with Serial in Windows 10 - Microsoft Tech Community - 270855

[1/4 page]

1.   Improved Serial over USB driver support in Windows 10


AVR-ISP-MK2 - Open Source Hardware Board (edit : Olimex)

PL2303 :

Prolific USA | IC Design & Manufacturing in Newfoundland Canada though should be able to reach Prolific HQ in Taiwan from there.


USB AVRISP XPII, AVR Programmer | Waveshare

East :

Waveshare USB AVRISP XPII AVR ISP Programmer compatible with AT AVRISP mkII from ATMEL professional In System Programmer-in Demo Board from Computer & Office on Aliexpress.com | Alibaba Group

West :

Waveshare AVR Programmer USB AVRISP XPII for AVR devices with ISP/PDI interface 700646946136 | eBay


edit : strikethru


"Dare to be naïve." - Buckminster Fuller

Last Edited: Fri. Nov 27, 2020 - 03:07 PM