Skip to content

【BUG】 STM32F4 USBD 无法枚举 #5799

Open
@jiuxiaxixi

Description

@jiuxiaxixi

开发环境

  • 野火骄阳 STM32F407
  • 使用Rt-thread Studio 创建STM32F407 工程, 使用4.0.2 4.0.3 4.1.0 3.15 lts
  • 使用STM32CubeMx 创建项目 配置USB RCC
  • RT-thread Setting 设置

以上步骤都相同的时候,使用rt-thread lastest 就可以正常枚举USB,有熟悉的人知道 具体是那些地方发生一改变么?

已经尝试的步骤

  • 拷贝 lastest 中的 STM32 LIB
  • 更换 rt-thread/components/drivers/usb 中的 USB core lib
  • 更换 driver 中的drv_usbd.c

4.0.2版本中都无法正常枚举?
现在非常疑惑,最新发布的4.1.0 也无法正常枚举
我已经把自己的代码移植到 lastest上了。USB可以正常枚举,所以应该不是我自己的代码引起USB出现无法枚举的问题。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugThis PR/issue is a bug in the current code.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions