USB Host CDC support to FTDI Devices
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-10-08 12:20 AM
Hi,
has anyone tried communicating USB Host CDC/VCP to FTDI devices ( Chip FT232R )? which is a vendor specific class implementation. we are trying that with STM3220G eval to communicate with some FTDI based devices. thanks in advance. #usb-host #ftdi #usb-host-ftdi- Labels:
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2014-10-08 8:36 AM
Perhaps you can inquire with commercial stack vendors?
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-10 2:48 AM
Hi,
I got exatly the same problem. Is something new since 2014 ?
Thanks in advance.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-10 5:48 AM
Have you googled?
last time I looked, there were a few pages out there about doing this ...
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-10 5:55 AM
Hi,
I started with google without result so I switched to ST forum...
Thanks for support.
Damien
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-10 6:06 AM
Really?
Googling 'ftdi cdc embedded host' gives me
https://www.google.co.uk/search?q=ftdi+cdc+embedded+host
- top hit is:https://e2e.ti.com/support/microcontrollers/stellaris_arm/f/471/t/159850
Linux is open-source - so there's the Linux drivers to look at ...
EDIT
As
Turvey.Clive.002
‌ suggested (back in 2014), a lot of the hits are for commercial stacks.A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-10 8:42 AM
Hi,
Thanks for the clue.
The solution I'm looking for is for a STM32 so I put this word in my
google research and that why I did't find your link. I'm little
surprised about your link to Texas Instrument....
In my case, I need to be compatible with both CDC (for the fianl
product) and FTDI (to debug the product) so I can't modify middleware of
STM USB stack (usbh_cdc.c and usbh_core.c). They will be deleted by
CubeMX...
Regards,
Damien
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-10 8:57 AM
Dam **** wrote:
The solution I'm looking for is for a STM32
While it's nice to find a complete answer that exactly fits your specific case, you're generally not going to find that. SO you need to learn to find the general principles, and adapt to suit.
See:
https://www.avrfreaks.net/comment/2443821#comment
Remember that the FTDI chip neither knows nor cares what processor you have - so any processors that interfaces to an FTDI chip is going to have to do exactly the same things.
I can't modify middleware ofSTM USB stack (usbh_cdc.c and usbh_core.c). They will be deleted by
CubeMX...
That's been covered frequently; eg,
https://community.st.com/0D50X00009XkWTfSAN
EDIT
The forum seems to be censoring your 2nd name - reported here:
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-10 10:35 AM
Hi,
Thanks for the support, yours advices were helpful.
I have not enough time to learn about how to adapt the code to my
project so I'm going to find another way to debug my board (I supposed
that FTDI use CDC when I imagine the debug solution but I was wrong).
Regards,
Damien
