cancel
Showing results for 
Search instead for 
Did you mean: 

USB composite CDC MSC, problem when unplug/plug

Jcout.1
Associate II

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….

1 REPLY 1
Rdazx.1
Associate II

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