Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Apr 2022 07:34:56 +0200
From:      Axel Rau <Axel.Rau@Chaos1.DE>
To:        Tomek CEDRO <tomek@cedro.info>
Cc:        Hans Petter Selasky <hps@selasky.org>, hardware@freebsd.org
Subject:   Re: timeouts on USB ISP programmer
Message-ID:  <5E302425-D601-4C5D-B8B6-E6295B242B66@Chaos1.DE>
In-Reply-To: <CAFYkXjkoUviaDZarMxr_8C2jD3yN_ajB90=j5TvPn8Q0ACO7xA@mail.gmail.com>
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> <CAFYkXj=HMdxZG%2B8x0gpLCDy8cbu_qOpFqcN37RO9EG=WOBHkqw@mail.gmail.com> <CAFYkXjmjnFX1a3%2BCQxAxdwX=-oASSEWLdzrmx=%2B4QbX3_Og2Gw@mail.gmail.com> <CAFYkXjmgLi0F4gLVWQxtVwS6tCXCni%2BxU2-7KQM4ve%2B%2B-aEiBw@mail.gmail.com> <CAFYkXjnG5uOzF5_BbNZUgzBzTN8hpU9RmTTh1h_KDZ0EonZgEQ@mail.gmail.com> <CAFYkXjnbneNUszR8ZwS50xY8924uvCQyYQ9d3ohT_t1HZrjmDw@mail.gmail.com> <CAFYkXjmf8DpZw5hQ6Cc_FBurHufKNHhKGYiXpK%2BArB0SGCbqsg@mail.gmail.com> <7CDFB049-241F-4C31-A7B1-A7D6BDE6A002@Chaos1.DE> <CAFYkXjnwvba60u3_tRMReEiyb5dohNZDLoenZWieNB2q_c_-0w@mail.gmail.com> <24AA646A-698B-4D41-9668-3F9F99732D02@Chaos1.DE> <CAFYkXjk2TgdC65j1YZqYw2AHn2zMVR2uZ52NTF8jTGVPRV60sg@mail.gmail.com> <1A94816D-E3C1-4488-A5A9-784BAC68AE74@Chaos1.DE> <CAFYkXjkCZopGV2vOEtzNg_Ut76WuyHQ5NxxVOjoY-Sy-QNuGHw@mail.gmail.com> <FF735DA2-B675-4E3D-B247-E1E3CAD735CF@Chaos1.DE> <CAFYkXj=w6aTh8LGy_aE26fB-1brjgEHr_VRfugggBP5FmooNow@mail.gmail.com> <EB9AB05C-3095-4419-9FF3-43E853923ABC@Chaos1.DE> <CAFYkXjk=9iEg%2B2pTZrmJVVNgUQJi%2BJYzs2xExyDDJ4Po_W8Bpg@mail.gmail.com> <13D17C8D-D67B-47E8-BB64-A8E32267C669@Chaos1.DE> <CAFYkXjnypDg=7WzTZQbvORJwq0XjtSA9bpyS=BYgVLjYZ6-r=A@mail.gmail.com> <BF8BDA54-4BC0-4B61-9330-600047FC7A05@Chaos1.DE> <CAFYkXjkoUviaDZarMxr_8C2jD3yN_ajB90=j5TvPn8Q0ACO7xA@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--Apple-Mail=_419A7FE8-6CBF-4370-A5BB-8B5582926971
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=utf-8



> Am 11.04.2022 um 01:28 schrieb Tomek CEDRO <tomek@cedro.info>:
>=20
> On Mon, Apr 11, 2022 at 1:08 AM Axel Rau <Axel.Rau@chaos1.de> wrote:
>> Am 10.04.2022 um 23:59 schrieb Tomek CEDRO <tomek@cedro.info>:
>>> Okay, your local `~/.avrduderc` configuration needs an update. Remove
>>> all from file and put only this:
>>>=20
>>> default_programmer =3D "diamex-avr-usb";
>>> programmer
>>> id    =3D "diamex-avr-usb";
>>> desc  =3D "Diamex AVR USB Programmer";
>>> type  =3D  "stk500v2";
>>> connection_type =3D usb;
>>> usbvid     =3D 0x16c0;
>>> usbpid     =3D 0x2a9b;
>>> ;
>>>=20
>>> Then run:
>> avrdude -c diamex-avr-usb -p t85 -vvv -t
>>=20
>> root@home2l:~ # avrdude -c diamex-avr-usb -p t85 -vvv -t
>>=20
>> avrdude: Version 6.4
>>         Copyright (c) Brian Dean, http://www.bdmicro.com/
>>         Copyright (c) Joerg Wunsch
>>=20
>>         System wide configuration file is "/usr/local/etc/avrdude.conf=
"
>>         User configuration file is "/root/.avrduderc"
>>=20
>>         Using Port                    : usb
>>         Using Programmer              : diamex-avr-usb
>> avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x21=
04)
>>=20
>> avrdude done.  Thank you.
>>=20
>> root@home2l:~ # avrdude  -p t85 -vvv -t
>>=20
>> avrdude: Version 6.4
>>         Copyright (c) Brian Dean, http://www.bdmicro.com/
>>         Copyright (c) Joerg Wunsch
>>=20
>>         System wide configuration file is "/usr/local/etc/avrdude.conf=
"
>>         User configuration file is "/root/.avrduderc"
>>=20
>>         Using Port                    : usb
>>         Using Programmer              : diamex-avr-usb
>> avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x21=
04)
>>=20
>> avrdude done.  Thank you.
>>=20
>> root@home2l:~ # cat ~/.avrduderc
>> default_programmer =3D "diamex-avr-usb";
>> programmer
>> id    =3D "diamex-avr-usb";
>> desc  =3D "Diamex AVR USB Programmer";
>> type  =3D  "stk500v2";
>> connection_type =3D usb;
>> usbvid     =3D 0x03eb;
>> usbpid     =3D 0x2104;
>> ;
>> - - -
>> usbvid and usbpid are ignored:
>> - - -
>=20
> Why do you think VID:PID is ignored?
Because it does not matter, what I put into usbvid/usbpid, the resulting =
error message is always:
- - -
avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)
- - -
Why that 0x03eb:0x2104 in the error message?

> You have entered different
> VID:PID in the configuration than I have provided.

I provided 3 results with different usbvid/usbpid, the 1st one was your =
advice. Sorry, if I was unclear.
Again this is the variant, you provided with the result:
- - -
root@home2l:~ #	cat ~/.avrduderc
default_programmer =3D "diamex-avr-usb";
programmer
 id    =3D "diamex-avr-usb";
 desc  =3D "Diamex AVR USB Programmer";
 type  =3D  "stk500v2";
 connection_type =3D usb;
 usbvid     =3D 0x16c0;
 usbpid     =3D 0x2a9b;
;

root@home2l:~ #	avrdude -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                    : usb
         Using Programmer              : diamex-avr-usb
avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104)

avrdude done.  Thank you.

>=20
> default_programmer =3D "diamex-avr-usb";
> programmer
>  id    =3D "diamex-avr-usb";
>  desc  =3D "Diamex AVR USB Programmer";
>  type  =3D  "stk500v2";
>  connection_type =3D usb;
>  usbvid     =3D 0x16c0;
>  usbpid     =3D 0x2a9b;
> ;
>=20
> You need to provide VID:PID of Your Diamex interface that is
> VID=3D0x16c0 PID=3D0x2a9b. Your configuration contains VID=3D0x03eb
> PID=3D0x2104 this is why interface cannot be found. Please copy-paste
> exactly as provided above.
>=20
> Where I know VID:PID of your interface? From previous message.
>=20
> root@home2l:/ # usbconfig -d 0.4 dump_device_desc
> ugen0.4: <ERFOS AVR-ISP2> at usbus0, cfg=3D0 md=3DHOST spd=3DFULL =
(12Mbps)
> pwr=3DON (500mA)
>=20
>  bLength =3D 0x0012
>  bDescriptorType =3D 0x0001
>  bcdUSB =3D 0x0200
>  bDeviceClass =3D 0x0002  <Communication device>
>  bDeviceSubClass =3D 0x0000
>  bDeviceProtocol =3D 0x0000
>  bMaxPacketSize0 =3D 0x0040
>  idVendor =3D 0x16c0 <-- THIS IS USB VID
>  idProduct =3D 0x2a9b  <-- THIS IS USB PID
>  bcdDevice =3D 0x4340
>  iManufacturer =3D 0x0001  <ERFOS>
>  iProduct =3D 0x0002  <AVR-ISP2>
>  iSerialNumber =3D 0x0003  <19331-49101-552>
>  bNumConfigurations =3D 0x0001


OK. Thanks for the explanation.

Axel
=2D--
PGP-Key: CDE74120  =E2=98=80  computing @ chaos claudius


--Apple-Mail=_419A7FE8-6CBF-4370-A5BB-8B5582926971
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 11.04.2022 um 01:28 schrieb Tomek CEDRO &lt;<a href=3D"mailto:tomek@ce=
dro.info" class=3D"">tomek@cedro.info</a>&gt;:</div><br class=3D"Apple-in=
terchange-newline"><div class=3D""><div class=3D"">On Mon, Apr 11, 2022 =
at 1:08 AM Axel Rau &lt;<a href=3D"mailto:Axel.Rau@chaos1.de" class=3D"">=
Axel.Rau@chaos1.de</a>&gt; wrote:<br class=3D""><blockquote type=3D"cite"=
 class=3D"">Am 10.04.2022 um 23:59 schrieb Tomek CEDRO &lt;<a href=3D"mai=
lto:tomek@cedro.info" class=3D"">tomek@cedro.info</a>&gt;:<br class=3D"">=
<blockquote type=3D"cite" class=3D"">Okay, your local `~/.avrduderc` =
configuration needs an update. Remove<br class=3D"">all from file and =
put only this:<br class=3D""><br class=3D"">default_programmer =3D =
"diamex-avr-usb";<br class=3D"">programmer<br class=3D""> id &nbsp;&nbsp;=
&nbsp;=3D "diamex-avr-usb";<br class=3D""> desc &nbsp;=3D "Diamex AVR =
USB Programmer";<br class=3D""> type &nbsp;=3D &nbsp;"stk500v2";<br =
class=3D""> connection_type =3D usb;<br class=3D""> usbvid &nbsp;&nbsp;&n=
bsp;&nbsp;=3D 0x16c0;<br class=3D""> usbpid &nbsp;&nbsp;&nbsp;&nbsp;=3D =
0x2a9b;<br class=3D"">;<br class=3D""><br class=3D"">Then run:<br =
class=3D""></blockquote>avrdude -c diamex-avr-usb -p t85 -vvv -t<br =
class=3D""><br class=3D"">root@home2l:~ # avrdude -c diamex-avr-usb -p =
t85 -vvv -t<br class=3D""><br class=3D"">avrdude: Version 6.4<br =
class=3D""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copyright =
(c) Brian Dean, <a href=3D"http://www.bdmicro.com/" class=3D"">http://www=
.bdmicro.com/</a><br class=3D""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;&nbsp;Copyright (c) Joerg Wunsch<br class=3D""><br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System wide configuration=
 file is "/usr/local/etc/avrdude.conf"<br class=3D""> &nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;User configuration file is "/root/.avrduderc=
"<br class=3D""><br class=3D""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;Using Port &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;: usb<br =
class=3D""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Using =
Programmer &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;&nbsp;: diamex-avr-usb<br class=3D"">avrdude: usbdev_open(): =
did not find any USB device "usb" (0x03eb:0x2104)<br class=3D""><br =
class=3D"">avrdude done. &nbsp;Thank you.<br class=3D""><br class=3D"">ro=
ot@home2l:~ # avrdude &nbsp;-p t85 -vvv -t<br class=3D""><br class=3D"">a=
vrdude: Version 6.4<br class=3D""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n=
bsp;&nbsp;Copyright (c) Brian Dean, <a href=3D"http://www.bdmicro.com/" =
class=3D"">http://www.bdmicro.com/</a><br class=3D""> &nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Copyright (c) Joerg Wunsch<br class=3D""><br=
 class=3D""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;System wide =
configuration file is "/usr/local/etc/avrdude.conf"<br class=3D""> =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;User configuration file =
is "/root/.avrduderc"<br class=3D""><br class=3D""> &nbsp;&nbsp;&nbsp;&nb=
sp;&nbsp;&nbsp;&nbsp;&nbsp;Using Port &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp=
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;: usb<br class=3D""> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs=
p;Using Programmer &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;=
&nbsp;&nbsp;&nbsp;&nbsp;: diamex-avr-usb<br class=3D"">avrdude: usbdev_op=
en(): did not find any USB device "usb" (0x03eb:0x2104)<br class=3D""><br=
 class=3D"">avrdude done. &nbsp;Thank you.<br class=3D""><br class=3D"">r=
oot@home2l:~ # cat ~/.avrduderc<br class=3D"">default_programmer =3D =
"diamex-avr-usb";<br class=3D"">programmer<br class=3D""> id &nbsp;&nbsp;=
&nbsp;=3D "diamex-avr-usb";<br class=3D""> desc &nbsp;=3D "Diamex AVR =
USB Programmer";<br class=3D""> type &nbsp;=3D &nbsp;"stk500v2";<br =
class=3D""> connection_type =3D usb;<br class=3D"">usbvid &nbsp;&nbsp;&nb=
sp;&nbsp;=3D 0x03eb;<br class=3D"">usbpid &nbsp;&nbsp;&nbsp;&nbsp;=3D =
0x2104;<br class=3D"">;<br class=3D"">- - -<br class=3D"">usbvid and =
usbpid are ignored:<br class=3D"">- - -<br class=3D""></blockquote><br =
class=3D"">Why do you think VID:PID is ignored?</div></div></blockquote><=
div>Because it does not matter, what I put into usbvid/usbpid, the =
resulting error message is always:</div><div><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"">- - -</span></div=
><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 USB device =
"usb" (0x03eb:0x2104)</span></div></div><div><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"">- - -</span></di=
v><div class=3D""><span style=3D"font-variant-ligatures: no-common-ligatu=
res;" class=3D"">Why that&nbsp;</span><span style=3D"font-family: =
Monaco; font-size: 11px; background-color: rgb(255, 255, 255);" class=3D"=
">0x03eb:0x2104 in the error message?</span></div><div class=3D""><span =
style=3D"font-family: Monaco; font-size: 11px; background-color: =
rgb(255, 255, 255);" class=3D""><br class=3D""></span></div></div><blockq=
uote type=3D"cite" class=3D""><div class=3D""><div class=3D""> You have =
entered different<br class=3D"">VID:PID in the configuration than I have =
provided.<br class=3D""></div></div></blockquote><br class=3D"">I =
provided 3 results with different usbvid/usbpid, the 1st one was your =
advice. Sorry, if I was unclear.</div><div>Again this is the variant, =
you provided with the result:</div><div>- - -</div><div><div style=3D"mar=
gin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; =
font-family: Monaco; background-color: rgb(255, 255, 255);" class=3D""><s=
pan style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">root=
@home2l:~ #<span class=3D"Apple-tab-span" style=3D"white-space:pre">	</sp=
an>cat ~/.avrduderc</span></div><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-var=
iant-ligatures: no-common-ligatures" class=3D"">default_programmer =3D =
"diamex-avr-usb";</span></div><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-var=
iant-ligatures: no-common-ligatures" class=3D"">programmer</span></div><d=
iv style=3D"margin: 0px; font-stretch: normal; font-size: 11px; line-heig=
ht: normal; font-family: Monaco; background-color: rgb(255, 255, 255);" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;id&nbsp; &nbsp; =3D "diamex-avr-usb";</span></div><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"">&nbsp;desc&nbsp; =3D "Diamex AVR USB Programmer";</span></div>=
<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"">&nbsp;type&nbsp; =3D&nbsp; "stk500v2";</span></div><=
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"">&nbsp;connection_type =3D usb;</span></div><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"">&nbsp;usbvid &nbsp; &nbsp; =3D 0x16c0;</span></div><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"">&nbsp;usbpid &nbsp; &nbsp; =3D 0x2a9b;</span></div><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"">;</span></div><div style=3D"margin: 0px; font-stretch: =
normal; font-size: 11px; line-height: normal; font-family: Monaco; =
background-color: rgb(255, 255, 255); min-height: 15px;" class=3D""><span=
 style=3D"font-variant-ligatures: no-common-ligatures" class=3D""></span>=
<br class=3D""></div><div style=3D"margin: 0px; font-stretch: normal; =
font-size: 11px; line-height: normal; font-family: Monaco; background-col=
or: rgb(255, 255, 255); min-height: 15px;" class=3D""><div style=3D"margi=
n: 0px; font-stretch: normal; line-height: normal;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">root@hom=
e2l:~ #<span class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>a=
vrdude -p t85 -vvv -t</span></div><div style=3D"margin: 0px; font-stretch=
: normal; line-height: normal; min-height: 15px;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D""></span><=
br class=3D""></div><div style=3D"margin: 0px; font-stretch: normal; =
line-height: normal;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">avrdude: Version 6.4</span></div><div =
style=3D"margin: 0px; font-stretch: normal; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; Copyright (c) Brian Dean, =
<a href=3D"http://www.bdmicro.com/" class=3D"">http://www.bdmicro.com/</a=
></span></div><div style=3D"margin: 0px; font-stretch: normal; line-heigh=
t: normal;" class=3D""><span style=3D"font-variant-ligatures: no-common-l=
igatures" class=3D"">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; Copyright (c) =
Joerg Wunsch</span></div><div style=3D"margin: 0px; font-stretch: =
normal; line-height: normal; min-height: 15px;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D""></span><=
br class=3D""></div><div style=3D"margin: 0px; font-stretch: normal; =
line-height: normal;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; System =
wide configuration file is "/usr/local/etc/avrdude.conf"</span></div><div=
 style=3D"margin: 0px; font-stretch: normal; line-height: normal;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; User configuration file is =
"/root/.avrduderc"</span></div><div style=3D"margin: 0px; font-stretch: =
normal; line-height: normal; min-height: 15px;" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D""></span><=
br class=3D""></div><div style=3D"margin: 0px; font-stretch: normal; =
line-height: normal;" class=3D""><span style=3D"font-variant-ligatures: =
no-common-ligatures" class=3D"">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; Using =
Port&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =
&nbsp; : usb</span></div><div style=3D"margin: 0px; font-stretch: =
normal; line-height: normal;" class=3D""><span style=3D"font-variant-liga=
tures: no-common-ligatures" class=3D"">&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; =
Using Programmer&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; : =
diamex-avr-usb</span></div><div style=3D"margin: 0px; font-stretch: =
normal; line-height: normal;" class=3D""><span style=3D"font-variant-liga=
tures: no-common-ligatures" class=3D"">avrdude: usbdev_open(): did not =
find any USB device "usb" (0x03eb:0x2104)</span></div><div style=3D"margi=
n: 0px; font-stretch: normal; line-height: normal; min-height: 15px;" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D""></span><br class=3D""></div><div style=3D"margin: 0px; =
font-stretch: normal; line-height: normal;" class=3D""><span style=3D"fon=
t-variant-ligatures: no-common-ligatures" class=3D"">avrdude done.&nbsp; =
Thank you.</span></div><div class=3D""><span style=3D"font-variant-ligatu=
res: no-common-ligatures" class=3D""><br class=3D""></span></div></div><b=
lockquote type=3D"cite" class=3D""><div class=3D""><div class=3D""><br =
class=3D"">default_programmer =3D "diamex-avr-usb";<br class=3D"">program=
mer<br class=3D""> &nbsp;id &nbsp;&nbsp;&nbsp;=3D "diamex-avr-usb";<br =
class=3D""> &nbsp;desc &nbsp;=3D "Diamex AVR USB Programmer";<br =
class=3D""> &nbsp;type &nbsp;=3D &nbsp;"stk500v2";<br class=3D""> =
&nbsp;connection_type =3D usb;<br class=3D""> &nbsp;usbvid &nbsp;&nbsp;&n=
bsp;&nbsp;=3D 0x16c0;<br class=3D""> &nbsp;usbpid &nbsp;&nbsp;&nbsp;&nbsp=
;=3D 0x2a9b;<br class=3D"">;<br class=3D""><br class=3D"">You need to =
provide VID:PID of Your Diamex interface that is<br class=3D"">VID=3D0x16=
c0 PID=3D0x2a9b. Your configuration contains VID=3D0x03eb<br class=3D"">P=
ID=3D0x2104 this is why interface cannot be found. Please copy-paste<br =
class=3D"">exactly as provided above.<br class=3D""><br class=3D"">Where =
I know VID:PID of your interface? From previous message.<br class=3D""><b=
r class=3D"">root@home2l:/ # usbconfig -d 0.4 dump_device_desc<br =
class=3D"">ugen0.4: &lt;ERFOS AVR-ISP2&gt; at usbus0, cfg=3D0 md=3DHOST =
spd=3DFULL (12Mbps)<br class=3D"">pwr=3DON (500mA)<br class=3D""><br =
class=3D""> &nbsp;bLength =3D 0x0012<br class=3D""> &nbsp;bDescriptorType=
 =3D 0x0001<br class=3D""> &nbsp;bcdUSB =3D 0x0200<br class=3D""> =
&nbsp;bDeviceClass =3D 0x0002 &nbsp;&lt;Communication device&gt;<br =
class=3D""> &nbsp;bDeviceSubClass =3D 0x0000<br class=3D""> &nbsp;bDevice=
Protocol =3D 0x0000<br class=3D""> &nbsp;bMaxPacketSize0 =3D 0x0040<br =
class=3D""> &nbsp;idVendor =3D 0x16c0 &lt;-- THIS IS USB VID<br class=3D"=
"> &nbsp;idProduct =3D 0x2a9b &nbsp;&lt;-- THIS IS USB PID<br class=3D"">=
 &nbsp;bcdDevice =3D 0x4340<br class=3D""> &nbsp;iManufacturer =3D =
0x0001 &nbsp;&lt;ERFOS&gt;<br class=3D""> &nbsp;iProduct =3D 0x0002 =
&nbsp;&lt;AVR-ISP2&gt;<br class=3D""> &nbsp;iSerialNumber =3D 0x0003 =
&nbsp;&lt;19331-49101-552&gt;<br class=3D""> &nbsp;bNumConfigurations =
=3D 0x0001<br class=3D""></div></div></blockquote></div><div class=3D""><=
br class=3D""></div>OK. Thanks for the explanation.<div class=3D""><br =
class=3D""></div><div class=3D"">Axel<br class=3D""><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:&nbsp;CDE74120 &nbsp;=E2=98=80 =
&nbsp;computing @ chaos claudius</div></div></div></div></div></div>
</div>
<br class=3D""></div></body></html>

--Apple-Mail=_419A7FE8-6CBF-4370-A5BB-8B5582926971--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5E302425-D601-4C5D-B8B6-E6295B242B66>