Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AVR-Doper support is broken since version 6.4 #1626

Open
Nibi-git opened this issue Jan 19, 2024 · 17 comments
Open

AVR-Doper support is broken since version 6.4 #1626

Nibi-git opened this issue Jan 19, 2024 · 17 comments
Labels
bug Something isn't working

Comments

@Nibi-git
Copy link

Nibi-git commented Jan 19, 2024

Hello!
I'm using an old USB HID programmer Avrdoper https://www.obdev.at/products/vusb/avrdoper.html
with VID_16C0&PID_05DF&REV_0100
Typically the command line to use it looks like this:
avrdude -c stk500v2 -F -P avrdoper -p m48p -B 20 ... and hex, fuses...
For a long time I successfully used the version 6.3 of avrdude, but then I tried all newer versions and got an error.
In this case, the LEDs on the programmer board blink, but the operation ends with an error.

avrdude error: I/O Error
avrdude error: timeout
avrdude error: 
avrdude error: I/O Error
avrdude error: timeout
avrdude error: 
avrdude error: I/O Error
avrdude error: timeout
avrdude error: 
avrdude error: I/O Error
avrdude error: timeout
avrdude error: 
avrdude error: I/O Error
avrdude error: timeout
avrdude error: 
avrdude error: I/O Error
avrdude error: timeout
avrdude error: timeout communicating with programmer
avrdude error: failed to execute command 0x11
avrdude error: unable to leave programming mode

avrdude done.  Thank you.

I added detailed logs of using different versions of Avrdude with minor modifications in the command line
Tried the old version 6.3 and new 7.2 and nightly
log file name contains command line options and avrdude version

ok(avrdude-6.3-mingw32):
avrdude -c stk500v2 -P avrdoper -p m48p -vvvv -l 6.3_avrdude_-c_stk500v2_-P_avrdoper_-p_m48p.log
avrdude -c stk500v2 -P avrdoper -p m48p -F -vvvv -l 6.3_avrdude_-c_stk500v2_-P_avrdoper_-p_m48p_-F.log
avrdude -c stk500v2 -P avrdoper -p m48p -B 20 -vvvv -l 6.3_avrdude_-c_stk500v2_-P_avrdoper_-p_m48p_-B_20.log
avrdude -c stk500v2 -P avrdoper -p m48p -F -B 20 -vvvv -l 6.3_avrdude_-c_stk500v2_-P_avrdoper_-p_m48p_-F_-B_20.log

blink leds (avrdude-v7.2-windows-x86):
avrdude -c stk500v2 -P avrdoper -p m48p -vvvv -l 86_7.2_avrdude_-c_stk500v2_-P_avrdoper_-p_m48p.log
avrdude -c stk500v2 -P avrdoper -p m48p -F -vvvv -l 86_7.2_avrdude_-c_stk500v2_-P_avrdoper_-p_m48p_-F.log

NOT blink leds (avrdude-v7.2-windows-x86):
avrdude -c stk500v2 -P avrdoper -p m48p -B 20 -vvvv -l 86_7.2_avrdude_-c_stk500v2_-P_avrdoper_-p_m48p_-B_20.log
avrdude -c stk500v2 -P avrdoper -p m48p -F -B 20 -vvvv -l 86_7.2_avrdude_-c_stk500v2_-P_avrdoper_-p_m48p_-F_-B_20.log

blink leds (avrdude-v7.2-windows-x64)
avrdude -c stk500v2 -P avrdoper -p m48p -vvvv -l 64_7.2_avrdude_-c_stk500v2_-P_avrdoper_-p_m48p.log
avrdude -c stk500v2 -P avrdoper -p m48p -F -vvvv -l 64_7.2_avrdude_-c_stk500v2_-P_avrdoper_-p_m48p_-F.log

ALSO blink leds (avrdude-v7.2-windows-x64):
avrdude -c stk500v2 -P avrdoper -p m48p -B 20 -vvvv -l 64_7.2_avrdude_-c_stk500v2_-P_avrdoper_-p_m48p_-B_20.log
avrdude -c stk500v2 -P avrdoper -p m48p -F -B 20 -vvvv -l 64_7.2_avrdude_-c_stk500v2_-P_avrdoper_-p_m48p_-F_-B_20.log

not blink leds (nightly mingw 7.2-20240110 (a336e47)):
avrdude -c stk500v2 -P avrdoper -p m48p -vvvv -l nightly_mingw_avrdude_-c_stk500v2_-P_avrdoper_-p_m48p.log
avrdude -c stk500v2 -P avrdoper -p m48p -F -vvvv -l nightly_mingw_avrdude_-c_stk500v2_-P_avrdoper_-p_m48p_-F.log
avrdude -c stk500v2 -P avrdoper -p m48p -B 20 -vvvv -l nightly_mingw_avrdude_-c_stk500v2_-P_avrdoper_-p_m48p_-B_20.log
avrdude -c stk500v2 -P avrdoper -p m48p -F -B 20 -vvvv -l nightly_mingw_avrdude_-c_stk500v2_-P_avrdoper_-p_m48p_-F_-B_20.log

not blink leds (nightly msvc 7.2-20240110 (a336e47)):
avrdude -c stk500v2 -P avrdoper -p m48p -vvvv -l nightly_msvc_avrdude_-c_stk500v2_-P_avrdoper_-p_m48p.log
avrdude -c stk500v2 -P avrdoper -p m48p -F -vvvv -l nightly_msvc_avrdude_-c_stk500v2_-P_avrdoper_-p_m48p_-F.log
avrdude -c stk500v2 -P avrdoper -p m48p -B 20 -vvvv -l nightly_msvc_avrdude_-c_stk500v2_-P_avrdoper_-p_m48p_-B_20.log
avrdude -c stk500v2 -P avrdoper -p m48p -F -B 20 -vvvv -l nightly_msvc_avrdude_-c_stk500v2_-P_avrdoper_-p_m48p_-F_-B_20.log

avrdude_logs.zip

I'm using the native driver from Microsoft
OS: Windows 10 IoT Enterprise 10.0.19044 LTSC
PART: Atmmega48p
Connected via ISP

So for now I'm back to the old version 6.3 again.
Is it possible to fix this problem?
Best regards, Roman

@mcuee mcuee added the unconfirmed Maybe a bug, needs to be reproduced by someone else label Jan 20, 2024
@mcuee
Copy link
Collaborator

mcuee commented Jan 20, 2024

Please provide more details of the issue as per the following Wiki FAQ entry.
https://github.com/avrdudes/avrdude/wiki/FAQ#how-to-report-an-issue-to-avrdude-project

Please post the full debug log with -vvvv which will help in this case.

Are you using Windows? If this is an USB HID device, please do not use libusb-win32 device driver and use Windows native HID driver to see if that works.

Reference:
https://www.obdev.at/products/vusb/avrdoper.html

@Nibi-git
Copy link
Author

Nibi-git commented Jan 20, 2024

Hello!
Thanks for the answer! I updated the first post, added more detailed logs and information about the OS.
What I noticed is that the 7.2 x64 version at least correctly detects the MCU:
avrdude: device signature = 0x1e920a (probably m48p)
all others - no

@mcuee
Copy link
Collaborator

mcuee commented Jan 20, 2024

I assume you are using the native Windows USB HID driver as the original CDC-ACM version will not work under Wndows 10.
https://www.obdev.at/products/vusb/avrdoper.html
http://www.recursion.jp/prose/avrcdc/

Looking at the debug log, latest git is complete broken for this old programmer.

But then the support may already be broken a few years back since you mention that avrdude 6.4 already does not work. So I expect this may not be an easy issue to fix.
https://github.com/avrdudes/avrdude/commits/main/src/ser_avrdoper.c

@mcuee mcuee added bug Something isn't working and removed unconfirmed Maybe a bug, needs to be reproduced by someone else labels Jan 20, 2024
@mcuee
Copy link
Collaborator

mcuee commented Jan 20, 2024

@MCUdude and @stefanrueger

If we compare the debug log of 7.2 release vs git main, there is a regression.

But then 7.2 does not work either. So we may be able to live with it for the upcoming avrdude 7.3 release.

@dl8dtl
Copy link
Contributor

dl8dtl commented Jan 20, 2024

But then the support may already be broken a few years back

Since he mentioned it's broken since 6.4, the most obvious change in the 6.4 NEWS file is:

" * Major changes compared to the previous version:

- libhidapi support (part of patch #8717)"

So I'd assume that eventually broke AVRdoper back then.

@stefanrueger
Copy link
Collaborator

So I'd assume that eventually broke AVRdoper back then.

Anything that can be done? @mcuee @MCUdude

@mcuee
Copy link
Collaborator

mcuee commented Jan 30, 2024

So I'd assume that eventually broke AVRdoper back then.

Anything that can be done? @mcuee @MCUdude

Unfortunately I do not think I can do much without the physical programmer.

@MCUdude
Copy link
Collaborator

MCUdude commented Jan 31, 2024

Sorry, I don't have any avrdoper hardware either.
However, one alternative would be to compile the firmware to run on USBasp hardware.

@Nibi-git
Copy link
Author

Nibi-git commented Jan 31, 2024

alternative would be to compile the firmware

I have ready-made firmware for the сhinese USBasp v2.0 board. I'll send it in the evening

@Nibi-git
Copy link
Author

Nibi-git commented Feb 1, 2024

The archive contains the compiled main.hex and sources. The firmware is configured to use the HID interface.
Atmega8, 12 Mhz
firmware.zip
IMG_20240201_132008
IMG_20240201_132020

@mcuee
Copy link
Collaborator

mcuee commented Feb 2, 2024

@Nibi-git
Your firmware build seems to work on my USBASP clone with ATmega8A. And I can confirm this is a bug.

avrdude 6.3 release works fine.

C:\work\avr\avrdude_test\avrdude_bin\bin_misc\avrdude-6.3-mingw32> 
.\avrdude -c stk500v2 -P avrdoper -p m328p

avrdude.exe: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.03s

avrdude.exe: Device signature = 0x1e950f (probably m328p)

avrdude.exe: safemode: Fuses OK (E:FD, H:DF, L:F7)

avrdude.exe done.  Thank you.

git main does not work. It is quite broken for this avrdoper programmer.

C:\work\avr\avrdude_test\avrdude_bin> .\avrdude_git -c stk500v2 -P avrdoper -p m328p -vvvv

avrdude_git: Version 7.2-20240201 (571a8063)
             Copyright the AVRDUDE authors;
             see https://github.com/avrdudes/avrdude/blob/main/AUTHORS

             System wide configuration file is C:\work\avr\avrdude_test\avrdude_bin\avrdude.conf

             Using port            : avrdoper
             Using programmer      : stk500v2
avrdude_git usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude_git avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude_git main() [main.c:1405] error: unable to open port avrdoper for programmer stk500v2
Possible candidate serial ports are:
  -P COM3
  -P COM6 or -P ch340
Note that above ports might not be connected to a target board or an AVR programmer.
Also note there may be other direct serial ports not listed above.

avrdude_git done.  Thank you.

avrdude 7.2 does not work either, but not as broken as git main.

C:\work\avr\avrdude_test\avrdude_bin\bin_misc\avrdude-v7.2-windows-x64> .\avrdude -c stk500v2 -P avrdoper -p m328p
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: timeout communicating with programmer
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: timeout communicating with programmer
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: timeout communicating with programmer
avrdude: AVR device initialized and ready to accept instructions
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: timeout communicating with programmer
avrdude: device signature = 0x1e950f (probably m328p)
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude error: I/O Error
avrdude error: timeout
avrdude error: timeout communicating with programmer

avrdude done.  Thank you.

Same for avrdude 6.4.

C:\work\avr\avrdude_test\avrdude_bin\bin_misc\avrdude-6.4-mingw32> .\avrdude -c stk500v2 -P avrdoper -p m328p
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_getsync(): timeout communicating with programmer
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.

Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: AVR device initialized and ready to accept instructions

Reading |                                                    | 0% 0.00sError sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_getsync(): timeout communicating with programmer
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_getsync(): timeout communicating with programmer
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_getsync(): timeout communicating with programmer
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_getsync(): timeout communicating with programmer
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_getsync(): timeout communicating with programmer
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_getsync(): timeout communicating with programmer
avrdude.exe: stk500v2_command(): failed miserably to execute command 0x1b
avrdude.exe: stk500isp_read_byte(): timeout/error communicating with programmer
avr_read(): error reading address 0x0000
    read operation not supported for memory "signature"
avrdude.exe: error reading signature data for part "ATmega328P", rc=-2
avrdude.exe: error reading signature data, rc=-2
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_getsync(): timeout communicating with programmer
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_getsync(): timeout communicating with programmer
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_getsync(): timeout communicating with programmer
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_getsync(): timeout communicating with programmer
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_getsync(): timeout communicating with programmer
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
Error sending message: T
avrdude.exe: avrdoperFillBuffer(): I/O Error.
avrdude.exe: stk500v2_ReceiveMessage(): timeout
avrdude.exe: stk500v2_getsync(): timeout communicating with programmer
avrdude.exe: stk500v2_command(): failed miserably to execute command 0x11
avrdude.exe: stk500v2_disable(): failed to leave programming mode

avrdude.exe done.  Thank you.

BTW, forked version of avrdude 6.3 from Arduino does not work.
https://github.com/arduino/avrdude-build-script/releases

@mariusgreuel's avrdude 6.3 Windows fork also does not work.
https://github.com/mariusgreuel/avrdude/releases

@mcuee
Copy link
Collaborator

mcuee commented Feb 2, 2024

Hello! Thanks for the answer! I updated the first post, added more detailed logs and information about the OS. What I noticed is that the 7.2 x64 version at least correctly detects the MCU: avrdude: device signature = 0x1e920a (probably m48p) all others - no

Hmm, I can not even get that to work with avrdude 7.2 release. BTW, adding -F does not help either.

C:\work\avr\avrdude_test\avrdude_bin\bin_misc\avrdude-v7.2-windows-x64>
 .\avrdude -c stk500v2 -P avrdoper -p m328p -vvvv

avrdude: Version 7.2
         Copyright the AVRDUDE authors;
         see https://github.com/avrdudes/avrdude/blob/main/AUTHORS

         System wide configuration file is C:\work\avr\avrdude_test\avrdude_bin\bin_misc\avrdude-v7.2-windows-x64\avrdude.conf

         Using Port                    : avrdoper
         Using Programmer              : stk500v2
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
Send: 7 bytes: 1b 01 00 01 0e 01 14  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 01 00 01 0e 01 14  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 01 00 01 0e 01 14  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 01 00 01 0e 01 14  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 01 00 01 0e 01 14  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 01 00 01 0e 01 14  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
avrdude stk500v2_getsync() [stk500v2.c:789] error: timeout communicating with programmer
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
         AVR Part                      : ATmega328P
         Chip Erase delay              : 9000 us
         PAGEL                         : PD7
         BS2                           : PC2
         RESET disposition             : possible i/o
         RETRY pulse                   : SCK
         Serial program mode           : yes
         Parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                           Block Poll               Page                       Polled
           Memory Type Alias    Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom                 65    20     4    0 no       1024    4      0  3600  3600 0x00 0x00
                                           Block Poll               Page                       Polled
           Memory Type Alias    Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           flash                  65    10   128    0 yes     32768  128    256  4500  4500 0x00 0x00
                                           Block Poll               Page                       Polled
           Memory Type Alias    Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           lfuse                   0     0     0    0 no          1    1      0  4500  4500 0x00 0x00
                                           Block Poll               Page                       Polled
           Memory Type Alias    Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           hfuse                   0     0     0    0 no          1    1      0  4500  4500 0x00 0x00
                                           Block Poll               Page                       Polled
           Memory Type Alias    Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           efuse                   0     0     0    0 no          1    1      0  4500  4500 0x00 0x00
                                           Block Poll               Page                       Polled
           Memory Type Alias    Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           lock                    0     0     0    0 no          1    1      0  4500  4500 0x00 0x00
                                           Block Poll               Page                       Polled
           Memory Type Alias    Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           signature               0     0     0    0 no          3    1      0     0     0 0x00 0x00
                                           Block Poll               Page                       Polled
           Memory Type Alias    Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- -------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           calibration             0     0     0    0 no          1    1      0     0     0 0x00 0x00

         Programmer Type : STK500V2
         Description     : Atmel STK500 version 2.x firmware
         Programmer Model: STK500
Send: 8 bytes: 1b 01 00 02 0e 03 90 85  "........"
Sending 8 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 01 00 01 0e 01 14  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 01 00 01 0e 01 14  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 01 00 01 0e 01 14  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 01 00 01 0e 01 14  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 01 00 01 0e 01 14  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 01 00 01 0e 01 14  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
avrdude stk500v2_getsync() [stk500v2.c:789] error: timeout communicating with programmer
Send: 8 bytes: 1b 01 00 02 0e 03 90 85  "........"
Sending 8 bytes data chunk
Received 29 bytes data chunk of total 9
Receive: 1 bytes: 1b  "."
Receive: 1 bytes: 01  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 03  "."
Receive: 1 bytes: 0e  "."
Receive: 1 bytes: 03  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 01  "."
Receive: 1 bytes: 15  "."
Send: 8 bytes: 1b 02 00 02 0e 03 91 87  "........"
Sending 8 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 02 00 01 0e 01 17  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 02 00 01 0e 01 17  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 02 00 01 0e 01 17  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 02 00 01 0e 01 17  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 02 00 01 0e 01 17  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 02 00 01 0e 01 17  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
avrdude stk500v2_getsync() [stk500v2.c:789] error: timeout communicating with programmer
Send: 8 bytes: 1b 02 00 02 0e 03 91 87  "........"
Sending 8 bytes data chunk
Received 29 bytes data chunk of total 9
Receive: 1 bytes: 1b  "."
Receive: 1 bytes: 02  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 03  "."
Receive: 1 bytes: 0e  "."
Receive: 1 bytes: 03  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 02  "."
Receive: 1 bytes: 15  "."
Send: 8 bytes: 1b 03 00 02 0e 03 92 85  "........"
Sending 8 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 03 00 01 0e 01 16  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 03 00 01 0e 01 16  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 03 00 01 0e 01 16  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 03 00 01 0e 01 16  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 03 00 01 0e 01 16  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 03 00 01 0e 01 16  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
avrdude stk500v2_getsync() [stk500v2.c:789] error: timeout communicating with programmer
Send: 8 bytes: 1b 03 00 02 0e 03 92 85  "........"
Sending 8 bytes data chunk
Received 29 bytes data chunk of total 9
Receive: 1 bytes: 1b  "."
Receive: 1 bytes: 03  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 03  "."
Receive: 1 bytes: 0e  "."
Receive: 1 bytes: 03  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 04  "."
Receive: 1 bytes: 12  "."
         Hardware Version: 1
         Firmware Version Controller : 2.04
Send: 8 bytes: 1b 04 00 02 0e 03 9a 8a  "........"
Sending 8 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 04 00 01 0e 01 11  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 04 00 01 0e 01 11  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 04 00 01 0e 01 11  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 04 00 01 0e 01 11  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 04 00 01 0e 01 11  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 04 00 01 0e 01 11  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
avrdude stk500v2_getsync() [stk500v2.c:789] error: timeout communicating with programmer
Send: 8 bytes: 1b 04 00 02 0e 03 9a 8a  "........"
Sending 8 bytes data chunk
Received 29 bytes data chunk of total 9
Receive: 1 bytes: 1b  "."
Receive: 1 bytes: 04  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 03  "."
Receive: 1 bytes: 0e  "."
Receive: 1 bytes: 03  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: aa  "."
Receive: 1 bytes: bb  "."
         Topcard         : STK501
Send: 8 bytes: 1b 05 00 02 0e 03 94 85  "........"
Sending 8 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 05 00 01 0e 01 10  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 05 00 01 0e 01 10  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 05 00 01 0e 01 10  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 05 00 01 0e 01 10  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 05 00 01 0e 01 10  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 05 00 01 0e 01 10  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
avrdude stk500v2_getsync() [stk500v2.c:789] error: timeout communicating with programmer
Send: 8 bytes: 1b 05 00 02 0e 03 94 85  "........"
Sending 8 bytes data chunk
Received 29 bytes data chunk of total 9
Receive: 1 bytes: 1b  "."
Receive: 1 bytes: 05  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 03  "."
Receive: 1 bytes: 0e  "."
Receive: 1 bytes: 03  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 32  "2"
Receive: 1 bytes: 22  """
         Vtarget         : 5.0 V
Send: 8 bytes: 1b 06 00 02 0e 03 98 8a  "........"
Sending 8 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 06 00 01 0e 01 13  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 06 00 01 0e 01 13  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 06 00 01 0e 01 13  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 06 00 01 0e 01 13  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 06 00 01 0e 01 13  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 06 00 01 0e 01 13  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
avrdude stk500v2_getsync() [stk500v2.c:789] error: timeout communicating with programmer
Send: 8 bytes: 1b 06 00 02 0e 03 98 8a  "........"
Sending 8 bytes data chunk
Received 29 bytes data chunk of total 9
Receive: 1 bytes: 1b  "."
Receive: 1 bytes: 06  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 03  "."
Receive: 1 bytes: 0e  "."
Receive: 1 bytes: 03  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 02  "."
Receive: 1 bytes: 11  "."
Send: 8 bytes: 1b 07 00 02 0e 03 95 86  "........"
Sending 8 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 07 00 01 0e 01 12  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 07 00 01 0e 01 12  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 07 00 01 0e 01 12  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 07 00 01 0e 01 12  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 07 00 01 0e 01 12  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 07 00 01 0e 01 12  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
avrdude stk500v2_getsync() [stk500v2.c:789] error: timeout communicating with programmer
Send: 8 bytes: 1b 07 00 02 0e 03 95 86  "........"
Sending 8 bytes data chunk
Received 29 bytes data chunk of total 9
Receive: 1 bytes: 1b  "."
Receive: 1 bytes: 07  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 03  "."
Receive: 1 bytes: 0e  "."
Receive: 1 bytes: 03  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 12  "."
Send: 8 bytes: 1b 08 00 02 0e 03 96 8a  "........"
Sending 8 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 08 00 01 0e 01 1d  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 08 00 01 0e 01 1d  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 08 00 01 0e 01 1d  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 08 00 01 0e 01 1d  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 08 00 01 0e 01 1d  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 08 00 01 0e 01 1d  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
avrdude stk500v2_getsync() [stk500v2.c:789] error: timeout communicating with programmer
Send: 8 bytes: 1b 08 00 02 0e 03 96 8a  "........"
Sending 8 bytes data chunk
Received 29 bytes data chunk of total 9
Receive: 1 bytes: 1b  "."
Receive: 1 bytes: 08  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 03  "."
Receive: 1 bytes: 0e  "."
Receive: 1 bytes: 03  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 1d  "."
Send: 8 bytes: 1b 09 00 02 0e 03 97 8a  "........"
Sending 8 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 09 00 01 0e 01 1c  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 09 00 01 0e 01 1c  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 09 00 01 0e 01 1c  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 09 00 01 0e 01 1c  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 09 00 01 0e 01 1c  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 09 00 01 0e 01 1c  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
avrdude stk500v2_getsync() [stk500v2.c:789] error: timeout communicating with programmer
Send: 8 bytes: 1b 09 00 02 0e 03 97 8a  "........"
Sending 8 bytes data chunk
Received 29 bytes data chunk of total 9
Receive: 1 bytes: 1b  "."
Receive: 1 bytes: 09  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 03  "."
Receive: 1 bytes: 0e  "."
Receive: 1 bytes: 03  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 1c  "."
         SCK period      : 8.7 us
         Varef           : 0.0 V
         Oscillator      : Off
Send: 9 bytes:
1b 0a 00 03 0e 02 9e 01  81                        "........."
Sending 9 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0a 00 01 0e 01 1f  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0a 00 01 0e 01 1f  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0a 00 01 0e 01 1f  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0a 00 01 0e 01 1f  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0a 00 01 0e 01 1f  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0a 00 01 0e 01 1f  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
avrdude stk500v2_getsync() [stk500v2.c:789] error: timeout communicating with programmer
Send: 9 bytes:
1b 0a 00 03 0e 02 9e 01  81                        "........."
Sending 9 bytes data chunk
Received 29 bytes data chunk of total 8
Receive: 1 bytes: 1b  "."
Receive: 1 bytes: 0a  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 02  "."
Receive: 1 bytes: 0e  "."
Receive: 1 bytes: 02  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 1f  "."
Send: 18 bytes:
1b 0b 00 0c 0e 10 c8 64  19 20 00 53 03 ac 53 00   ".......d. .S..S."
00 38                                              ".8"
Sending 18 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0b 00 01 0e 01 1e  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0b 00 01 0e 01 1e  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0b 00 01 0e 01 1e  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0b 00 01 0e 01 1e  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0b 00 01 0e 01 1e  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0b 00 01 0e 01 1e  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
avrdude stk500v2_getsync() [stk500v2.c:789] error: timeout communicating with programmer
Send: 18 bytes:
1b 0b 00 0c 0e 10 c8 64  19 20 00 53 03 ac 53 00   ".......d. .S..S."
00 38                                              ".8"
Sending 18 bytes data chunk
Received 29 bytes data chunk of total 8
Receive: 1 bytes: 1b  "."
Receive: 1 bytes: 0b  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 02  "."
Receive: 1 bytes: 0e  "."
Receive: 1 bytes: 10  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 0c  "."
avrdude: AVR device initialized and ready to accept instructions
Reading |                                                    | 0% 0.00 s
avrdude: stk500isp_read_byte(.., signature, 0x0, ...)
avrdude: stk500isp_read_byte(): sending read memory command: Send: 12 bytes:
1b 0c 00 06 0e 1b 04 30  00 00 00 30               ".......0...0"
Sending 12 bytes data chunk
Reading | -------------------------------------------------- | 0% 0.00 s
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0c 00 01 0e 01 19  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0c 00 01 0e 01 19  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0c 00 01 0e 01 19  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0c 00 01 0e 01 19  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0c 00 01 0e 01 19  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0c 00 01 0e 01 19  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
avrdude stk500v2_getsync() [stk500v2.c:789] error: timeout communicating with programmer
Send: 12 bytes:
1b 0c 00 06 0e 1b 04 30  00 00 00 30               ".......0...0"
Sending 12 bytes data chunk
Received 29 bytes data chunk of total 10
Receive: 1 bytes: 1b  "."
Receive: 1 bytes: 0c  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 04  "."
Receive: 1 bytes: 0e  "."
Receive: 1 bytes: 1b  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 1e  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 18  "."
avrdude: stk500isp_read_byte(.., signature, 0x1, ...)
avrdude: stk500isp_read_byte(): sending read memory command: Send: 12 bytes:
1b 0d 00 06 0e 1b 04 30  00 01 00 30               ".......0...0"
Sending 12 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0d 00 01 0e 01 18  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0d 00 01 0e 01 18  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0d 00 01 0e 01 18  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0d 00 01 0e 01 18  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0d 00 01 0e 01 18  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0d 00 01 0e 01 18  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
avrdude stk500v2_getsync() [stk500v2.c:789] error: timeout communicating with programmer
Send: 12 bytes:
1b 0d 00 06 0e 1b 04 30  00 01 00 30               ".......0...0"
Sending 12 bytes data chunk
Received 29 bytes data chunk of total 10
Receive: 1 bytes: 1b  "."
Receive: 1 bytes: 0d  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 04  "."
Receive: 1 bytes: 0e  "."
Receive: 1 bytes: 1b  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 95  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 92  "."
avrdude: stk500isp_read_byte(.., signature, 0x2, ...)
avrdude: stk500isp_read_byte(): sending read memory command: Send: 12 bytes:
1b 0e 00 06 0e 1b 04 30  00 02 00 30               ".......0...0"
Sending 12 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0e 00 01 0e 01 1b  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0e 00 01 0e 01 1b  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0e 00 01 0e 01 1b  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0e 00 01 0e 01 1b  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0e 00 01 0e 01 1b  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0e 00 01 0e 01 1b  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
avrdude stk500v2_getsync() [stk500v2.c:789] error: timeout communicating with programmer
Send: 12 bytes:
1b 0e 00 06 0e 1b 04 30  00 02 00 30               ".......0...0"
Sending 12 bytes data chunk
Received 29 bytes data chunk of total 10
Receive: 1 bytes: 1b  "."
Receive: 1 bytes: 0e  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 04  "."
Receive: 1 bytes: 0e  "."
Receive: 1 bytes: 1b  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 0f  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 0b  "."
avrdude: device signature = 0x1e950f (probably m328p)
Send: 9 bytes:
1b 0f 00 03 0e 11 01 01  08                        "........."
Sending 9 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0f 00 01 0e 01 1a  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0f 00 01 0e 01 1a  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0f 00 01 0e 01 1a  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0f 00 01 0e 01 1a  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0f 00 01 0e 01 1a  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
Send: 7 bytes: 1b 0f 00 01 0e 01 1a  "......."
Sending 7 bytes data chunk
avrdude usbGetReport() [ser_avrdoper.c:140] error: unable to send message: Get Input/Feature Report DeviceIoControl: (0x00000057) The parameter is incorrect.
avrdude avrdoperFillBuffer() [ser_avrdoper.c:289] error: I/O Error
avrdude stk500v2_recv() [stk500v2.c:716] error: timeout
avrdude stk500v2_getsync() [stk500v2.c:789] error: timeout communicating with programmer
Send: 9 bytes:
1b 0f 00 03 0e 11 01 01  08                        "........."
Sending 9 bytes data chunk
Received 29 bytes data chunk of total 8
Receive: 1 bytes: 1b  "."
Receive: 1 bytes: 0f  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 02  "."
Receive: 1 bytes: 0e  "."
Receive: 1 bytes: 11  "."
Receive: 1 bytes: 00  "."
Receive: 1 bytes: 09  "."

avrdude done.  Thank you.

@mcuee
Copy link
Collaborator

mcuee commented Feb 2, 2024

Major commits related to the changes.

  1. 99a9a60 on 2023-10-15 (libserialport support)

  2. 59ecd4c on 2022-02-19 (Windows native HID api libhid removal, only keeps libhidapi)

  3. 845abf1 on 2018-01-15.
    patch #9033: avrdoper backend uses libhidapi instead of libusb

  • ser_avrdoper: Add libhidapi implementation
  • stk500v2.c: Adapt #ifdefs for LIBHIDAPI

Before 845abf1, avrdude uses libusb under non-Windows platform and libhid (native Windows HID API) under Windows.

Example:
https://github.com/avrdudes/avrdude/blob/8fd38708614c7f78b580115f7150c19100882de0/ser_avrdoper.c

@mcuee
Copy link
Collaborator

mcuee commented Feb 2, 2024

Unfortunately I am not a programmer and the above is what I can do now. Hopefully @MCUdude or others can chime in to help to sort out the issue.

@mcuee
Copy link
Collaborator

mcuee commented Feb 2, 2024

I tend to think we cannot sort this out after avrdude 7.3 release, so we can probably target this with avrdude 7.4 release.

I will carry out some tests using hidapitester when I finished my testing of test-avrdude script under a few more OS over the weekend.

hidapitester
https://github.com/todbot/hidapitester

@mcuee
Copy link
Collaborator

mcuee commented Feb 2, 2024

@mcuee mcuee changed the title Avrdoper support is broken since version 6.4 AVR-Doper support is broken since version 6.4 Feb 2, 2024
@mcuee mcuee added this to the AVRDUDE 7.4 milestone Feb 6, 2024
@mcuee mcuee removed this from the AVRDUDE 7.4 milestone Mar 17, 2024
@mcuee
Copy link
Collaborator

mcuee commented Mar 17, 2024

Remove this from avrdude 7.4 milestone since there is no active development on this topic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants