Re: timeouts on USB ISP programmer
- Reply: Axel Rau : "Re: timeouts on USB ISP programmer"
- In reply to: Axel Rau : "Re: timeouts on USB ISP programmer"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 10 Apr 2022 23:28:46 UTC
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: >> >> 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 > > root@home2l:~ # avrdude -c diamex-avr-usb -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. > > 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. > > root@home2l:~ # cat ~/.avrduderc > default_programmer = "diamex-avr-usb"; > programmer > id = "diamex-avr-usb"; > desc = "Diamex AVR USB Programmer"; > type = "stk500v2"; > connection_type = usb; > usbvid = 0x03eb; > usbpid = 0x2104; > ; > - - - > usbvid and usbpid are ignored: > - - - Why do you think VID:PID is ignored? You have entered different VID:PID in the configuration than I have provided. default_programmer = "diamex-avr-usb"; programmer id = "diamex-avr-usb"; desc = "Diamex AVR USB Programmer"; type = "stk500v2"; connection_type = usb; usbvid = 0x16c0; usbpid = 0x2a9b; ; You need to provide VID:PID of Your Diamex interface that is VID=0x16c0 PID=0x2a9b. Your configuration contains VID=0x03eb PID=0x2104 this is why interface cannot be found. Please copy-paste exactly as provided above. Where I know VID:PID of your interface? From previous message. root@home2l:/ # usbconfig -d 0.4 dump_device_desc ugen0.4: <ERFOS AVR-ISP2> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (500mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0002 <Communication device> bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0000 bMaxPacketSize0 = 0x0040 idVendor = 0x16c0 <-- THIS IS USB VID idProduct = 0x2a9b <-- THIS IS USB PID bcdDevice = 0x4340 iManufacturer = 0x0001 <ERFOS> iProduct = 0x0002 <AVR-ISP2> iSerialNumber = 0x0003 <19331-49101-552> bNumConfigurations = 0x0001 -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info