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

Package: avrdude; Reported by: "Dr. Nikolaus Klepp" <dr.klepp@gmx.at>; dated Tue, 14 Jan 2020 13:11:28 UTC; Maintainer for avrdude is (unknown).

Message received at submit@bugs.devuan.org:


Received: (at submit) by bugs.devuan.org; 14 Jan 2020 13:10:57 +0000
Return-Path: <dr.klepp@gmx.at>
Delivered-To: devuanbugs@dyne.org
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 <submit@bugs.devuan.org>; 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 <dr.klepp@gmx.at>)
	id 1ib2uF-000AZd-EW
	for submit@bugs.devuan.org; 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" <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
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: <201911301435.33199.dr.klepp@gmx.at>
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" <dr.klepp@gmx.at>:
New bug report received and forwarded. Copy sent to owner@bugs.devuan.org. Full text available.
Report forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
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 <owner@bugs.devuan.org>.
Last modified: Sat, 4 Jul 2020 00:39:02 UTC