From nobody Thu Apr 7 18:20:18 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 42FF01A943BF for ; Thu, 7 Apr 2022 18:20:39 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-oi1-x22d.google.com (mail-oi1-x22d.google.com [IPv6:2607:f8b0:4864:20::22d]) (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 4KZ8nd5s6rz4dPB for ; Thu, 7 Apr 2022 18:20:37 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-oi1-x22d.google.com with SMTP id a19so2004111oie.7 for ; Thu, 07 Apr 2022 11:20:37 -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=oAhkt9cg5iSm0tDLeAIPCMpbRxWePR4MQwRFo1ZCpz0=; b=bQcxh5rkAlM5/GkEqEY96RWiTgh2xm8Qi8WNePb8JzoI1CmuKtbiknnfDjEmlKFSeD qsGHQhydH0hT1g7JBflprAgWkzVJGAlnWVlwRKdc6zqTazyiTFKeoHANBET7T03fk9Zg DEDhZbegP9ogEl4DpiuvgeoGyjo/b8ChR9A/r1VBNCARkvtWCbX+GcpuqQwmu2XMh5OC 1bqBKw8eEJzmWKukgddga5pg6YZuzf90JdLbdFM7+WhKowUsY10iuHANDm9bH/ymUzN8 VTwwVaiO8s+aL7YPYNAXfLDqxCHAOluiRLYmhglcSQ53h84TIpHYuStVkJ4N243yrxea Ishg== 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=oAhkt9cg5iSm0tDLeAIPCMpbRxWePR4MQwRFo1ZCpz0=; b=zIfVF++7364sZDPjG8V1PAYcHtdU6WTs2QdSxORqgFFrdcKCmod0p8NlDgizBsyOKT Axkc2N75iJbUDCMB2mkxG8wGdat5dG/G0R9E3l3s3gxfBWuaB0r7k3HcYLuKD7VEWj/T g7GpKj7Jsykmja3MgrDpED/8+Fp3ryN5zAaQ8DNFSN0bKm7WaifzaBP7CY3ntAqer1gM dlm59wyWQErRLJcMCZfWTqtxeV8pmFR5OgRMgz1bO+9sJqZ9GSNEN2KS8WzL0mIcLqRU 1GXyZRzWxTQUAtIjGvbie103HItvnZYUcbddSr8oIWh8jss0bfVjdEssh4S5/sM0ydvS 6qkA== X-Gm-Message-State: AOAM532Kg7o/hElLlACutiFgNeP0BfHWJxtH5aXeXwCOEgEZAcmIP+B1 OcV+NqZoC8zzOTXTwjReLRPfVTJvc5Nxnbnq X-Google-Smtp-Source: ABdhPJy64F6G9E83+4cTeUz4fcEN9b7eMOe9Hrm6Ee++DBtIKcOdIhuy0QX0B35eQbNHqXZ+XG5P6A== X-Received: by 2002:aca:34d4:0:b0:2ef:89bc:ddf4 with SMTP id b203-20020aca34d4000000b002ef89bcddf4mr6111889oia.142.1649355630856; Thu, 07 Apr 2022 11:20:30 -0700 (PDT) Received: from mail-oo1-f46.google.com (mail-oo1-f46.google.com. [209.85.161.46]) by smtp.gmail.com with ESMTPSA id u22-20020a4ae696000000b0032158ab4ce9sm7506740oot.26.2022.04.07.11.20.29 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 07 Apr 2022 11:20:30 -0700 (PDT) Received: by mail-oo1-f46.google.com with SMTP id p128-20020a4a4886000000b003296205eb59so1066880ooa.7 for ; Thu, 07 Apr 2022 11:20:29 -0700 (PDT) X-Received: by 2002:a4a:3f56:0:b0:324:bc64:6713 with SMTP id x22-20020a4a3f56000000b00324bc646713mr4862796ooe.50.1649355629709; Thu, 07 Apr 2022 11:20:29 -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:20:18 +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: 4KZ8nd5s6rz4dPB X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=bQcxh5rk; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2607:f8b0:4864:20::22d) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-3.22 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; NEURAL_HAM_MEDIUM(-0.96)[-0.956]; 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.97)[-0.966]; RCVD_IN_DNSWL_NONE(0.00)[2607:f8b0:4864:20::22d:from,209.85.161.46: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:2607:f8b0::/32, country:US]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N I have reported an issue on avrdude github project, hope they give us some hints and we all make our devices operational on FreeBSD :-) https://github.com/avrdudes/avrdude/issues/920 Regarding Diamex interface I would try one after another from the list of `-c "?"` until one of them works, then configuration file can be created. If none of them works then a configuration needs to be created from scratch based on existing configuration files. I guess this should be in the vendor interest to have that configuration working out of the box :-) Regarding FT2232H chip I have used that one long ago (~10 years) and created driver for first implementations of SWD for ARM-Cortex devices (under LibSWD project). I even created SPI interface on that chip. I was using KT-LINK interface. FT2232H has two channels, can be used for UART or serial/parallel bitbang. It uses sort of commands to read/write GPIO ports. Technical specification is here: https://www.ftdichip.com/Support/Documents/DataSheets/ICs/DS_FT2232H.pdf -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info