Re: timeouts on USB ISP programmer

2022-04-07 Thread Hans Petter Selasky
On 4/7/22 13:33, Axel Rau wrote: 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

timeouts on USB ISP programmer

2022-04-07 Thread Axel Rau
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

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. The port of

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 Hans Petter Selasky
On 4/7/22 14:12, Hans Petter Selasky wrote: On 4/7/22 13:33, Axel Rau wrote: 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,

Re: timeouts on USB ISP programmer

2022-04-07 Thread Axel Rau
> Am 07.04.2022 um 15:26 schrieb Hans Petter Selasky : > > On 4/7/22 14:12, Hans Petter Selasky wrote: >> On 4/7/22 13:33, Axel Rau wrote: >>> Hi all, >>> >>> my DIAMEX-AVR-USB gets timeouts while talking to the target: >>> - - - >>> root@home2l:/ #avrdude -c stk500v2 -p t85 -P /dev/cuau1

Re: timeouts on USB ISP programmer

2022-04-07 Thread Hans Petter Selasky
On 4/7/22 15:46, Axel Rau wrote: Hmm. What mewans ’serial’ in this case? Serial is this: iSerialNumber = 0x0003 <19331-49101-552> usb:19331-49101-552 --HPS

Re: timeouts on USB ISP programmer

2022-04-07 Thread Hans Petter Selasky
On 4/7/22 15:46, Axel Rau wrote: Am 07.04.2022 um 15:26 schrieb Hans Petter Selasky : On 4/7/22 14:12, Hans Petter Selasky wrote: On 4/7/22 13:33, Axel Rau wrote: Hi all, my DIAMEX-AVR-USB gets timeouts while talking to the target: - - - root@home2l:/ #avrdude -c stk500v2 -p t85 -P

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