[Bug 272803] uchcom(4) does not support ch343, or ch34[2347]

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Jan 2025 08:08:58 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272803

--- Comment #9 from John Hay <john@sanren.ac.za> ---
I have tested the D46290 patch with an Adafruit UPDI Friend (based on a CH340)
on FreeBSD 14.2 on both an amd64 desktop and a RPI4. I could program a
attiny402 on both using avrdude.

"avrdude -p t402 -c serialupdi -P /dev/cuaU0 -U flash:w:curr-mon.hex"

On the amd64 machine I had to lower the baud rate from the default (115200) to
57600, but on the RPI4 it worked at the default speed.

I also tried pymcuprog (by the Microchip guys) and with the patch, it does now
get past the serial port initialization, and simple (short) commands work, like
ping and erase, but write fails. It seems that the received bytes sometimes get
delayed.

Using a Prolific USB to serial dongle and the resister mod, both avrdude and
pymcuprog work on the amd64 desktop and the RPI4 at the default speeds.

So the D46290 patch makes the uchcom driver a lot more useful.

-- 
You are receiving this mail because:
You are the assignee for the bug.