cancel
Showing results for 
Search instead for 
Did you mean: 

USB Host CDC support to FTDI Devices

lokesh
Associate II
Posted on October 08, 2014 at 09:20

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
8 REPLIES 8
Posted on October 08, 2014 at 17:36

Perhaps you can inquire with commercial stack vendors?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Dams
Associate II
Posted on April 10, 2018 at 11:48

Hi, 

I got exatly the same problem. Is something new since 2014 ? 

Thanks in advance.

Posted on April 10, 2018 at 12:48

Have you googled?

last time I looked, there were a few pages out there about doing this ...

Posted on April 10, 2018 at 12:55

Hi,

I started with google without result so I switched to ST forum...

Thanks for support.

Damien

Posted on April 10, 2018 at 13:06

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.

Posted on April 10, 2018 at 15:42

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

Posted on April 10, 2018 at 15:57

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:

Posted on April 10, 2018 at 17:35

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