Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Feb 2022 11:34:27 +0200
From:      Daniel Braniss <danny@cs.huji.ac.il>
To:        Daniel O'Connor <darius@dons.net.au>
Cc:        freebsd- <hackers@freebsd.org>, "usb@freebsd.org" <usb@FreeBSD.org>
Subject:   Re: usb CH9102 serial chip
Message-ID:  <17E09096-A45B-43F5-BFE4-7645E8A2275D@cs.huji.ac.il>
In-Reply-To: <013FB4BA-7D32-4FFB-AFD3-E594CF638A66@dons.net.au>
References:  <C8258774-B183-48DD-905F-260F5999152C@cs.huji.ac.il> <7DD6E1FA-3EA4-44D9-A272-9E51FB9F2BFC@dons.net.au> <C07DE6BE-65AB-43FA-8C52-2A7D0197767E@cs.huji.ac.il> <013FB4BA-7D32-4FFB-AFD3-E594CF638A66@dons.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]


> On 17 Feb 2022, at 11:30, Daniel O'Connor <darius@dons.net.au> wrote:
> 
> 
> 
>> On 17 Feb 2022, at 19:50, Daniel Braniss <danny@cs.huji.ac.il> wrote:
>> 
>>> If that is the case then the chip/driver are working fine since that requires bidirectional communication etc..
>>> 
>> 
>> but that works only if I power up the board while pressing a button, then it also appears as /dev/ttyU0, and
>> so then I can flash, after reset, the device is gone and there are errors ( BTW, the flashed image workes):
>> 
>> Feb 17 09:46:59 pampero kernel: usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_IOERROR
>> Feb 17 09:47:00 pampero kernel: usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_IOERROR, ignored)
> 
> What sort of dev board is it?
	m5 stamp C3U
https://shop.m5stack.com/products/m5stamp-c3u-mate-with-pin-headers?_pos=2&_sid=3df9b5f0d&_ss=r&variant=42341016633601 <https://shop.m5stack.com/products/m5stamp-c3u-mate-with-pin-headers?_pos=2&_sid=3df9b5f0d&_ss=r&variant=42341016633601>;

> 
> Seems very strange the USB UART would behave differently unless it's wired up in an unusual way IMO.
> 
> --
> Daniel O'Connor
> "The nice thing about standards is that there
> are so many of them to choose from."
> -- Andrew Tanenbaum
> 
> 


[-- Attachment #2 --]
<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On 17 Feb 2022, at 11:30, Daniel O'Connor &lt;<a href="mailto:darius@dons.net.au" class="">darius@dons.net.au</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><br class=""><br class=""><blockquote type="cite" class="">On 17 Feb 2022, at 19:50, Daniel Braniss &lt;<a href="mailto:danny@cs.huji.ac.il" class="">danny@cs.huji.ac.il</a>&gt; wrote:<br class=""><br class=""><blockquote type="cite" class="">If that is the case then the chip/driver are working fine since that requires bidirectional communication etc..<br class=""><br class=""></blockquote><br class="">but that works only if I power up the board while pressing a button, then it also appears as /dev/ttyU0, and<br class="">so then I can flash, after reset, the device is gone and there are errors ( BTW, the flashed image workes):<br class=""><br class="">Feb 17 09:46:59 pampero kernel: usbd_setup_device_desc: getting device descriptor at addr 4 failed, USB_ERR_IOERROR<br class="">Feb 17 09:47:00 pampero kernel: usbd_req_re_enumerate: addr=4, set address failed! (USB_ERR_IOERROR, ignored)<br class=""></blockquote><br class="">What sort of dev board is it?<br class=""></div></div></blockquote><span class="Apple-tab-span" style="white-space:pre">	</span>m5 stamp C3U</div><div><a href="https://shop.m5stack.com/products/m5stamp-c3u-mate-with-pin-headers?_pos=2&amp;_sid=3df9b5f0d&amp;_ss=r&amp;variant=42341016633601" class="">https://shop.m5stack.com/products/m5stamp-c3u-mate-with-pin-headers?_pos=2&amp;_sid=3df9b5f0d&amp;_ss=r&amp;variant=42341016633601</a></div><div><br class=""><blockquote type="cite" class=""><div class=""><div class=""><br class="">Seems very strange the USB UART would behave differently unless it's wired up in an unusual way IMO.<br class=""><br class="">--<br class="">Daniel O'Connor<br class="">"The nice thing about standards is that there<br class="">are so many of them to choose from."<br class=""> -- Andrew Tanenbaum<br class=""><br class=""><br class=""></div></div></blockquote></div><br class=""></body></html>

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17E09096-A45B-43F5-BFE4-7645E8A2275D>