MSC + CDC Composite device example (STM32F3 Discovery)

This forum is about you. Feel free to discuss anything is related to embedded and electronics, your awesome projects, your ideas, your announcements, not necessarily related to ChibiOS but to embedded in general.
geoffrey.brown
Posts: 14
Joined: Thu May 07, 2015 9:47 pm
Been thanked: 2 times

MSC + CDC Composite device example (STM32F3 Discovery)

Postby geoffrey.brown » Sat Aug 05, 2017 10:31 pm

I've put an example project with a MSC/CDC composite device here:

https://github.com/geoffreymbrown/STM32 ... ry-CDC-MSD

all my testing has been on OS X, but an earlier version did work on Linux. Windows will take some effort by somebody who knows about USB composite devices an INF files. It's all pretty lightly tested, so don't expect production code.

The code is based upon the MSC code in ChibiOS-Contrib, with a small change needed to make it compile without a USB OTG device.


Geoffrey Brown

User avatar
tfAteba
Posts: 300
Joined: Fri Oct 16, 2015 11:03 pm
Location: Chartres, France
Has thanked: 41 times
Been thanked: 18 times

Re: MSC + CDC Composite device example (STM32F3 Discovery)

Postby tfAteba » Sun Aug 06, 2017 4:53 am

Hi Geoffrey.brown

Thanks for sharing you project with us. It is an interresting topic that you have here :)

Please can you move this post under User Projects because it is the best place to talk about projects and exchange about it.

Thank you.
regards,

Theo.

User avatar
Giovanni
Site Admin
Posts: 9891
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 170 times
Been thanked: 153 times
Contact:

Re: MSC + CDC Composite device example (STM32F3 Discovery)

Postby Giovanni » Sun Aug 06, 2017 4:29 pm

He can't move the post, moving.

Giovanni

User avatar
tfAteba
Posts: 300
Joined: Fri Oct 16, 2015 11:03 pm
Location: Chartres, France
Has thanked: 41 times
Been thanked: 18 times

Re: MSC + CDC Composite device example (STM32F3 Discovery)

Postby tfAteba » Sun Aug 06, 2017 8:59 pm

Thanks Giovanni, sorry Geoffrey.brown
regards,

Theo.

geoffrey.brown
Posts: 14
Joined: Thu May 07, 2015 9:47 pm
Been thanked: 2 times

Re: MSC + CDC Composite device example (STM32F3 Discovery)

Postby geoffrey.brown » Sun Aug 06, 2017 11:41 pm

There's nothing to apologize for.
Geoffrey

Polux
Posts: 2
Joined: Thu Apr 28, 2016 11:52 am

Re: MSC + CDC Composite device example (STM32F3 Discovery)

Postby Polux » Mon Aug 07, 2017 7:14 am

Hi,
Correct me if I am wrong. No .INF file will be needed for Windows, as CDC and MSD are natively supported by the system.
Long time ago, I did this on a LPC1769 and everything was automaticaly detected. But I can't remember if it was with MSD+CDC or 2xCDC.

Angelo

geoffrey.brown
Posts: 14
Joined: Thu May 07, 2015 9:47 pm
Been thanked: 2 times

Re: MSC + CDC Composite device example (STM32F3 Discovery)

Postby geoffrey.brown » Mon Aug 07, 2017 1:03 pm

You could well be right. I'm not a windows kind of guy and don't have and windows machines to try this on.

Geoffrey


Return to “User Projects”

Who is online

Users browsing this forum: No registered users and 0 guests