Re: timeouts on USB ISP programmer
Axel Rau <[email protected]> Sun, 10 Apr 2022 12:44:20 +0200
| Newsgroups | gmane.os.freebsd.devel.hardware |
|---|---|
| Message-ID | <[email protected]> |
There are also reports of DIAMEX devices not working on linux (in German): https://www.mikrocontroller.net/topic/508937 <https://www.mikrocontroller.net/topic/508937> I should better try to get an original ATmel tool. Unfortunately they no longer produce simple programmers. A > Am 10.04.2022 um 12:37 schrieb Axel Rau <[email protected]>: > > > >> Am 09.04.2022 um 01:39 schrieb Tomek CEDRO <[email protected] <mailto:[email protected]>>: >> >> >> 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/ <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 > --- PGP-Key: CDE74120 ☀ computing @ chaos claudius