Skip to content

STM32U585: USB MSC : can't pass Compliance Test by using USB3CV #91483

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task
testo-jeff opened this issue Jun 12, 2025 · 5 comments
Open
1 task

STM32U585: USB MSC : can't pass Compliance Test by using USB3CV #91483

testo-jeff opened this issue Jun 12, 2025 · 5 comments
Assignees
Labels
area: USB Universal Serial Bus bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: low Low impact/importance bug

Comments

@testo-jeff
Copy link

testo-jeff commented Jun 12, 2025

Describe the bug

USB MSC test failed when using test tool USB3CV, below is the screenshot:

Image

Per debug, Zephyr can receive command A8 and 9E from USB3CV, and Zephyr USB protocol layer has handled the command, but in low layer(probably ST driver? not sure) can't send out the response to USB3CV, lead to test failed(100% reproduced).

Regression

  • This is a regression.

Steps to reproduce

Configurations:
CONFIG_USB_DEVICE_STACK_NEXT=y
CONFIG_USB_MASS_STORAGE=y
CONFIG_MAIN_STACK_SIZE=2048
CONFIG_USBD_PID=0x0045
CONFIG_USBD_VID=0x128d
CONFIG_USBD_PRODUCT="xxx Test kit"
CONFIG_USBD_MANUFACTURER="xxx CO.,LTD"
CONFIG_USBD_MSC_CLASS=y
CONFIG_USBD_MSC_LUNS_PER_INSTANCE=3
CONFIG_DISK_ACCESS=y
CONFIG_DISK_DRIVERS=y
CONFIG_FILE_SYSTEM=y
CONFIG_FAT_FILESYSTEM_ELM=y
CONFIG_UDC_STM32=y
CONFIG_USB_DC_STM32=n

Steps:

  1. Install USB3CV on Windows 11
  2. Choose USB device on USB3CV
  3. Run Compliance Test
  4. Test failed in 100%.

Relevant log output

Impact

Annoyance – Minor irritation; no significant impact on usability or functionality.

Environment

  • OS: Windows 10/11
  • USB3CV: v3.1.8.0
  • Zephyr version: 4.1.99/35af7b88b369a1aaa469e214b20c7f3c50a79f52, zephyr-sdk-0.17.0

Additional Context

No response

@testo-jeff testo-jeff added the bug The issue is a bug, or the PR is fixing a bug label Jun 12, 2025
Copy link

Hi @testo-jeff! We appreciate you submitting your first issue for our open-source project. 🌟

Even though I'm a bot, I can assure you that the whole community is genuinely grateful for your time and effort. 🤖💙

@JarmouniA
Copy link
Collaborator

Missing info in Environment: Zephyr version/SHA1, SDK

@testo-jeff
Copy link
Author

@JarmouniA Updated, would you please check again? Thx.

@JarmouniA
Copy link
Collaborator

Is "USB MSC test" a in-tree Zephyr test?

@testo-jeff
Copy link
Author

@JarmouniA Not in-tree Zephyr test, we use standard external test tool to do the test.
Here is the test tool:
https://www.usb.org/document-library/usb3cv

@erwango erwango self-assigned this Jun 12, 2025
@erwango erwango added area: USB Universal Serial Bus platform: STM32 ST Micro STM32 priority: low Low impact/importance bug labels Jun 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: USB Universal Serial Bus bug The issue is a bug, or the PR is fixing a bug platform: STM32 ST Micro STM32 priority: low Low impact/importance bug
Projects
None yet
Development

No branches or pull requests

3 participants