Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Sep 2022 17:14:54 +0200
From:      CeDeROM <cederom@tlen.pl>
To:        Daniel Braniss <danny@cs.huji.ac.il>
Cc:        freebsd-hackers <hackers@freebsd.org>, "usb@freebsd.org" <usb@freebsd.org>
Subject:   Re: USB chip CH9102F
Message-ID:  <CAFYkXjmrA=jR69JwS=dt-H%2BNotQw6zT2H5JGzQk4P92nmJn9Sg@mail.gmail.com>
In-Reply-To: <DD3BBD04-3455-4732-9DA1-68D79A2195A3@cs.huji.ac.il>
References:  <DD3BBD04-3455-4732-9DA1-68D79A2195A3@cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 14, 2022 at 3:43 PM Daniel Braniss wrote:
> Hi,
> is there/will there be any support for this chip? CH9102F.
>
> there is a driver for linux and windows, but event though it sort of work=
s on FreeBSD,
> the magic needed to flash the firmware on newer esp32=E2=80=99s is not wo=
rking.

I also bought USB-C based UART-to-USB adapter from Waveshare with
CH343G chip and use it for ESP32 flashing.

This chip is a bit tricky and I have noticed it is less reliable for
initial flashing on a custom ESP32 board (boot mode selection using
RTS/CTS pins). It sometimes fails, while older USB-UART converters
works fine.

What are your problems exactly?

Are you sure this is not the custom hardware design issue?

Do you have Reset and BootSel pins on your board that you can trigger
by hand in order to help USB-UART cable?

What is your magic that you need to do in order to flash the chip successfu=
lly?

Does standard operations (UART CLI) work as expected?

Did you take a look at man stty and use stty crtscts <port> / stty
-crtscts <port> to see if that fixes anything?

--
CeDeROM, SQ7MHZ, http://www.tomek.cedro.info



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFYkXjmrA=jR69JwS=dt-H%2BNotQw6zT2H5JGzQk4P92nmJn9Sg>