From nobody Thu Apr 07 14:44:58 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 465691A8384E for ; Thu, 7 Apr 2022 14:45:04 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (turbocat.net [IPv6:2a01:4f8:c17:6c4b::2]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4KZ40v1r7wz4t8V for ; Thu, 7 Apr 2022 14:45:03 +0000 (UTC) (envelope-from hps@selasky.org) Received: from [10.36.2.165] (unknown [178.17.145.105]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 677702604AB; Thu, 7 Apr 2022 16:45:00 +0200 (CEST) Message-ID: <7190bdde-22bc-79ee-06d0-d0114a3ffbad@selasky.org> Date: Thu, 7 Apr 2022 16:44:58 +0200 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 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:91.0) Gecko/20100101 Thunderbird/91.8.0 Subject: Re: timeouts on USB ISP programmer Content-Language: en-US To: Axel Rau Cc: hardware@freebsd.org, tomek.cedro@gmail.com References: <3A781DFA-1E2C-41A5-8053-C90A806244DC@Chaos1.DE> <34a747ea-2ee5-660f-71c6-dc00d5de337f@selasky.org> <9334c4f0-3ecf-c046-420f-516e39379981@selasky.org> <976BDBEB-8B57-4541-A0B7-3F2C89498DC6@Chaos1.DE> From: Hans Petter Selasky In-Reply-To: <976BDBEB-8B57-4541-A0B7-3F2C89498DC6@Chaos1.DE> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4KZ40v1r7wz4t8V X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of hps@selasky.org designates 2a01:4f8:c17:6c4b::2 as permitted sender) smtp.mailfrom=hps@selasky.org X-Spamd-Result: default: False [-3.28 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+a:mail.turbocat.net:c]; NEURAL_HAM_LONG(-1.00)[-1.000]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[selasky.org]; TO_DN_SOME(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.98)[-0.981]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; MLMMJ_DEST(0.00)[hardware]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:24940, ipnet:2a01:4f8::/32, country:DE]; FREEMAIL_CC(0.00)[freebsd.org,gmail.com]; RCVD_TLS_ALL(0.00)[]; RCVD_COUNT_TWO(0.00)[2] X-ThisMailContainsUnwantedMimeParts: N On 4/7/22 15:46, Axel Rau wrote: > > >> Am 07.04.2022 um 15:26 schrieb Hans Petter Selasky : >> >> 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/ >>>> Copyright (c) Joerg Wunsch >>>> >> >> Try: >> >> -P usb >> >> See manual page: >>> port can alternatively be >>> specified as usb[:serialno]. This will cause avrdude to >>> search the programmer on USB. > > > Hmm. What mewans ’serial’ 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: ‚communication device > Hi Tomek, Do you see what is wrong here? Maybe he needs to use "avrisp2" instead of "stk500v2"? --HPS