From nobody Thu Apr 7 13:46:21 2022 X-Original-To: hardware@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3759A1A8E561 for ; Thu, 7 Apr 2022 13:46:31 +0000 (UTC) (envelope-from Axel.Rau@Chaos1.DE) Received: from mailout5.lrau.net (mailout5.lrau.net [IPv6:2a05:bec0:26:5::73]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mailout5.lrau.net", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KZ2jL2tvsz4Z3x for ; Thu, 7 Apr 2022 13:46:30 +0000 (UTC) (envelope-from Axel.Rau@Chaos1.DE) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=chaos1.de; s=email1; h=References:To:Cc:In-Reply-To:Date:Subject:Mime-Version: Content-Type:Message-Id:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=i5T2SOCEmJ8dIiqdf2HPbFABwxHrJL6AarOvZSpcSM4=; b=g4S6RzOxXOFC4qv3hVlPF4dEqe e8pAWh2mj91F1iwZUf24mXllUJ3g/ew5PbIIi/tEIu1rF1sfUKsv1zkl/9Hw9NJ9FZFEXowuDatC7 qtPYX9zbRXXPDHwLdTLj8b5+x/Vaa33Z4f05MmXhiRM6iWGrdgfszOMNCLDLnYlua1yYQY4Hh79wl T+uFCcOQbo2UcXjUGSntAkCtvqCetdHf/iChnYjJxYEpGk7tPxefL0LdxbhB5tuYum5+q64WJMv74 D5ToIT24Rcxnig1xyynJiKcB3SvHDESyPxxTndMGQGE5Q1tJE9nOyyq9X3pwI8uzvT2aQJpJoNDuB 0fLNICgQ==; Received: from [2a05:bec0:26:5::74] (helo=imap5.lrau.net) by mailout5.lrau.net with esmtp (Exim 4.95 (FreeBSD)) (envelope-from ) id 1ncSSs-0005MJ-6b; Thu, 07 Apr 2022 13:46:22 +0000 Received: from Axel.Rau@Chaos1.DE by imap5.lrau.net (Archiveopteryx 3.2.0) with esmtpsa id 1649339181-83575-82485/7/9; Thu, 7 Apr 2022 13:46:21 +0000 From: Axel Rau Message-Id: <976BDBEB-8B57-4541-A0B7-3F2C89498DC6@Chaos1.DE> Content-Type: multipart/alternative; boundary="Apple-Mail=_A22F0B2F-2B70-4528-A864-7AE8426BF8ED" List-Id: General discussion of FreeBSD hardware List-Archive: https://lists.freebsd.org/archives/freebsd-hardware List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hardware@freebsd.org Mime-Version: 1.0 Subject: Re: timeouts on USB ISP programmer Date: Thu, 7 Apr 2022 15:46:21 +0200 In-Reply-To: <9334c4f0-3ecf-c046-420f-516e39379981@selasky.org> Cc: hardware@freebsd.org To: Hans Petter Selasky References: <3A781DFA-1E2C-41A5-8053-C90A806244DC@Chaos1.DE> <34a747ea-2ee5-660f-71c6-dc00d5de337f@selasky.org> <9334c4f0-3ecf-c046-420f-516e39379981@selasky.org> X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Rspamd-Queue-Id: 4KZ2jL2tvsz4Z3x X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=chaos1.de header.s=email1 header.b=g4S6RzOx; dmarc=none; spf=none (mx1.freebsd.org: domain of Axel.Rau@Chaos1.DE has no SPF policy when checking 2a05:bec0:26:5::73) smtp.mailfrom=Axel.Rau@Chaos1.DE X-Spamd-Result: default: False [-2.81 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[chaos1.de:s=email1]; RCVD_IN_DNSWL_LOW(-0.10)[2a05:bec0:26:5::73:from]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; DMARC_NA(0.00)[chaos1.de]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[chaos1.de:+]; RCPT_COUNT_TWO(0.00)[2]; NEURAL_HAM_SHORT(-0.91)[-0.909]; MLMMJ_DEST(0.00)[hardware]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:197071, ipnet:2a05:bec0::/29, country:DE]; MID_RHS_MATCH_FROM(0.00)[]; DWL_DNSWL_NONE(0.00)[chaos1.de:dkim] X-ThisMailContainsUnwantedMimeParts: N --Apple-Mail=_A22F0B2F-2B70-4528-A864-7AE8426BF8ED Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > Am 07.04.2022 um 15:26 schrieb Hans Petter Selasky : >=20 > On 4/7/22 14:12, Hans Petter Selasky wrote: >> On 4/7/22 13:33, Axel Rau wrote: >>> Hi all, >>>=20 >>> my DIAMEX-AVR-USB gets timeouts while talking to the target: >>> - - - >>> root@home2l:/ # avrdude -c stk500v2 -p t85 -P /dev/cuau1 -t -v -i = 10 >>>=20 >>> avrdude: Version 6.4 >>> Copyright (c) Brian Dean, http://www.bdmicro.com/ >>> Copyright (c) Joerg Wunsch >>>=20 >=20 > Try: >=20 > -P usb >=20 > See manual page: > > port can alternatively be > > specified as usb[:serialno]. This will cause = avrdude to > > search the programmer on USB. Hmm. What mewans =E2=80=99serial=E2=80=99 in this case? avrdude: usbdev_open(): did not find any (matching) USB device "usb:0" = (0x03eb:0x2104) avrdude: usbdev_open(): did not find any (matching) USB device "usb:4" = (0x03eb:0x2104) avrdude: usbdev_open(): did not find any (matching) USB device "usb:" = (0x03eb:0x2104) The avrdude package did install libftdi1, so I think its just an = USB-to-serial converter? usbconfig said: =E2=80=9Acommunication device A. =2D-- PGP-Key: CDE74120 =E2=98=80 computing @ chaos claudius --Apple-Mail=_A22F0B2F-2B70-4528-A864-7AE8426BF8ED Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
=

= Am 07.04.2022 um 15:26 schrieb Hans Petter Selasky <hps@selasky.org>:

On 4/7/22 = 14:12, Hans Petter Selasky wrote:
On 4/7/22 13:33, Axel Rau wrote:
Hi all,

my = DIAMEX-AVR-USB gets timeouts while talking to the target:
-= - -
root@home2l:/ #    avrdude -c stk500v2 = -p t85 -P /dev/cuau1 -t -v -i 10

avrdude: = Version 6.4
        = ;  Copyright (c) Brian Dean, http://www.bdmicro.com/
   &n= bsp;      Copyright (c) Joerg Wunsch


Try:
-P usb

See = manual page:
> port can alternatively be
>   &= nbsp;           &n= bsp;   specified as usb[:serialno].  This will =  cause avrdude to
>      &= nbsp;           &n= bsp;search the programmer on USB.
=

Hmm. What mewans =E2=80=99seri= al=E2=80=99 in this case?

avrdude: usbdev_open(): did not find any = (matching) USB device "usb:0" (0x03eb:0x2104)
<= div style=3D"margin: 0px; font-stretch: normal; font-size: 11px; = line-height: normal; font-family: Monaco; background-color: rgb(255, = 255, 255);" class=3D"">avrdude: usbdev_open(): did not find any (matching) = USB device "usb:4" (0x03eb:0x2104)
avrdude: usbdev_open(): did not find any (matching) USB = device "usb:" (0x03eb:0x2104)

The avrdude package did install libftdi1, so I think its just an = USB-to-serial converter?
usbconfig = said: =E2=80=9Acommunication device

A.
=
---
PGP-Key: CDE74120  =E2=98=80 =  computing @ chaos claudius

--Apple-Mail=_A22F0B2F-2B70-4528-A864-7AE8426BF8ED--