Devuan bug report logs - #364
Beowulf: avrdude does not work with Atmel-ICE any more

version graph

Package: avrdude; Maintainer for avrdude is (unknown); Source for avrdude is src:avrdude.

Reported by: "Dr. Nikolaus Klepp" <dr.klepp@gmx.at>

Date: Tue, 14 Jan 2020 13:11:28 UTC

Severity: normal

Tags: debian

Found in version 6.3-20171130

Done: Mark Hindley <mark@hindley.org.uk>

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
bug#364; Package avrdude. (Tue, 14 Jan 2020 13:11:28 GMT) (full text, mbox, link).


Acknowledgement sent to "Dr. Nikolaus Klepp" <dr.klepp@gmx.at>:
New bug report received and forwarded. Copy sent to owner@bugs.devuan.org. (Tue, 14 Jan 2020 13:11:31 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

From: "Dr. Nikolaus Klepp" <dr.klepp@gmx.at>
To: submit@bugs.devuan.org
Subject: Beowulf: avrdude does not work with Atmel-ICE any more
Date: Sat, 30 Nov 2019 14:35:33 +0100
Package: avrdude
Version: 6.3-20171130

avrdude cannot communicat with Atmel-ICE any more (Atmel-ICE firmware version 1.0 and 1.29, programmer workes on ascii). avrdude can kind-of communicate with the programmer the first time it is plugged in. But the second time it cannot communicate at all:

Example: connect via terminal to testboard fails.

$ avrdude -c atmelice_isp -p m328p  -t

avrdude: Short read, read only 0 out of 512 bytes
avrdude: jtag3_edbg_recv(): Unexpected response 0xb0
avrdude: stk500v2_jtag3_recv(): error in jtagmkII_recv()
avrdude: AVR device initialized and ready to accept instructions

Reading |                                                    | 0% 0.00savrdude: jtag3_edbg_send(): Unexpected response 0x81, 0x11
avrdude: jtag3_edbg_recv(): Unexpected response 0x80
avrdude: stk500v2_jtag3_recv(): error in jtagmkII_recv()
avrdude: Short read, read only 0 out of 512 bytes
avrdude: jtag3_edbg_send(): Unexpected response 0x81, 0x11
avrdude: Short read, read only 0 out of 512 bytes
avrdude: jtag3_edbg_recv(): Unexpected response 0xc0
avrdude: stk500v2_jtag3_recv(): error in jtagmkII_recv()
Reading | #################                                  | 33% 0.85savrdude: Short read, read only 0 out of 512 bytes
avrdude: jtag3_edbg_send(): Unexpected response 0x81, 0x11
avrdude: Short read, read only 0 out of 512 bytes
avrdude: jtag3_edbg_recv(): Unexpected response 0xb0
avrdude: stk500v2_jtag3_recv(): error in jtagmkII_recv()
Reading | ################################################## | 100% 1.45s

avrdude: Device signature = 0x303030
avrdude: Expected signature for ATmega328P is 1E 95 0F
         Double check chip, or use -F to override this check.
avrdude: Short read, read only 0 out of 512 bytes
avrdude: jtag3_edbg_send(): Unexpected response 0xd0, 0x4c
avrdude: Short read, read only 0 out of 512 bytes
avrdude: jtag3_edbg_recv(): Unexpected response 0xc0
avrdude: stk500v2_jtag3_recv(): error in jtagmkII_recv()
avrdude: Short read, read only 0 out of 512 bytes
avrdude: jtag3_edbg_send(): Unexpected response 0x00, 0x02
avrdude: Short read, read only 0 out of 512 bytes
avrdude: jtag3_edbg_recv(): Unexpected response 0xb0
avrdude: Short read, read only 0 out of 512 bytes
avrdude: jtag3_edbg_send(): Unexpected response 0x60, 0x4d
avrdude: Short read, read only 0 out of 512 bytes
avrdude: jtag3_edbg_recv(): Unexpected response 0xc0
avrdude: Short read, read only 0 out of 512 bytes
avrdude: jtag3_edbg_signoff(): failed to read from serial port (0)

avrdude done.  Thank you.

$ avrdude -c atmelice_isp -p m328p  -t
avrdude: usbhid_open(): No response from device
avrdude: jtag3_edbg_prepare(): failed to read from serial port (-1)
avrdude: failed to sync with the JTAGICE3 in ISP mode

avrdude done.  Thank you.

I do not know if this is a kernel problem, a libusb problem or a avrdude problem. Other programmers (usbasp-clone) work.

Nik



-- 
Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...

Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#364; Package avrdude. (Thu, 16 Feb 2023 08:34:02 GMT) (full text, mbox, link).


Message #8 received at 364@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: "Dr. Nikolaus Klepp" <dr.klepp@gmx.at>, 364@bugs.devuan.org
Subject: Re: bug#364: Beowulf: avrdude does not work with Atmel-ICE any more
Date: Thu, 16 Feb 2023 08:32:04 +0000
Control: tags -1 debian

Nik,

Thansk for this and sorry for the delay replying.

On Sat, Nov 30, 2019 at 02:35:33PM +0100, Dr. Nikolaus Klepp wrote:
> Package: avrdude
> Version: 6.3-20171130

avrdude isn't forked in Devuan and we use Debian's packages directly without
recompilation.

Please would you report this to Debian's BTS to be addressed? I don't see a
similar report there already.

Thanks

Mark

Added tag(s) debian. Request was from Mark Hindley <mark@hindley.org.uk> to 364-submit@bugs.devuan.org. (Thu, 16 Feb 2023 08:34:05 GMT) (full text, mbox, link).


Information forwarded to devuan-bugs@lists.dyne.org, devuan-dev@lists.dyne.org:
bug#364; Package avrdude. (Thu, 16 Feb 2023 12:38:01 GMT) (full text, mbox, link).


Acknowledgement sent to Nikolaus Klepp <office@klepp.biz>:
Extra info received and forwarded to list. Copy sent to devuan-dev@lists.dyne.org. (Thu, 16 Feb 2023 12:38:02 GMT) (full text, mbox, link).


Message #15 received at 364@bugs.devuan.org (full text, mbox, reply):

From: Nikolaus Klepp <office@klepp.biz>
To: Mark Hindley <mark@hindley.org.uk>
Cc: 364@bugs.devuan.org
Subject: Re: bug#364: Beowulf: avrdude does not work with Atmel-ICE any more
Date: Thu, 16 Feb 2023 13:36:33 +0100
Hi Mark!

You can close the bugreport. avrdude 6.3 needs to be either run by root or you add this udev rule for normal users - the udev rule comming with the avrdude package is not sufficient:

#/etc/udev/rules.d/99-avarice.rules 
# Atmel Corp. JTAG ICE mkII, etc ....
SUBSYSTEM=="usb", ENV{ID_VENDOR_ID}=="03eb", ENV{ID_MODEL_ID}=="2101", MODE="0666"
SUBSYSTEM=="usb", ENV{ID_VENDOR_ID}=="03eb", ENV{ID_MODEL_ID}=="2107", MODE="0666"
SUBSYSTEM=="usb", ENV{ID_VENDOR_ID}=="03eb", ENV{ID_MODEL_ID}=="2141", MODE="0666"

Nik

Anno domini 2023 Thu, 16 Feb 08:32:04 +0000
 Mark Hindley scripsit:
> Control: tags -1 debian
> 
> Nik,
> 
> Thansk for this and sorry for the delay replying.
> 
> On Sat, Nov 30, 2019 at 02:35:33PM +0100, Dr. Nikolaus Klepp wrote:
> > Package: avrdude
> > Version: 6.3-20171130
> 
> avrdude isn't forked in Devuan and we use Debian's packages directly without
> recompilation.
> 
> Please would you report this to Debian's BTS to be addressed? I don't see a
> similar report there already.
> 
> Thanks
> 
> Mark
> 



-- 
Please do not email me anything that you are not comfortable also sharing with the NSA, CIA ...

Reply sent to Mark Hindley <mark@hindley.org.uk>:
You have taken responsibility. (Thu, 16 Feb 2023 13:54:01 GMT) (full text, mbox, link).


Notification sent to "Dr. Nikolaus Klepp" <dr.klepp@gmx.at>:
bug acknowledged by developer. (Thu, 16 Feb 2023 13:54:06 GMT) (full text, mbox, link).


Message #20 received at 364-done@bugs.devuan.org (full text, mbox, reply):

From: Mark Hindley <mark@hindley.org.uk>
To: Nikolaus Klepp <office@klepp.biz>
Cc: 364-done@bugs.devuan.org
Subject: Re: bug#364: Beowulf: avrdude does not work with Atmel-ICE any more
Date: Thu, 16 Feb 2023 13:51:52 +0000
Nik,

On Thu, Feb 16, 2023 at 01:36:33PM +0100, Nikolaus Klepp wrote:
> You can close the bugreport.

Thanks closing.

> avrdude 6.3 needs to be either run by root or you add this udev rule for normal users - the udev rule comming with the avrdude package is not sufficient:
> 
> #/etc/udev/rules.d/99-avarice.rules 
> # Atmel Corp. JTAG ICE mkII, etc ....
> SUBSYSTEM=="usb", ENV{ID_VENDOR_ID}=="03eb", ENV{ID_MODEL_ID}=="2101", MODE="0666"
> SUBSYSTEM=="usb", ENV{ID_VENDOR_ID}=="03eb", ENV{ID_MODEL_ID}=="2107", MODE="0666"
> SUBSYSTEM=="usb", ENV{ID_VENDOR_ID}=="03eb", ENV{ID_MODEL_ID}=="2141", MODE="0666"

If you feel that is worth fixing in the packaging, please report to Debian.

Mark

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Fri Apr 26 08:29:01 2024;