Re: timeouts on USB ISP programmer

2022-04-08 Thread Tomek CEDRO
On Fri, Apr 8, 2022 at 8:02 PM Axel Rau wrote: > Am 08.04.2022 um 18:04 schrieb Tomek CEDRO : > My 1st trial gives this (more trials in 2 hours): > > root@home2l:/ # avrdude -p t85 -t -vvv > > avrdude: Version 6.4 > Copyright (c) Brian Dean, http://www.bdmicro.com/

Re: timeouts on USB ISP programmer

2022-04-08 Thread Tomek CEDRO
On Fri, Apr 8, 2022 at 6:04 PM Tomek CEDRO wrote: > This is not the problem. It uses "real USB mode" to transport commands > between PC and FT2232 too. Most of those Programmer dongles uses > Virtual-COM-Port-over-USB (aka VCP / USB CDC). No matter if you use > dedicated IC

Re: timeouts on USB ISP programmer

2022-04-08 Thread Tomek CEDRO
On Fri, Apr 8, 2022 at 6:04 PM Tomek CEDRO wrote: > Good news is that you can only provide `-P usb` if you have one > Programmer Interface and it is defined in the configuration. In your > case if you want to use specific serial number that would probably be > `-P usb:552` parameter

Re: timeouts on USB ISP programmer

2022-04-12 Thread Tomek CEDRO
On Tue, Apr 12, 2022 at 12:25 PM Axel Rau wrote: > Am 11.04.22 um 17:51 schrieb Tomek CEDRO: > > If that does not work I am out of ideas, sorry, maybe opening an Issue > > on the project github repo could help? > > > https://github.com/avrdudes/avrdude/issues/935 Perfec

Re: timeouts on USB ISP programmer

2022-04-07 Thread Tomek CEDRO
On Thu, Apr 7, 2022 at 8:35 PM Tomek CEDRO wrote: > Also I noticed that we have two ports devel/arduino-avrdude-6.3 and > devel/avrdude-6.4. My first remarks on avrdude port were in fact made on devel/arduino-avrdude-6.3, sorry, it may require some more patches to work with Adruino. Th

Re: timeouts on USB ISP programmer

2022-04-07 Thread Tomek CEDRO
Sorry, this time a reply that is subscribed to the list :-) Hello world :-) Short story: * Try `-P usb:/dev/cuaU0` parameter. You need to use `usb:` prefix for the USB adapter. * Did that interface worked well on other OS with avrdude 6.4 (we currently have 6.3 port on FreeBSD)? * I have

Re: timeouts on USB ISP programmer

2022-04-07 Thread Tomek CEDRO
The problem is Diamex does not provide schematics for their interface. That could make things easier to compare with other interfaces to search for similar one. Are you sure it is FT2232H based? LibFTDI as dependency to avrdude may also some from other interfaces :-) But we both have VID:PID

Re: timeouts on USB ISP programmer

2022-04-07 Thread Tomek CEDRO
I have reported an issue on avrdude github project, hope they give us some hints and we all make our devices operational on FreeBSD :-) https://github.com/avrdudes/avrdude/issues/920 Regarding Diamex interface I would try one after another from the list of `-c "?"` until one of them works, then

Re: timeouts on USB ISP programmer

2022-04-07 Thread Tomek CEDRO
Mystery solved ;-) For avrdude `-P` parameter defines the the programmer port __BUT__ (as obviously stated in man page) if you use `usb:` device then you need to provide programmer SERIAL NUMBER last bytes not the OS serial port device ;-) If you run avrdude with `-vvv` switch then you get

Re: timeouts on USB ISP programmer

2022-04-09 Thread Tomek CEDRO
Two importan things I have noted while reading AVR datasheets: 1. Programming voltage is 5V. Unless reset is disabled then 12V is required on reset line. This is important if we program bare chip or chip on the board surrounded by components (that may not be 5V tolerant). 2. There are various

Re: timeouts on USB ISP programmer

2022-04-11 Thread Tomek CEDRO
On Mon, Apr 11, 2022 at 7:35 AM Axel Rau wrote: > 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 = 0x16c0; > usbpid =

Re: timeouts on USB ISP programmer

2022-04-08 Thread Tomek CEDRO
On Fri, Apr 8, 2022 at 11:02 PM Axel Rau wrote: > Am 08.04.2022 um 20:39 schrieb Tomek CEDRO : > > Is it possible to disassemble your interface and take photos of the > electronics inside? We need to make sure what exact chip is inside :-) > https://www.chaos1.de/downloads/diame

Re: timeouts on USB ISP programmer

2022-04-10 Thread Tomek CEDRO
On Sun, Apr 10, 2022 at 12:37 PM Axel Rau wrote: > Am 09.04.2022 um 01:39 schrieb Tomek CEDRO : > > 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 >

Re: [RESOLVED] Re: timeouts on USB ISP programmer

2022-04-21 Thread Tomek CEDRO
On Thu, Apr 21, 2022 at 7:05 PM Axel Rau wrote: > With the trace, recorded by Joerg Wunsch (author of avrdude), > Hans found the implementation bug in the device. > He wrote to Joerg: > > I see from the Ellisys .png's what is wrong. The device doesn't support > resetting the data-toogle

Re: timeouts on USB ISP programmer

2022-04-10 Thread Tomek CEDRO
Okay so the KT-LINK (FT2232H based) interface is ready :-) avrdude did not forsee the buffer switch between read / write, that would allow only one pin connection to Tiny10, but connecting with external resistors works too ;-) TDO --[470R]-- TPIDATA --[470]-- TDI Example run below: hexagon%

Re: timeouts on USB ISP programmer

2022-04-10 Thread Tomek CEDRO
On Sun, Apr 10, 2022 at 10:46 PM Axel Rau 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

Re: timeouts on USB ISP programmer

2022-04-10 Thread Tomek CEDRO
On Mon, Apr 11, 2022 at 1:08 AM Axel Rau wrote: > Am 10.04.2022 um 23:59 schrieb Tomek CEDRO : >> Okay, your local `~/.avrduderc` configuration needs an update. Remove >> all from file and put only this: >> >> default_programmer = "diamex-avr-usb"; >

Re: timeouts on USB ISP programmer

2022-04-10 Thread Tomek CEDRO
On Sun, Apr 10, 2022 at 6:59 PM Axel Rau wrote: > root@home2l:~ # avrdude -c stk500v2 -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

Re: M2 NVME support

2023-04-13 Thread Tomek CEDRO
Sorry, I missed the initial post. I am using Samsung 980 1TB NVME M2 SSD on a ICY BOX PCI-E 4.0x4 1xM.2 NVMe with ZFS as my root pool, works like a charm on old 2013 mainboard where only SATA is available.. just note that maximum chipset efficiency will be the bottleneck but with a good chipset it