Re: timeouts on USB ISP programmer

From: Axel Rau <Axel.Rau_at_chaos1.de>
Date: Sun, 10 Apr 2022 10:37:33 UTC

> Am 09.04.2022 um 01:39 schrieb Tomek CEDRO <tomek@cedro.info>:
> 
> 
> Long story short:
> * Put both dip-switches to OFF if you use external board (no VCC
> connection required). They may stay ON if you program "bare" AVR (you
> need to connect VCC, SW1=ON, SW2 OFF=3.3V ON=5V).
My switches are always on; my MCU is in the ZIFF socket. (-:
> * Try `avrdude -c stk500v2 -p 85 -vvv -t` and see of that connects to
> Programmer.
That’s what I did.

> * If programmer is connected but AVR communication problems you may
> slow down the STK500v2 bit clock with `-B` parameter or ISP clock with
> `-i` according to [4] (i.e. `-B 250` will result in 4kHz bit clock).
> 
> Good luck and let us know if that works :-)


root@home2l:/ #	avrdude -c stk500v2 -p t85 -P /dev/cuau1 -t -vvv -B 250 -i 90
. . .
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 bit clk period        : 250.0
         Setting isp clock delay        :  90
avrdude: ser_recv(): programmer is not responding
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_recv(): programmer is not responding
avrdude: stk500v2_ReceiveMessage(): timeout
avrdude: ser_recv(): programmer is not responding
avrdude: stk500v2_ReceiveMessage(): timeout

I think, the DIAMEX is defective, I try to get another one.
Perhaps the drivers are gone.

How can I verify this?
---
PGP-Key: CDE74120  ☀  computing @ chaos claudius