Date: Sun, 10 Apr 2022 23:59:02 +0200 From: Tomek CEDRO <tomek@cedro.info> To: Axel Rau <Axel.Rau@chaos1.de> Cc: Hans Petter Selasky <hps@selasky.org>, hardware@freebsd.org Subject: Re: timeouts on USB ISP programmer Message-ID: <CAFYkXjnypDg=7WzTZQbvORJwq0XjtSA9bpyS=BYgVLjYZ6-r=A@mail.gmail.com> In-Reply-To: <13D17C8D-D67B-47E8-BB64-A8E32267C669@Chaos1.DE> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Apr 10, 2022 at 10:46 PM Axel Rau <Axel.Rau@chaos1.de> wrote: > root@home2l:~ # avrdude -c stk500v2 -p t85 -vvv -t -P usb > > 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" > User configuration file does not exist or is not a regular file, skipping > > Using Port : usb > Using Programmer : stk500v2 > avrdude: usbdev_open(): did not find any USB device "usb" (0x03eb:0x2104) Okay, your local `~/.avrduderc` configuration needs an update. Remove all from file and put only this: default_programmer = "diamex-avr-usb"; programmer id = "diamex-avr-usb"; desc = "Diamex AVR USB Programmer"; type = "stk500v2"; connection_type = usb; usbvid = 0x16c0; usbpid = 0x2a9b; ; Then run: avrdude -c diamex-avr-usb -p t85 -vvv -t Configuration will define a new Programmer, that is STK500v2 compatible (not FT2232), will provide VID:PID pair, and will tell to use USB connection as default :-) Because default_programmer is set to diamex-avr-usb it may not be even necessary to provide `-c diamex-avr-usb` just `avrdude -p t85 -t` :-) -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXjnypDg=7WzTZQbvORJwq0XjtSA9bpyS=BYgVLjYZ6-r=A>