https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=272803

--- Comment #15 from Tomasz "CeDeROM" CEDRO <to...@cedro.info> ---
Hello world :-)

Thank you kevlo for the patch! I have tried https://reviews.freebsd.org/D46290
but it does not solve the problem :-(
* patch is applied and built correctly on top of 14.2-RELEASE(-p3).
* new driver reports found CH343 chip so the patch is used.
* esptool now cannot detect target with control lines reset.
* when setting chip by hand to download mode (boot+reset keys) stub still does
not upload (timeout as before), additionally esptool complains that TX seems to
be stuck.

FreeBSD 14.2-RELEASE(-p3), esptool 4.8.1, ESP32-S3 on WaveShare's
ESP32-S3-Touch-LCD-1.28:

% usbconfig -d0.7 dump_device_desc
ugen0.7: <vendor 0x1a86 USB Single Serial> at usbus0, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON (138mA)

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0110
  bDeviceClass = 0x0002  <Communication device>
  bDeviceSubClass = 0x0000
  bDeviceProtocol = 0x0000
  bMaxPacketSize0 = 0x0008
  idVendor = 0x1a86
  idProduct = 0x55d3
  bcdDevice = 0x0445
  iManufacturer = 0x0000  <no string>
  iProduct = 0x0002  <USB Single Serial>
  iSerialNumber = 0x0003  <585A009243>
  bNumConfigurations = 0x0001

The same esptool works fine on other ESP32* boards with usb-uart chips other
than ECH i.e. CP or FT.

Looking at the various forums threads this problem is clearly related to CH343
chip driver, on macOS it is solved by installing proprietary driver that solves
the problem.

I have some USB sniffer and an oscilloscope and many different boards with that
WCH chip and/or ESP32 chips.. how can I help? :-)

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

Reply via email to