Devuan logs - #364, boring messages


Message sent to [email protected], [email protected]:


X-Loop: [email protected]
Subject: bug#364: Beowulf: avrdude does not work with Atmel-ICE any more
Reply-To: "Dr. Nikolaus Klepp" <[email protected]>, [email protected]
Resent-From: "Dr. Nikolaus Klepp" <[email protected]>
Resent-To: [email protected]
Resent-CC: [email protected]
X-Loop: [email protected]
Resent-Date: Tue, 14 Jan 2020 13:11:28 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: report 364
X-Devuan-PR-Package: avrdude
X-Devuan-PR-Keywords: 
Received: via spool by [email protected] id=B.157900745712889
          (code B); Tue, 14 Jan 2020 13:11:28 +0000
Received: (at submit) by bugs.devuan.org; 14 Jan 2020 13:10:57 +0000
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 14 Jan 2020 13:10:57 +0000 (UTC)
Received: from vie01a-dmta-at52-2.mx.upcmail.net (vie01a-dmta-at52-2.mx.upcmail.net [62.179.121.143])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 09F7EF60B6E
	for <[email protected]>; Sat, 30 Nov 2019 14:35:28 +0100 (CET)
Received: from [172.31.216.41] (helo=vie01a-pemc-psmtp-at50)
	by vie01a-dmta-at52.mx.upcmail.net with esmtp (Exim 4.92)
	(envelope-from <[email protected]>)
	id 1ib2uF-000AZd-EW
	for [email protected]; Sat, 30 Nov 2019 14:35:27 +0100
Received: from x61.lan ([85.126.97.210])
	by vie01a-pemc-psmtp-at50 with SMTP @ mailcloud.upcmail.net
	id YDbP2100f4YLlkt0BDbPjW; Sat, 30 Nov 2019 14:35:24 +0100
X-SourceIP: 85.126.97.210
X-CNFS-Analysis: v=2.2 cv=O6RJhF1W c=1 sm=2 tr=0 cx=a_idp_f
 a=/Ac8Q0O/YFE5LOLfUiYZVw==:117 a=/Ac8Q0O/YFE5LOLfUiYZVw==:17
 a=Q9fys5e9bTEA:10 a=sz7SMPYtEuYQhNgketwA:9 a=PUjeQqilurYA:10
From: "Dr. Nikolaus Klepp" <[email protected]>
To: [email protected]
Date: Sat, 30 Nov 2019 14:35:33 +0100
User-Agent: KMail/1.9.10
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <[email protected]>
X-Spam-Status: No, score=0.2 required=5.0 tests=FREEMAIL_FROM,
	RCVD_IN_DNSWL_LOW,SPF_FAIL,T_HK_NAME_FM_DR autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

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 ...

Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
Content-Type: text/plain; charset=utf-8
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: "Dr. Nikolaus Klepp" <[email protected]>
Subject: bug#364: Acknowledgement (Beowulf: avrdude does not work with
 Atmel-ICE any more)
Message-ID: <[email protected]>
References: <[email protected]>
X-Devuan-PR-Message: ack 364
X-Devuan-PR-Package: avrdude
Reply-To: [email protected]
Date: Tue, 14 Jan 2020 13:11:31 +0000

Thank you for filing a new bug report with Devuan.

You can follow progress on this bug here: 364: debbugs.devuan.dev//cgi/bugr=
eport.cgi?bug=3D364.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 [email protected]

If you wish to submit further information on this problem, please
send it to [email protected].

Please do not send mail to [email protected] unless you wish
to report a problem with the Bug-tracking system.

--=20
364: debbugs.devuan.dev//cgi/bugreport.cgi?bug=3D364
Devuan Bug Tracking System
Contact [email protected] with problems

Message sent to [email protected], [email protected]:


X-Loop: [email protected]
Subject: bug#364: Beowulf: avrdude does not work with Atmel-ICE any more
Reply-To: Mark Hindley <[email protected]>, [email protected]
Resent-From: Mark Hindley <[email protected]>
Resent-To: [email protected]
Resent-CC: [email protected]
X-Loop: [email protected]
Resent-Date: Thu, 16 Feb 2023 08:34:02 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: followup 364
X-Devuan-PR-Package: avrdude
X-Devuan-PR-Keywords: 
References: <[email protected]> <[email protected]>
Received: via spool by [email protected] id=B364.167653640129158
          (code B ref 364); Thu, 16 Feb 2023 08:34:02 +0000
Received: (at 364) by bugs.devuan.org; 16 Feb 2023 08:33:21 +0000
Delivered-To: [email protected]
Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Thu, 16 Feb 2023 08:33:21 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id A9LLFgzq7WPJQQAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Thu, 16 Feb 2023 08:32:12 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 43FCCA0; Thu, 16 Feb 2023 08:32:12 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id D5D9F25
	for <[email protected]>; Thu, 16 Feb 2023 08:32:06 +0000 (UTC)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1pSZgT-0003fL-Al; Thu, 16 Feb 2023 08:32:05 +0000
Received: (nullmailer pid 23656 invoked by uid 1000);
	Thu, 16 Feb 2023 08:32:04 -0000
Date: Thu, 16 Feb 2023 08:32:04 +0000
From: Mark Hindley <[email protected]>
To: "Dr. Nikolaus Klepp" <[email protected]>, [email protected]
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>

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

Message received at [email protected]:


Received: (at 364) by bugs.devuan.org; 16 Feb 2023 08:33:21 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Thu, 16 Feb 2023 08:33:21 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id A9LLFgzq7WPJQQAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Thu, 16 Feb 2023 08:32:12 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 43FCCA0; Thu, 16 Feb 2023 08:32:12 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id D5D9F25
	for <[email protected]>; Thu, 16 Feb 2023 08:32:06 +0000 (UTC)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1pSZgT-0003fL-Al; Thu, 16 Feb 2023 08:32:05 +0000
Received: (nullmailer pid 23656 invoked by uid 1000);
	Thu, 16 Feb 2023 08:32:04 -0000
Date: Thu, 16 Feb 2023 08:32:04 +0000
From: Mark Hindley <[email protected]>
To: "Dr. Nikolaus Klepp" <[email protected]>, [email protected]
Subject: Re: bug#364: Beowulf: avrdude does not work with Atmel-ICE any more
Message-ID: <[email protected]>
References: <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>
X-Debbugs-No-Ack: No Thanks

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

Message sent to [email protected], [email protected]:


X-Loop: [email protected]
Subject: bug#364: Beowulf: avrdude does not work with Atmel-ICE any more
Reply-To: Nikolaus Klepp <[email protected]>, [email protected]
Resent-From: Nikolaus Klepp <[email protected]>
Resent-To: [email protected]
Resent-CC: [email protected]
X-Loop: [email protected]
Resent-Date: Thu, 16 Feb 2023 12:38:01 +0000
Resent-Message-ID: <[email protected]>
Resent-Sender: [email protected]
X-Devuan-PR-Message: followup 364
X-Devuan-PR-Package: avrdude
X-Devuan-PR-Keywords: debian
References: <[email protected]> <[email protected]> <[email protected]>
Received: via spool by [email protected] id=B364.167655105626573
          (code B ref 364); Thu, 16 Feb 2023 12:38:01 +0000
Received: (at 364) by bugs.devuan.org; 16 Feb 2023 12:37:36 +0000
Delivered-To: [email protected]
Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Thu, 16 Feb 2023 12:37:36 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id hN18BV4j7mN7SAAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Thu, 16 Feb 2023 12:36:46 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 00863A1; Thu, 16 Feb 2023 12:36:45 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=-1.0 required=5.0 tests=NICE_REPLY_A,SPF_PASS
	autolearn=ham autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2a01:5b40:0:3006::1; helo=smtp.domeneshop.no; [email protected]; receiver=<UNKNOWN> 
Received: from smtp.domeneshop.no (smtp.domeneshop.no [IPv6:2a01:5b40:0:3006::1])
	by email.devuan.org (Postfix) with ESMTPS id DB80084
	for <[email protected]>; Thu, 16 Feb 2023 12:36:39 +0000 (UTC)
Received: from [78.142.103.142] (port=35326 helo=neo.lan)
	by smtp.domeneshop.no with esmtpsa  (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
	(Exim 4.95)
	(envelope-from <[email protected]>)
	id 1pSdV6-00DNiw-BY;
	Thu, 16 Feb 2023 13:36:37 +0100
From: Nikolaus Klepp <[email protected]>
To: Mark Hindley <[email protected]>
Date: Thu, 16 Feb 2023 13:36:33 +0100
User-Agent: KMail/1.9.10
Cc: [email protected]
In-Reply-To: <[email protected]>
X-KMail-QuotePrefix: > 
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <[email protected]>

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 ...

Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
Content-Type: text/plain; charset=utf-8
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Nikolaus Klepp <[email protected]>
Subject: bug#364: Info received (bug#364: Beowulf: avrdude does not work
 with Atmel-ICE any more)
Message-ID: <[email protected]>
References: <[email protected]>
X-Devuan-PR-Message: ack-info 364
X-Devuan-PR-Package: avrdude
X-Devuan-PR-Keywords: debian
Reply-To: [email protected]
Date: Thu, 16 Feb 2023 12:38:02 +0000

Thank you for the additional information you have supplied regarding
this bug report.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 [email protected]

If you wish to submit further information on this problem, please
send it to [email protected].

Please do not send mail to [email protected] unless you wish
to report a problem with the Bug-tracking system.

--=20
364: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D364
Devuan Bug Tracking System
Contact [email protected] with problems

Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: Mark Hindley <[email protected]>
Subject: bug#364: marked as done (Beowulf: avrdude does not work with
 Atmel-ICE any more)
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
X-Devuan-PR-Message: closed 364
X-Devuan-PR-Package: avrdude
X-Devuan-PR-Keywords: debian
Reply-To: [email protected]
Date: Thu, 16 Feb 2023 13:54:01 +0000
Content-Type: multipart/mixed; boundary="----------=_1676555641-3562-0"

This is a multi-part message in MIME format...

------------=_1676555641-3562-0
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

Your message dated Thu, 16 Feb 2023 13:51:52 +0000
with message-id <[email protected]>
and subject line Re: bug#364: Beowulf: avrdude does not work with Atmel-ICE=
 any more
has caused the Devuan bug report #364,
regarding Beowulf: avrdude does not work with Atmel-ICE any more
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


--=20
364: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D364
Devuan Bug Tracking System
Contact [email protected] with problems

------------=_1676555641-3562-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.devuan.org; 14 Jan 2020 13:10:57 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 14 Jan 2020 13:10:57 +0000 (UTC)
Received: from vie01a-dmta-at52-2.mx.upcmail.net (vie01a-dmta-at52-2.mx.upcmail.net [62.179.121.143])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 09F7EF60B6E
	for <[email protected]>; Sat, 30 Nov 2019 14:35:28 +0100 (CET)
Received: from [172.31.216.41] (helo=vie01a-pemc-psmtp-at50)
	by vie01a-dmta-at52.mx.upcmail.net with esmtp (Exim 4.92)
	(envelope-from <[email protected]>)
	id 1ib2uF-000AZd-EW
	for [email protected]; Sat, 30 Nov 2019 14:35:27 +0100
Received: from x61.lan ([85.126.97.210])
	by vie01a-pemc-psmtp-at50 with SMTP @ mailcloud.upcmail.net
	id YDbP2100f4YLlkt0BDbPjW; Sat, 30 Nov 2019 14:35:24 +0100
X-SourceIP: 85.126.97.210
X-CNFS-Analysis: v=2.2 cv=O6RJhF1W c=1 sm=2 tr=0 cx=a_idp_f
 a=/Ac8Q0O/YFE5LOLfUiYZVw==:117 a=/Ac8Q0O/YFE5LOLfUiYZVw==:17
 a=Q9fys5e9bTEA:10 a=sz7SMPYtEuYQhNgketwA:9 a=PUjeQqilurYA:10
From: "Dr. Nikolaus Klepp" <[email protected]>
To: [email protected]
Subject: Beowulf: avrdude does not work with Atmel-ICE any more
Date: Sat, 30 Nov 2019 14:35:33 +0100
User-Agent: KMail/1.9.10
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <[email protected]>
X-Spam-Status: No, score=0.2 required=5.0 tests=FREEMAIL_FROM,
	RCVD_IN_DNSWL_LOW,SPF_FAIL,T_HK_NAME_FM_DR autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

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 ...

------------=_1676555641-3562-0
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 364-done) by bugs.devuan.org; 16 Feb 2023 13:52:35 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Thu, 16 Feb 2023 13:52:35 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id lhQCLAA17mNLSwAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Thu, 16 Feb 2023 13:52:00 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 9264BA1; Thu, 16 Feb 2023 13:52:00 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id 83CFE84
	for <[email protected]>; Thu, 16 Feb 2023 13:51:54 +0000 (UTC)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1pSefw-0005mP-OS; Thu, 16 Feb 2023 13:51:52 +0000
Received: (nullmailer pid 20949 invoked by uid 1000);
	Thu, 16 Feb 2023 13:51:52 -0000
Date: Thu, 16 Feb 2023 13:51:52 +0000
From: Mark Hindley <[email protected]>
To: Nikolaus Klepp <[email protected]>
Cc: [email protected]
Subject: Re: bug#364: Beowulf: avrdude does not work with Atmel-ICE any more
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
 <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>

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
------------=_1676555641-3562-0--

Message sent:


MIME-Version: 1.0
X-Mailer: MIME-tools 5.509 (Entity 5.509)
X-Loop: [email protected]
From: "Devuan bug Tracking System" <[email protected]>
To: "Dr. Nikolaus Klepp" <[email protected]>
Subject: bug#364 closed by Mark Hindley <[email protected]> (Re:
 bug#364: Beowulf: avrdude does not work with Atmel-ICE any more)
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
X-Devuan-PR-Message: they-closed 364
X-Devuan-PR-Package: avrdude
X-Devuan-PR-Keywords: debian
Reply-To: [email protected]
Date: Thu, 16 Feb 2023 13:54:06 +0000
Content-Type: multipart/mixed; boundary="----------=_1676555646-3562-1"

This is a multi-part message in MIME format...

------------=_1676555646-3562-1
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="utf-8"

This is an automatic notification regarding your bug report
which was filed against the avrdude package:

#364: Beowulf: avrdude does not work with Atmel-ICE any more

It has been closed by Mark Hindley <[email protected]>.

Their explanation is attached below along with your original report.
If this explanation is unsatisfactory and you have not received a
better one in a separate message then please contact Mark Hindley <mark@hin=
dley.org.uk> by
replying to this email.


--=20
364: https://bugs.devuan.org/cgi/bugreport.cgi?bug=3D364
Devuan Bug Tracking System
Contact [email protected] with problems

------------=_1676555646-3562-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at 364-done) by bugs.devuan.org; 16 Feb 2023 13:52:35 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2001:41d0:2:d06e::5c4:2612]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Thu, 16 Feb 2023 13:52:35 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id lhQCLAA17mNLSwAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Thu, 16 Feb 2023 13:52:00 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 9264BA1; Thu, 16 Feb 2023 13:52:00 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=0.4 required=5.0 tests=RDNS_DYNAMIC,SPF_PASS
	autolearn=no autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=193.36.131.86; helo=mx.hindley.org.uk; [email protected]; receiver=<UNKNOWN> 
Received: from mx.hindley.org.uk (193-36-131-86.cfwn.uk [193.36.131.86])
	by email.devuan.org (Postfix) with ESMTPS id 83CFE84
	for <[email protected]>; Thu, 16 Feb 2023 13:51:54 +0000 (UTC)
Received: from apollo.hindleynet ([192.168.1.3] helo=hindley.org.uk)
	by mx.hindley.org.uk with smtp (Exim 4.84_2)
	(envelope-from <[email protected]>)
	id 1pSefw-0005mP-OS; Thu, 16 Feb 2023 13:51:52 +0000
Received: (nullmailer pid 20949 invoked by uid 1000);
	Thu, 16 Feb 2023 13:51:52 -0000
Date: Thu, 16 Feb 2023 13:51:52 +0000
From: Mark Hindley <[email protected]>
To: Nikolaus Klepp <[email protected]>
Cc: [email protected]
Subject: Re: bug#364: Beowulf: avrdude does not work with Atmel-ICE any more
Message-ID: <[email protected]>
References: <[email protected]>
 <[email protected]>
 <[email protected]>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <[email protected]>

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
------------=_1676555646-3562-1
Content-Type: message/rfc822
Content-Disposition: inline
Content-Transfer-Encoding: 7bit

Received: (at submit) by bugs.devuan.org; 14 Jan 2020 13:10:57 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 14 Jan 2020 13:10:57 +0000 (UTC)
Received: from vie01a-dmta-at52-2.mx.upcmail.net (vie01a-dmta-at52-2.mx.upcmail.net [62.179.121.143])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 09F7EF60B6E
	for <[email protected]>; Sat, 30 Nov 2019 14:35:28 +0100 (CET)
Received: from [172.31.216.41] (helo=vie01a-pemc-psmtp-at50)
	by vie01a-dmta-at52.mx.upcmail.net with esmtp (Exim 4.92)
	(envelope-from <[email protected]>)
	id 1ib2uF-000AZd-EW
	for [email protected]; Sat, 30 Nov 2019 14:35:27 +0100
Received: from x61.lan ([85.126.97.210])
	by vie01a-pemc-psmtp-at50 with SMTP @ mailcloud.upcmail.net
	id YDbP2100f4YLlkt0BDbPjW; Sat, 30 Nov 2019 14:35:24 +0100
X-SourceIP: 85.126.97.210
X-CNFS-Analysis: v=2.2 cv=O6RJhF1W c=1 sm=2 tr=0 cx=a_idp_f
 a=/Ac8Q0O/YFE5LOLfUiYZVw==:117 a=/Ac8Q0O/YFE5LOLfUiYZVw==:17
 a=Q9fys5e9bTEA:10 a=sz7SMPYtEuYQhNgketwA:9 a=PUjeQqilurYA:10
From: "Dr. Nikolaus Klepp" <[email protected]>
To: [email protected]
Subject: Beowulf: avrdude does not work with Atmel-ICE any more
Date: Sat, 30 Nov 2019 14:35:33 +0100
User-Agent: KMail/1.9.10
MIME-Version: 1.0
Content-Type: Text/Plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <[email protected]>
X-Spam-Status: No, score=0.2 required=5.0 tests=FREEMAIL_FROM,
	RCVD_IN_DNSWL_LOW,SPF_FAIL,T_HK_NAME_FM_DR autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

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 ...

------------=_1676555646-3562-1--

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Sat, 18 Jan 2025 08:39:01 UTC