:: [devuan-dev] bug#364: marked as don…
Top Pagina
Delete this message
Reply to this message
Auteur: Devuan bug Tracking System
Datum:  
Aan: Mark Hindley
Onderwerp: [devuan-dev] bug#364: marked as done (Beowulf: avrdude does not work with Atmel-ICE any more)
Your message dated Thu, 16 Feb 2023 13:51:52 +0000
with message-id <Y+40+IOw0Oa2UeP1@???>
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 owner@???
immediately.)


--
364: https://bugs.devuan.org/cgi/bugreport.cgi?bug=364
Devuan Bug Tracking System
Contact owner@??? with problems
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 ...
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