Date: Thu, 7 Apr 2022 13:33:18 +0200 From: Axel Rau <Axel.Rau@chaos1.de> To: hardware@freebsd.org Subject: timeouts on USB ISP programmer Message-ID: <3A781DFA-1E2C-41A5-8053-C90A806244DC@Chaos1.DE>
next in thread | raw e-mail | index | archive | help
Hi all, 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 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 : /dev/cuau1 Using Programmer : stk500v2 Setting isp clock delay : 10 avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_ReceiveMessage(): timeout avrdude: stk500v2_getsync(): timeout communicating with programmer AVR Part : ATtiny85 Chip Erase delay : 4500 us PAGEL : P00 BS2 : P00 RESET disposition : possible i/o RETRY pulse : SCK serial program mode : yes parallel program mode : yes Timeout : 200 StabDelay : 100 CmdexeDelay : 25 SyncLoops : 32 ByteDelay : 0 PollIndex : 3 PollValue : 0x53 Memory Detail : Block Poll Page = Polled Memory Type Mode Delay Size Indx Paged Size Size #Pages = MinW MaxW ReadBack ----------- ---- ----- ----- ---- ------ ------ ---- ------ = ----- ----- --------- eeprom 65 6 4 0 no 512 4 0 = 4000 4500 0xff 0xff flash 65 6 32 0 yes 8192 64 128 = 4500 4500 0xff 0xff signature 0 0 0 0 no 3 1 0 = 0 0 0x00 0x00 lock 0 0 0 0 no 1 1 0 = 9000 9000 0x00 0x00 lfuse 0 0 0 0 no 1 1 0 = 9000 9000 0x00 0x00 hfuse 0 0 0 0 no 1 1 0 = 9000 9000 0x00 0x00 efuse 0 0 0 0 no 1 1 0 = 9000 9000 0x00 0x00 calibration 0 0 0 0 no 1 1 0 = 0 0 0x00 0x00 Programmer Type : STK500V2 Description : Atmel STK500 Version 2.x firmware Programmer Model: Unknown avrdude: stk500v2_ReceiveMessage(): timeout . . . avrdude: stk500v2_getsync(): timeout communicating with programmer avrdude: stk500v2_command(): failed miserably to execute command 0x11 avrdude: stk500v2_disable(): failed to leave programming mode root@home2l:/ # usbconfig ugen0.1: <0x8086 XHCI root HUB> at usbus0, cfg=3D0 md=3DHOST spd=3DSUPER = (5.0Gbps) pwr=3DSAVE (0mA) ugen0.2: <vendor 0x046a product 0x0023> at usbus0, cfg=3D0 md=3DHOST = spd=3DLOW (1.5Mbps) pwr=3DON (100mA) ugen0.3: <Logitech USB Optical Mouse> at usbus0, cfg=3D0 md=3DHOST = spd=3DLOW (1.5Mbps) pwr=3DON (100mA) ugen0.4: <ERFOS AVR-ISP2> at usbus0, cfg=3D0 md=3DHOST spd=3DFULL = (12Mbps) pwr=3DON (500mA) root@home2l:/ # usbconfig -d ugen0.4 dump_device_desc ugen0.4: <ERFOS AVR-ISP2> at usbus0, cfg=3D0 md=3DHOST spd=3DFULL = (12Mbps) pwr=3DON (500mA) bLength =3D 0x0012=20 bDescriptorType =3D 0x0001=20 bcdUSB =3D 0x0200=20 bDeviceClass =3D 0x0002 <Communication device> bDeviceSubClass =3D 0x0000=20 bDeviceProtocol =3D 0x0000=20 bMaxPacketSize0 =3D 0x0040=20 idVendor =3D 0x16c0=20 idProduct =3D 0x2a9b=20 bcdDevice =3D 0x4340=20 iManufacturer =3D 0x0001 <ERFOS> iProduct =3D 0x0002 <AVR-ISP2> iSerialNumber =3D 0x0003 <19331-49101-552> bNumConfigurations =3D 0x0001=20 - - - Loading uftdi.ko did not help. Any help appreciated, Axel =2D-- PGP-Key: CDE74120 =E2=98=80 computing @ chaos claudius
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3A781DFA-1E2C-41A5-8053-C90A806244DC>