Hi,
Had a rookie question about having multiple vcom ports using CDC. Can I combine the interrupt endpoints for 2 vcom ports to save an end-point?
thanks,
aQ
VCOM with USB-CDC
- sabdulqadir
- Posts: 49
- Joined: Fri Mar 23, 2018 7:29 pm
- Has thanked: 13 times
- Been thanked: 4 times
- Giovanni
- Site Admin
- Posts: 14457
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: VCOM with USB-CDC
Hi,
Not sure, you should try and see how the host takes it.
The demo STM32F4xx-USB_CDC_IAD should allow to test it quickly in usbcfg.h.
Giovanni
Not sure, you should try and see how the host takes it.
The demo STM32F4xx-USB_CDC_IAD should allow to test it quickly in usbcfg.h.
Giovanni
- sabdulqadir
- Posts: 49
- Joined: Fri Mar 23, 2018 7:29 pm
- Has thanked: 13 times
- Been thanked: 4 times
- sabdulqadir
- Posts: 49
- Joined: Fri Mar 23, 2018 7:29 pm
- Has thanked: 13 times
- Been thanked: 4 times
Re: VCOM with USB-CDC
FXCoder wrote:Hi,
Looks useful.
What host OS did you try this with?
--
Bob
Win10. I think also works with Win7. I remember testing with one of the PC that had Win7.
- FXCoder
- Posts: 384
- Joined: Sun Jun 12, 2016 4:10 am
- Location: Sydney, Australia
- Has thanked: 180 times
- Been thanked: 130 times
Re: VCOM with USB-CDC
Thanks.
My experience with a config for 2 x VCP was that Win10, Mac and Linux were good. However, Win7 VCP driver only saw one com port.
I may try your single interrupt endpoint approach and see if Win7 behaves differently.
Care to post you usbcfg.c & .h ?
My experience with a config for 2 x VCP was that Win10, Mac and Linux were good. However, Win7 VCP driver only saw one com port.
I may try your single interrupt endpoint approach and see if Win7 behaves differently.
Care to post you usbcfg.c & .h ?
- sabdulqadir
- Posts: 49
- Joined: Fri Mar 23, 2018 7:29 pm
- Has thanked: 13 times
- Been thanked: 4 times
Re: VCOM with USB-CDC
FXCoder wrote:Thanks.
My experience with a config for 2 x VCP was that Win10, Mac and Linux were good. However, Win7 VCP driver only saw one com port.
I may try your single interrupt endpoint approach and see if Win7 behaves differently.
Care to post you usbcfg.c & .h ?
Sure.
BTW, I have used two com ports with Win7 without any issues. My comment was for 3 com ports on Win7.
AQ
I could not attach files here. Webpage complained about invalid file formats. Ill try to send them through private msg.
- FXCoder
- Posts: 384
- Joined: Sun Jun 12, 2016 4:10 am
- Location: Sydney, Australia
- Has thanked: 180 times
- Been thanked: 130 times
Re: VCOM with USB-CDC
Hi AQ,
Files retrieved OK.
FYI to post attachments on the forum use a zip.
I'll try out your configs later today on an F413 and see how I go getting additional VCPs, Win versus Win10 etc.
Thanks.
--
Bob
Files retrieved OK.
FYI to post attachments on the forum use a zip.
I'll try out your configs later today on an F413 and see how I go getting additional VCPs, Win versus Win10 etc.
Thanks.
--
Bob
Who is online
Users browsing this forum: No registered users and 13 guests