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

Package: avrdude; Reported by: "Dr. Nikolaus Klepp" <[email protected]>; Keywords: debian; Done: Mark Hindley <[email protected]>; Maintainer for avrdude is (unknown).

Message received at [email protected]:


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

Notification sent to "Dr. Nikolaus Klepp" <[email protected]>:
bug acknowledged by developer. Full text available.
Reply sent to Mark Hindley <[email protected]>:
You have taken responsibility. Full text available.

Message received at [email protected]:


Received: (at 364) by bugs.devuan.org; 16 Feb 2023 12:37:36 +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 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]>
Subject: Re: bug#364: Beowulf: avrdude does not work with Atmel-ICE any more
Date: Thu, 16 Feb 2023 13:36:33 +0100
User-Agent: KMail/1.9.10
Cc: [email protected]
References: <[email protected]> <[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 ...

Acknowledgement sent to Nikolaus Klepp <[email protected]>:
Extra info received and forwarded to list. Copy sent to [email protected]. Full text available.
Information forwarded to [email protected], [email protected]:
bug#364; Package avrdude. Full text available.
Added tag(s) debian. Request was from Mark Hindley <[email protected]> to [email protected]. Full text available.

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

Information forwarded to [email protected], [email protected]:
bug#364; Package avrdude. Full text available.

Message received at [email protected]:


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

Acknowledgement sent to "Dr. Nikolaus Klepp" <[email protected]>:
New bug report received and forwarded. Copy sent to [email protected]. Full text available.
Report forwarded to [email protected], [email protected]:
bug#364; Package avrdude. Full text available.

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 04:39:02 UTC