From nobody Thu Apr 07 18:35:48 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 B73071A98E31 for ; Thu, 7 Apr 2022 18:36:04 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-oa1-x34.google.com (mail-oa1-x34.google.com [IPv6:2001:4860:4864:20::34]) (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 4KZ97R6ZBSz4gts for ; Thu, 7 Apr 2022 18:36:03 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-oa1-x34.google.com with SMTP id 586e51a60fabf-de3eda6b5dso7370517fac.0 for ; Thu, 07 Apr 2022 11:36:03 -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=zeTPIiZq3WWZwDongOIBbZ1IxlXalRg9RVHfz4SpCKM=; b=JHgbrtuv5HLwnsmi165T37ZRZlaDyMIrIdyjbAej3+Y52loT4ooLVE9bahzurg5H4g +wzSsgpGQ8tpHMPxU+oOCeX20vsM0s17HSkGsdIESh/Tk6xiGmfrx2SqTY4QxKOgTele 0usRuGQgYTod8scHcbO/3IqB5lcxRvaf1oOWsAuzhqphzkKVtvLC2SJglkt4seHXbrhH AWq/9318UNii9+rDZgtP6zg3K63Yzb8iiSUeF4tkeN6E2GaIEGa3P2+gnWWeFL+VMu1z 7BLYP+qnjGNwamyTEWYgGBrhgZK0M420KQA6WZDS54yfMZF64Erb7jgyL2yK+bDz+luY e/vA== 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=zeTPIiZq3WWZwDongOIBbZ1IxlXalRg9RVHfz4SpCKM=; b=bE4YgvPt5TLCQcT1Jvv/3JjqcBXlIgUHjVwD9paTVdYyCeUgq+spRuzO8QiIt4gtkB 5j0Y1NS7VU+s5bdWNNs7BeKgrAGcYMSAnNUXIon783ILM9b3WoyS1UgHlDyExS6ZBv+R sSLt2HKJKNkEHx1ktqALApFBxcIIpWRVLTpMrmPgevuSigUbDkHBmyI0eHzFhe1ZbFlo n3reNrXE57JoJT0yf+rj8l3MfsxNL4cQgtOeI/gVPnj4JuFGyAIaer97mvst36rWLcxQ 0pwcHvm8OkduyP9R3Net1u6QRZGcvFUxPu49QsgWVsc5GpDoS3dvlCFVDat09X8rjUY+ KKrQ== X-Gm-Message-State: AOAM531fJ/+bFzKYEeg1LFbnqpfEVgbxg51auXJ2RsGLvbEx7K/8sUnX LYC+7gW84ClP1DD4fuW/nnjKXhZc2JP9GwrY X-Google-Smtp-Source: ABdhPJwfQ0oOKbiVoBNLT917mziGoQ26lTWHCWHefZO7Qs66CUnZslAOXzZnvUVuHgIvFqiD+0JSrw== X-Received: by 2002:a05:6871:793:b0:db:360c:7f5e with SMTP id o19-20020a056871079300b000db360c7f5emr6872448oap.218.1649356563088; Thu, 07 Apr 2022 11:36:03 -0700 (PDT) Received: from mail-oi1-f177.google.com (mail-oi1-f177.google.com. [209.85.167.177]) by smtp.gmail.com with ESMTPSA id n15-20020aca240f000000b002da2fc73741sm7665777oic.33.2022.04.07.11.36.00 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Apr 2022 11:36:00 -0700 (PDT) Received: by mail-oi1-f177.google.com with SMTP id r8so6538807oib.5 for ; Thu, 07 Apr 2022 11:36:00 -0700 (PDT) X-Received: by 2002:aca:1e16:0:b0:2ef:4b94:2cda with SMTP id m22-20020aca1e16000000b002ef4b942cdamr6121638oic.149.1649356560358; Thu, 07 Apr 2022 11:36:00 -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> In-Reply-To: From: Tomek CEDRO Date: Thu, 7 Apr 2022 20:35:48 +0200 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: timeouts on USB ISP programmer To: hardware@freebsd.org Cc: Hans Petter Selasky , Axel Rau Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4KZ97R6ZBSz4gts X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=JHgbrtuv; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2001:4860:4864:20::34) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-3.28 / 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)[-0.998]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_SOME(0.00)[]; NEURAL_HAM_LONG(-1.00)[-0.998]; 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.98)[-0.979]; RCVD_IN_DNSWL_NONE(0.00)[209.85.167.177:received,2001:4860:4864:20::34:from]; 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 The problem is Diamex does not provide schematics for their interface. That could make things easier to compare with other interfaces to search for similar one. Are you sure it is FT2232H based? LibFTDI as dependency to avrdude may also some from other interfaces :-) But we both have VID:PID issue. I have original DevKit from Michrochip/Atmel. Schematics is here: https://ww1.microchip.com/downloads/en/DeviceDoc/ATtiny416_Xplained_Nano_Schematics.pdf Also when connecting to my devkit over serial port with Minicom (9600-8-N-1) i get "nak" from the board. So the board and connection to the board works fine. This clearly indicates problem with avrdude. Probably it has hardcoded VID:PID pairs. Maybe they are part of the configuration files. Also I noticed that we have two ports devel/arduino-avrdude-6.3 and devel/avrdude-6.4. Work in progress :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info