Skip to main content
Visitor II
May 24, 2022
Question

USBx CDC ACM Descriptor Error in STM32F4

  • May 24, 2022
  • 2 replies
  • 1551 views

Following the example in STMCubeMx Azure USBx CDC ACM. it seems that I'm having trouble when the PC does not recognize the USB device slave giving me this error

0693W00000NqYXAQA3.pngthe there is no error in the app_usbx_device.c initialization, in terms of memory allocation. during debug, checking the _ux_system_slave handle it seems that the slave descriptor is not set.

0693W00000NqYYNQA3.pngI don't think this normal not have the device descriptor populated. I don't think there is a problem with the hardware since I run tinyusb on this device no problem. since I'm migrating to azure RTOS its nice to use the USBX as well.

If anyone can shed me some light on this issue, I would really appreciate it.

CubeMx USBX config

0693W00000NqYYmQAN.png

    This topic has been closed for replies.

    2 replies

    Visitor II
    May 24, 2022

    Hello @Rhyzack​ 

    You can refer to the following example provided under the X-CUBE-AZRTOS-F4 package:

    Otherwise, could you please provide the ioc file used for further check?

    BeST Regards,

    Walid

    RhyzackAuthor
    Visitor II
    May 24, 2022

    Yes my reference project is from the X-CUBE-AZRTOS-F4 package STM32469I. by the way you can copy the code and port it to STM32F407 as well right? attach the ioc file.

    I added the LED thread on the project which runs completely fine. where the 2 LEDS are pulsing.

    RhyzackAuthor
    Visitor II
    May 26, 2022

    anyone else having this issue. attach the .ioc file and check if the configuration is correct. i dont find anything wrong with it. it seems this is bug or something

    Visitor II
    June 23, 2022

    I have the same issue , i am attaching the file