Date: Mon, 29 Nov 2021 10:42:54 +0200 From: Daniel Braniss <danny@cs.huji.ac.il> To: Daniel O'Connor <darius@dons.net.au> Cc: freebsd- <hackers@freebsd.org> Subject: Re: usb serial - need quirk? Message-ID: <EC4B36BD-FED3-40F2-9BBD-F58A9C17DFBA@cs.huji.ac.il> In-Reply-To: <A30D3617-E061-4C05-9729-E5910AB7B6DE@dons.net.au> References: <11EBCD70-3259-4E4D-8B9C-9F25364BC73C@cs.huji.ac.il> <20F9C20E-BB89-4FC1-A339-171447368AD2@dons.net.au> <D7FBBD72-5655-4F68-A539-7F2012A7D09A@cs.huji.ac.il> <A90E6140-3C80-4512-A337-C4827AEC8128@dons.net.au> <B8593124-0D96-46A2-90E7-87B2F9CC6ADF@cs.huji.ac.il> <A30D3617-E061-4C05-9729-E5910AB7B6DE@dons.net.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> On 29 Nov 2021, at 10:16, Daniel O'Connor <darius@dons.net.au> wrote: > > > >> On 29 Nov 2021, at 18:09, Daniel Braniss <danny@cs.huji.ac.il> wrote: >> >>> On 29 Nov 2021, at 09:24, Daniel O'Connor <darius@dons.net.au> wrote: >>> >>> I had a look at the ESP32-C3 datasheet and it *does* have a USB interface built in and it talks about a CDC-ACM virtual serial port which matches what you see. >>> >>> The only ACM quirk I can see is UQ_ASSUME_CM_OVER_DATA so you could try that I suppose.. >> >> >>> (See the usb_quirk man page) >>> >> i’ll try this ASAP, thanks >> >> BTW, looking at the m5 stamp c3 diagram, I can’t see how the usb-typec is connected to the esp32c3 >> from the esp32c3 docs, it’s gpio9 that needs to be grounded to flash, and I don’t see that happening when >> using the onboard usb. >> oh well, > > The schematic at https://m5stack.oss-cn-shenzhen.aliyuncs.com/resource/docs/static/assets/img/product_pics/core/stamp_c3/stamp_c3_sch_01.webp it has a CH9102F and some googling suggests it presents as a CDC ACM device. > > It looks like it has RTS and DTR hooked up so they can reset and drive GPIO9 for programming. > > Unfortunately I can't see anything obvious about why it doesn't work :( well, I tried adding the quirk but no change, so using a different ttl2usb works - though needs manual intervention to ground pin 9 - im ok, I need to flash via serial only once, since after that I can use OTA (unless I screwup and it panics :-) BTW: who ever is interested in the esp-idf the master version now installs and works almost out of the box on FreeBSD 13.0 thanks, danny > > -- > Daniel O'Connor > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?EC4B36BD-FED3-40F2-9BBD-F58A9C17DFBA>
