From nobody Sun Apr 10 16:59:44 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 12B8F1A9B3FF for ; Sun, 10 Apr 2022 16:59:48 +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 4Kbyry3hPBz4SjP for ; Sun, 10 Apr 2022 16:59:46 +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=FscVGFUQyEL3U6OXBF7IZIk74MCyupeQWEYIuhkQixA=; b=v2F1sSdmmWq/jdpoiJz52TIaJP zBnZmgQdS0KE1ejpSnaACucIi4dnoIlB0joAp3Ja9LHftYs85GAta6qeE/K7HjOaa36bjELoZ//TT khQ25qcxkgDGcIu5usZY2Fu3nMAF5jbJBJQhSex6NW3JRNrZK8qKBBNmZD2NEMcBiSGAhSLtfOxAO A+HffBVbjk3hJMijFR5j7lDi126wPh7X9l06Lo/61SHG/OPKRVragmZVd2SkdTRJ0xNQQKeexFW3U VIhN7Li+4lQpSB/Ehvw3x22L5+r50nGQSg2kqOIn1GO7SXHrw8MUfLDJdiaf5bm6Ul8syZZH8aoer QoRphxew==; Received: from [2a05:bec0:26:5::74] (helo=imap5.lrau.net) by mailout5.lrau.net with esmtp (Exim 4.95 (FreeBSD)) (envelope-from ) id 1ndauf-000JS3-82; Sun, 10 Apr 2022 16:59:45 +0000 Received: from Axel.Rau@Chaos1.DE by imap5.lrau.net (Archiveopteryx 3.2.0) with esmtpsa id 1649609984-44922-42070/7/5; Sun, 10 Apr 2022 16:59:44 +0000 From: Axel Rau Message-Id: Content-Type: multipart/alternative; boundary="Apple-Mail=_35761612-8F6B-4679-A814-BE1852208C94" 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: Sun, 10 Apr 2022 18:59:44 +0200 In-Reply-To: Cc: Hans Petter Selasky , hardware@freebsd.org To: Tomek CEDRO 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> X-Mailer: Apple Mail (2.3608.120.23.2.7) X-Rspamd-Queue-Id: 4Kbyry3hPBz4SjP X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=chaos1.de header.s=email1 header.b=v2F1sSdm; 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.90 / 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)[]; RCPT_COUNT_THREE(0.00)[3]; MV_CASE(0.50)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[multipart/alternative,text/plain,multipart/mixed]; HAS_ATTACHMENT(0.00)[]; DMARC_NA(0.00)[chaos1.de]; TO_DN_SOME(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; TO_MATCH_ENVRCPT_SOME(0.00)[]; DKIM_TRACE(0.00)[chaos1.de:+]; NEURAL_HAM_SHORT(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-0.999]; 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:+,3:~,4:~,5:~]; 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=_35761612-8F6B-4679-A814-BE1852208C94 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > Am 10.04.2022 um 17:01 schrieb Tomek CEDRO : >=20 >> avrdude: stk500v2_ReceiveMessage(): timeout >=20 > Not exactly what I wrote. You used again `-P /dev/cuau1` which is > INVALID syntax. Use no `-P` at all. >=20 > STEP 1: >=20 > Get a connection to the programmer: >=20 > avrdude -c stk500v2 -p 85 -vvv -t This is with your version .avrduderc attached below): - - - root@home2l:~ # avrdude -c stk500v2 -p t85 -vvv -t 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" Using Port : /dev/cuad0 Using Programmer : stk500v2 avrdude: ser_open(): can't open device "/dev/cuad0": No such file or = directory - - - Axel PS:=20 =2D-- PGP-Key: CDE74120 =E2=98=80 computing @ chaos claudius --Apple-Mail=_35761612-8F6B-4679-A814-BE1852208C94 Content-Type: multipart/mixed; boundary="Apple-Mail=_24410AF9-58DA-4DFA-8220-AFD64D60D4F7" --Apple-Mail=_24410AF9-58DA-4DFA-8220-AFD64D60D4F7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html

Am 10.04.2022 um 17:01 schrieb Tomek CEDRO <tomek@cedro.info>:

avrdude: stk500v2_Rece= iveMessage(): timeout

Not = exactly what I wrote. You used again `-P /dev/cuau1` which is
INVALID syntax. Use no `-P` at all.

STEP = 1:

Get a connection to the programmer:

avrdude -c = stk500v2 -p 85 -vvv -t

This is with your version .avrduderc attached = below):
- - -
root@home2l:~ # avrdude -c = stk500v2 -p t85 -vvv -t
=
avrdude: Version 6.4
         Copyright (c) Brian Dean, = http://www.bdmicro.com/


--Apple-Mail=_24410AF9-58DA-4DFA-8220-AFD64D60D4F7 Content-Disposition: attachment; filename=.avrduderc Content-Type: application/octet-stream; x-unix-mode=0644; name=.avrduderc Content-Transfer-Encoding: base64 IyBQb3NzaWJsZSBlbnRyeSBmb3JtYXRzIGFyZToNCiMNCiMgICBwcm9ncmFtbWVyDQojICAg ICAgIHBhcmVudCA8aWQ+ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIyBvcHRp b25hbCBwYXJlbnQNCiMgICAgICAgaWQgICAgICAgPSA8aWQxPiBbLCA8aWQyPiBbLCA8aWQz Pl0gLi4uXSA7ICAjIDxpZE4+IGFyZSBxdW90ZWQgc3RyaW5ncw0KIyAgICAgICBkZXNjICAg ICA9IDxkZXNjcmlwdGlvbj4gOyAgICAgICAgICAgICAgICAgICMgcXVvdGVkIHN0cmluZw0K IyAgICAgICB0eXBlICAgICA9IDx0eXBlPjsgICAgICAgICAgICAgICAgICAgICAgICAgICMg cHJvZ3JhbW1lciB0eXBlLCBxdW90ZWQgc3RyaW5nDQojICAgICAgICAgICAgICAgICAgICAg ICAgICAjIHN1cHBvcnRlZCBwcm9ncmFtbWVyIHR5cGVzIGNhbiBiZSBsaXN0ZWQgYnkgIi1j ID90eXBlIg0KIyAgICAgICBjb25uZWN0aW9uX3R5cGUgPSBwYXJhbGxlbCB8IHNlcmlhbCB8 IHVzYg0KIyAgICAgICBiYXVkcmF0ZSA9IDxudW0+IDsgICAgICAgICAgICAgICAgICAgICAg ICAgICMgYmF1ZHJhdGUgZm9yIGF2cjkxMC1wcm9ncmFtbWVyDQojICAgICAgIHZjYyAgICAg ID0gPG51bTE+IFssIDxudW0yPiAuLi4gXSA7ICAgICAgICAgIyBwaW4gbnVtYmVyKHMpDQoj ICAgICAgIGJ1ZmYgICAgID0gPG51bTE+IFssIDxudW0yPiAuLi4gXSA7ICAgICAgICAgIyBw aW4gbnVtYmVyKHMpDQojICAgICAgIHJlc2V0ICAgID0gPG51bT4gOyAgICAgICAgICAgICAg ICAgICAgICAgICAgIyBwaW4gbnVtYmVyDQojICAgICAgIHNjayAgICAgID0gPG51bT4gOyAg ICAgICAgICAgICAgICAgICAgICAgICAgIyBwaW4gbnVtYmVyDQojICAgICAgIG1vc2kgICAg ID0gPG51bT4gOyAgICAgICAgICAgICAgICAgICAgICAgICAgIyBwaW4gbnVtYmVyDQojICAg ICAgIG1pc28gICAgID0gPG51bT4gOyAgICAgICAgICAgICAgICAgICAgICAgICAgIyBwaW4g bnVtYmVyDQojICAgICAgIGVycmxlZCAgID0gPG51bT4gOyAgICAgICAgICAgICAgICAgICAg ICAgICAgIyBwaW4gbnVtYmVyDQojICAgICAgIHJkeWxlZCAgID0gPG51bT4gOyAgICAgICAg ICAgICAgICAgICAgICAgICAgIyBwaW4gbnVtYmVyDQojICAgICAgIHBnbWxlZCAgID0gPG51 bT4gOyAgICAgICAgICAgICAgICAgICAgICAgICAgIyBwaW4gbnVtYmVyDQojICAgICAgIHZm eWxlZCAgID0gPG51bT4gOyAgICAgICAgICAgICAgICAgICAgICAgICAgIyBwaW4gbnVtYmVy DQojICAgICAgIHVzYnZpZCAgID0gPGhleG51bT47ICAgICAgICAgICAgICAgICAgICAgICAg IyBVU0IgVklEIChWZW5kb3IgSUQpDQojICAgICAgIHVzYnBpZCAgID0gPGhleG51bT4gWywg PGhleG51bT4gLi4uXSAgICAgICAgIyBVU0IgUElEIChQcm9kdWN0IElEKSAoMSkNCiMgICAg ICAgdXNiZGV2ICAgPSA8aW50ZXJmYWNlPjsgICAgICAgICAgICAgICAgICAgICAjIFVTQiBp bnRlcmZhY2Ugb3Igb3RoZXIgZGV2aWNlIGluZm8NCiMgICAgICAgdXNidmVuZG9yID0gPHZl bmRvcm5hbWU+OyAgICAgICAgICAgICAgICAgICAjIFVTQiBWZW5kb3IgTmFtZQ0KIyAgICAg ICB1c2Jwcm9kdWN0ID0gPHByb2R1Y3RuYW1lPjsgICAgICAgICAgICAgICAgICMgVVNCIFBy b2R1Y3QgTmFtZQ0KIyAgICAgICB1c2JzbiAgICA9IDxzZXJpYWxubz47ICAgICAgICAgICAg ICAgICAgICAgICMgVVNCIFNlcmlhbCBOdW1iZXINCiMNCiMgICAgICAgIFRvIGludmVydCBh IGJpdCwgdXNlID0gfiA8bnVtPiwgdGhlIHNwYWNlcyBhcmUgaW1wb3J0YW50Lg0KIyAgICAg ICAgRm9yIGEgcGluIGxpc3QgYWxsIHBpbnMgbXVzdCBiZSBpbnZlcnRlZC4NCiMgICAgICAg IEEgc2luZ2xlIHBpbiBjYW4gYmUgc3BlY2lmaWVkIGFzIHVzdWFsID0gfiA8bnVtPiwgZm9y IGxpc3RzDQojICAgICAgICBzcGVjaWZ5IGl0IGFzIGZvbGxvd3MgPSB+ICggPG51bT4gWywg PG51bTI+IC4uLiBdICkgLg0KIw0KIyAgICAgICAgKDEpIE5vdCBhbGwgcHJvZ3Jh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21sZWQgPSA2Ow0KIyAgdmZ5bGVkID0g NzsNCiNCdWZmZXIgU2lnbmFsIC0gQUNCVVMgLSBOaWJibGUNCiMgIGJ1ZmYgICA9IDg7DQo7 DQoNCg== --Apple-Mail=_24410AF9-58DA-4DFA-8220-AFD64D60D4F7 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8
---
PGP-Key: CDE74120  =E2=98=80 =  computing @ chaos claudius

--Apple-Mail=_24410AF9-58DA-4DFA-8220-AFD64D60D4F7-- --Apple-Mail=_35761612-8F6B-4679-A814-BE1852208C94--