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-ftdi2014-10-08 08:36 AM
Perhaps you can inquire with commercial stack vendors?
2018-04-10 02:48 AM
Hi,
I got exatly the same problem. Is something new since 2014 ?
Thanks in advance.
2018-04-10 05:48 AM
Have you googled?
last time I looked, there were a few pages out there about doing this ...
2018-04-10 05:55 AM
Hi,
I started with google without result so I switched to ST forum...
Thanks for support.
Damien
2018-04-10 06: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.2018-04-10 08: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
2018-04-10 08: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:
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