From nobody Sun Apr 10 21:59:02 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 9D3F41AAD0FE for ; Sun, 10 Apr 2022 21:59:24 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-oa1-x36.google.com (mail-oa1-x36.google.com [IPv6:2001:4860:4864:20::36]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1D4" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kc5Vf6Q0qz4R5J for ; Sun, 10 Apr 2022 21:59:22 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-oa1-x36.google.com with SMTP id 586e51a60fabf-e2afb80550so3428835fac.1 for ; Sun, 10 Apr 2022 14:59:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=5MopoFjEa2bb7elidQ6/hHy48zZK+h/ZJC+vl/V+gRQ=; b=St/kujZND+X+JG1zjnMKVF9gumHChoRcECq8LjHQRH1cniLZILNINxyo852wzIo+So hAiSnnsRpXoYB4BQY05uKkECap1+jOT3MsWcitbGj8gLBAvk7PvHUOlkhxzP5nAtVu89 7Ct2alyTp94M3xIg3s3ZiSpQWL6Yh0RzkdjVWCEQt2iWSKfmj1X+PMLj1NIth23AhFci dP06oJjH8ICmnin4OfF6cSZy9eNaZnIm98SoQMoLbgsGD1cYBlV7nLe04zEyJQ7ILXy8 F4KGJaph5UwE0vYmIWu6iWPLWApwi/9Tckcsa8Th4I5ld0lH6t1NxntkmqUHSE4ouehl fldQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=5MopoFjEa2bb7elidQ6/hHy48zZK+h/ZJC+vl/V+gRQ=; b=aO6fRR4YWO6FBCEfbs6rC0Q/wbTP+c4Q0jVZNCvcQsXuE0IXmOasJ28QS7hPewF8tb 58N//dNSbaQAy47/w4NqCYI/4d0T2476tla/+Gt0WLhnndAIGOGUl2dvz8SK1oFP6yWr GlDygP7w3XvvEQMJHjVDr7PoJjeX9JgCVABeoutWhAGGw4whD6VJS0BtT2QRPFJPzACq h+HXBnGn5ct/2uYdv36VbzhzdllBjyq/bXElCvUpPyocAyPOuwP2oOTY8gLWakOMwZ+G Jr4t74HqCeDQJbwcHcV9KbhsBiTps5//GVZeOzNdIxpZ+IuDovsJuP7YhwtT1/ysZcBP NRhA== X-Gm-Message-State: AOAM531LC25IRfAWu3rIihfJ1c7BtqZZNiRHFN5qgfV90jiOQHygqCMT c7fY4OUrrZZJAEZL8HDYFwtguwcf7eE6Qkp4 X-Google-Smtp-Source: ABdhPJylNqi3fTXAYCdstFCIzpqccy2J7fwMkO2gZvgVgAWqHprV4hPCGvLjPBEcjIXauWcEz/U7JQ== X-Received: by 2002:a05:6870:b211:b0:d6:defc:ff27 with SMTP id a17-20020a056870b21100b000d6defcff27mr12957337oam.100.1649627956062; Sun, 10 Apr 2022 14:59:16 -0700 (PDT) Received: from mail-ot1-f41.google.com (mail-ot1-f41.google.com. [209.85.210.41]) by smtp.gmail.com with ESMTPSA id q203-20020acad9d4000000b002f8ee3f69e2sm10846129oig.52.2022.04.10.14.59.15 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 10 Apr 2022 14:59:15 -0700 (PDT) Received: by mail-ot1-f41.google.com with SMTP id a17-20020a9d3e11000000b005cb483c500dso10105837otd.6 for ; Sun, 10 Apr 2022 14:59:15 -0700 (PDT) X-Received: by 2002:a05:6830:231c:b0:5b2:5e8a:14b5 with SMTP id u28-20020a056830231c00b005b25e8a14b5mr10241970ote.295.1649627955556; Sun, 10 Apr 2022 14:59:15 -0700 (PDT) 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 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> <7190bdde-22bc-79ee-06d0-d0114a3ffbad@selasky.org> <7CDFB049-241F-4C31-A7B1-A7D6BDE6A002@Chaos1.DE> <24AA646A-698B-4D41-9668-3F9F99732D02@Chaos1.DE> <1A94816D-E3C1-4488-A5A9-784BAC68AE74@Chaos1.DE> <13D17C8D-D67B-47E8-BB64-A8E32267C669@Chaos1.DE> In-Reply-To: <13D17C8D-D67B-47E8-BB64-A8E32267C669@Chaos1.DE> From: Tomek CEDRO Date: Sun, 10 Apr 2022 23:59:02 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: timeouts on USB ISP programmer To: Axel Rau Cc: Hans Petter Selasky , hardware@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Kc5Vf6Q0qz4R5J X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b="St/kujZN"; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2001:4860:4864:20::36) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-2.43 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[hardware@freebsd.org]; DMARC_NA(0.00)[cedro.info]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; NEURAL_HAM_SHORT(-0.13)[-0.128]; RCVD_IN_DNSWL_NONE(0.00)[2001:4860:4864:20::36:from,209.85.210.41:received]; MLMMJ_DEST(0.00)[hardware]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2001:4860:4864::/48, country:US]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N On Sun, Apr 10, 2022 at 10:46 PM Axel Rau wrote: > root@home2l:~ # avrdude -c stk500v2 -p t85 -vvv -t -P usb > > avrdude: Version 6.4 > Copyright (c) Brian Dean, http://www.bdmicro.com/ > Copyright (c) Joerg Wunsch > > System wide configuration file is "/usr/local/etc/avrdude.conf" > User configuration file is "/root/.avrduderc" > User configuration file does not exist or is not a regular file, skipping > > Using Port : usb > Using Programmer : stk500v2 > avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104) Okay, your local `~/.avrduderc` configuration needs an update. Remove all from file and put only this: default_programmer = "diamex-avr-usb"; programmer id = "diamex-avr-usb"; desc = "Diamex AVR USB Programmer"; type = "stk500v2"; connection_type = usb; usbvid = 0x16c0; usbpid = 0x2a9b; ; Then run: avrdude -c diamex-avr-usb -p t85 -vvv -t Configuration will define a new Programmer, that is STK500v2 compatible (not FT2232), will provide VID:PID pair, and will tell to use USB connection as default :-) Because default_programmer is set to diamex-avr-usb it may not be even necessary to provide `-c diamex-avr-usb` just `avrdude -p t85 -t` :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info