Date: Thu, 7 Apr 2022 15:46:21 +0200 From: Axel Rau <Axel.Rau@chaos1.de> To: Hans Petter Selasky <hps@selasky.org> Cc: hardware@freebsd.org Subject: Re: timeouts on USB ISP programmer Message-ID: <976BDBEB-8B57-4541-A0B7-3F2C89498DC6@Chaos1.DE> In-Reply-To: <9334c4f0-3ecf-c046-420f-516e39379981@selasky.org> References: <3A781DFA-1E2C-41A5-8053-C90A806244DC@Chaos1.DE> <34a747ea-2ee5-660f-71c6-dc00d5de337f@selasky.org> <9334c4f0-3ecf-c046-420f-516e39379981@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_A22F0B2F-2B70-4528-A864-7AE8426BF8ED Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 > Am 07.04.2022 um 15:26 schrieb Hans Petter Selasky <hps@selasky.org>: >=20 > On 4/7/22 14:12, Hans Petter Selasky wrote: >> On 4/7/22 13:33, Axel Rau wrote: >>> Hi all, >>>=20 >>> 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 >>>=20 >>> avrdude: Version 6.4 >>> Copyright (c) Brian Dean, http://www.bdmicro.com/ >>> Copyright (c) Joerg Wunsch >>>=20 >=20 > Try: >=20 > -P usb >=20 > See manual page: > > port can alternatively be > > specified as usb[:serialno]. This will cause = avrdude to > > search the programmer on USB. Hmm. What mewans =E2=80=99serial=E2=80=99 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: =E2=80=9Acommunication device A. =2D-- PGP-Key: CDE74120 =E2=98=80 computing @ chaos claudius --Apple-Mail=_A22F0B2F-2B70-4528-A864-7AE8426BF8ED Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=utf-8 <html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; = charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; -webkit-nbs= p-mode: space; line-break: after-white-space;" class=3D""><br class=3D"">= <div><br class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">= Am 07.04.2022 um 15:26 schrieb Hans Petter Selasky <<a href=3D"mailto:= hps@selasky.org" class=3D"">hps@selasky.org</a>>:</div><br class=3D"Ap= ple-interchange-newline"><div class=3D""><div class=3D"">On 4/7/22 = 14:12, Hans Petter Selasky wrote:<br class=3D""><blockquote type=3D"cite"= class=3D"">On 4/7/22 13:33, Axel Rau wrote:<br class=3D""><blockquote = type=3D"cite" class=3D"">Hi all,<br class=3D""><br class=3D"">my = DIAMEX-AVR-USB gets timeouts while talking to the target:<br class=3D"">-= - -<br class=3D"">root@home2l:/ # avrdude -c stk500v2 = -p t85 -P /dev/cuau1 -t -v -i 10<br class=3D""><br class=3D"">avrdude: = Version 6.4<br class=3D"">  = ; Copyright (c) Brian Dean, <a href=3D"http://www.bdmicro.com/" = class=3D"">http://www.bdmicro.com/</a><br class=3D""> &n= bsp; Copyright (c) Joerg Wunsch<br = class=3D""><br class=3D""></blockquote></blockquote><br class=3D"">Try:<b= r class=3D""><br class=3D"">-P usb<br class=3D""><br class=3D"">See = manual page:<br class=3D"">><span class=3D"Apple-tab-span" style=3D"wh= ite-space:pre"> </span><span class=3D"Apple-tab-span" style=3D"white-spac= e:pre"> </span>port can alternatively be<br class=3D"">> &= nbsp; &n= bsp; specified as usb[:serialno]. This will = cause avrdude to<br class=3D"">> &= nbsp; &n= bsp;search the programmer on USB.<br class=3D""></div></div></blockquote>= </div><div class=3D""><br class=3D""></div>Hmm. What mewans =E2=80=99seri= al=E2=80=99 in this case?<div class=3D""><br class=3D""></div><div = class=3D""><div style=3D"margin: 0px; font-stretch: normal; font-size: = 11px; line-height: normal; font-family: Monaco; background-color: = rgb(255, 255, 255);" class=3D""><span style=3D"font-variant-ligatures: = no-common-ligatures" class=3D"">avrdude: usbdev_open(): did not find any = (matching) USB device "usb:0" (0x03eb:0x2104)</span></div><div class=3D""= ><span style=3D"font-variant-ligatures: no-common-ligatures" class=3D""><= div style=3D"margin: 0px; font-stretch: normal; font-size: 11px; = line-height: normal; font-family: Monaco; background-color: rgb(255, = 255, 255);" class=3D""><span style=3D"font-variant-ligatures: no-common-l= igatures" class=3D"">avrdude: usbdev_open(): did not find any (matching) = USB device "usb:4" (0x03eb:0x2104)</span></div><div class=3D""><span = style=3D"font-variant-ligatures: no-common-ligatures" class=3D""><div = style=3D"margin: 0px; font-stretch: normal; font-size: 11px; line-height:= normal; font-family: Monaco; background-color: rgb(255, 255, 255);" = class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" = class=3D"">avrdude: usbdev_open(): did not find any (matching) USB = device "usb:" (0x03eb:0x2104)</span></div><div class=3D""><span style=3D"= font-variant-ligatures: no-common-ligatures" class=3D""><br class=3D""></= span></div><div class=3D""><span style=3D"font-variant-ligatures: = no-common-ligatures" class=3D"">The avrdude package did install </sp= an><span style=3D"font-family: Monaco; font-size: 11px; background-color:= rgb(255, 255, 255);" class=3D"">libftdi1, so I think its just an = USB-to-serial converter?</span></div><div class=3D""><span style=3D"backg= round-color: rgb(255, 255, 255);" class=3D""><font face=3D"Monaco" = class=3D""><span style=3D"font-size: 11px;" class=3D"">usbconfig = said: =E2=80=9Acommunication device</span></font></span></div><div = class=3D""><span style=3D"background-color: rgb(255, 255, 255);" = class=3D""><font face=3D"Monaco" class=3D""><span style=3D"font-size: = 11px;" class=3D""><br class=3D""></span></font></span></div><div = class=3D""><span style=3D"background-color: rgb(255, 255, 255);" = class=3D""><font face=3D"Monaco" class=3D""><span style=3D"font-size: = 11px;" class=3D"">A.</span></font></span></div></span></div></span></div>= <div class=3D""> <div dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, = 0); letter-spacing: normal; text-align: start; text-indent: 0px; = text-transform: none; white-space: normal; word-spacing: 0px; -webkit-tex= t-stroke-width: 0px; text-decoration: none; word-wrap: break-word; = -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><div= dir=3D"auto" style=3D"caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0); = letter-spacing: normal; text-align: start; text-indent: 0px; text-transfo= rm: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-wid= th: 0px; text-decoration: none; word-wrap: break-word; -webkit-nbsp-mode:= space; line-break: after-white-space;" class=3D""><div style=3D"color: = rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: = 0px; text-transform: none; white-space: normal; word-spacing: 0px; = -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode:= space; line-break: after-white-space;" class=3D""><div style=3D"color: = rgb(0, 0, 0); letter-spacing: normal; text-align: start; text-indent: = 0px; text-transform: none; white-space: normal; word-spacing: 0px; = -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode:= space; line-break: after-white-space;" class=3D""><div style=3D"color: = rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant-li= gatures: normal; font-variant-position: normal; font-variant-caps: = normal; font-variant-numeric: normal; font-variant-alternates: normal; = font-variant-east-asian: normal; font-weight: normal; letter-spacing: = normal; line-height: normal; orphans: 2; text-align: -webkit-auto; = text-indent: 0px; text-transform: none; white-space: normal; widows: 2; = word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word;= -webkit-nbsp-mode: space; line-break: after-white-space;" class=3D""><di= v class=3D"">---<br class=3D"">PGP-Key: CDE74120 =E2=98=80 = computing @ chaos claudius</div></div></div></div></div></div> </div> <br class=3D""></div></body></html> --Apple-Mail=_A22F0B2F-2B70-4528-A864-7AE8426BF8ED--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?976BDBEB-8B57-4541-A0B7-3F2C89498DC6>