Skip to main content
Visitor II
August 14, 2020
Question

USB composite CDC MSC, problem when unplug/plug

  • August 14, 2020
  • 1 reply
  • 696 views

Hello everybody,

I need some helps regarding a trouble with my USB project.

I have developed a project base on MXCube with a composite MSC and CDC. When I launch the software it works perfectly (which means that I have the mass storage and the port com avaialble).

Now two use cases:

  • if I open the portcom (with docklight for example) and I unplug the USB then replung the cable, everything work fine. (whatever if I close the portcom or not on Docklight). My MSC and my CDC are recognized whithout any problem.
  • If I do not open a portcom, when I unplug and replug the USB cable, I have a problem of descriptor.

Something should be missing if a portcom is not opened but I don't know what….

    This topic has been closed for replies.

    1 reply

    Visitor II
    August 15, 2020

    Hi,I am trying to do the same composite project that you did,but I can not make the MSC project work with IDMA and cache,it can only work when cache and IDMA not use.Do your MSC project use the IDMA and cache?

    My project's Issue detail:

    https://community.st.com/s/question/0D53W00000FNYopSAH/sdmmc-usbdevice-msc-sd-card-using-dma-or-cache-is-not-workingis-it-a-bug