USB CDC, reloaded


The Processor Expert USB CDC component posted in USB or not: CDC with Processor Expert has found many friends :-) . A new version is available for download here with examples. It adds a bunch of new features and makes many things: simpler dependencies and setup, generation of an easily accessible cdc.inf and availability of error hooks. I have it running now with the TWR-MCF52259 and the DEMOJM (MCF51JM128 and S08JM60).

  1. The Init_USB component is now an inherited component. The settings for the Init component are automatically set up at creation time.So adding FSL_USB_Stack just needs two things to configure: the CPU and the Init_USB:
    Inherited USB_Init Component

    Inherited USB_Init Component

    Selection of USB Init

    Selection of USB Init

  2. The component generates the Windows driver .inf file into the Documenation folder, based on the component settings. The cdc.inf is a combined file supporting both 32bit and 64bit Windows machines:

    Generated .inf File

    Generated .inf File

  3. The .inf and the code generation supports now many settings, including PID/VID:

    USB driver and .inf settings

    USB driver and .inf settings

  4. The component has an optional OnError() hook which catches common errors:

    OnError() Hook

    OnError() Hook

  5. Many small improvements and fixes.

Note: The post in USB or not: CDC with Processor Expert is updated to reflect the changes and improvements.

Happy CDCing :-)

About these ads

4 thoughts on “USB CDC, reloaded

  1. Pingback: FSL_USB_Stack updated: sending 16 or 32 byte blocks | MCU on Eclipse

  2. FYI, I’m working right now on support for the S08MM128. Post a comment or follow this post and you get notified once the updated stack is available.

  3. Pingback: USB CDC goes medical | MCU on Eclipse

  4. Pingback: Tutorial: USB CDC with the KL25Z Freedom Board | MCU on Eclipse

What do you think?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s