简体   繁体   English

STM32 虚拟 COM 端口在 Windows 10 上显示为 DFU 模式中的设备

[英]STM32 Virtual COM Port appears as Device in DFU Mode on Windows 10

So, my knowladge in embedded development is quite bad and now I am trying to receive some data from PC inside my MCu STM32F429IGT6 which is on WaveShare Core4X9I dev-board and send it back via USB Virtual COM Port.所以,我在嵌入式开发方面的知识非常糟糕,现在我正试图从位于 WaveShare Core4X9I 开发板上的 MCu STM32F429IGT6内的 PC 接收一些数据,并通过 USB 虚拟 COM 端口发回。

I realized how to set up connection from MCu part and I even see connected device from Windows 10 Device Manager but... it appears as STM Device in DFU Mode我意识到如何从 MCu 部分设置连接,我什至看到 Windows 10 设备管理器中的连接设备,但是......它在DFU Mode显示为 STM 设备

I have tryed already to install drivers from ST for such things but they are useless and official documentation says that they are not needed for Windows 10.我已经尝试为这些事情安装 ST 的驱动程序,但它们没有用,官方文档说 Windows 10 不需要它们。

I have been following tutorials where guys just clicked several times inside Cube MX, generated code and VCP worked out of the box.我一直在关注一些教程,在这些教程中,人们只需在 Cube MX 中单击几次,生成的代码和 VCP 开箱即用。

The question is what am I doing wrong?问题是我做错了什么? I don`t even know what information you might ask for thats why I created GitHub repo: https://github.com/dessy4oko/stm32f429-vcp-appears-as-dfu我什至不知道您可能会问什么信息,这就是我创建 GitHub 存储库的原因: https://github.com/dessy4oko/stm32f429-vcp-appears-as-dfu

And this is events from Device Manager of Windows 10 (translation from ru lang):这是来自 Windows 10 的设备管理器的事件(翻译自 ru lang):

  1. Device USB\VID_0483&PID_DF11\305233703237 is running.设备 USB\VID_0483&PID_DF11\305233703237 正在运行。 code 410
  2. Device USB\VID_0483&PID_DF11\305233703237 is configured.设备 USB\VID_0483&PID_DF11\305233703237 已配置。 code 400
  3. Device USB\VID_0483&PID_DF11\305233703237 have not been moved due to partial or ambiguous matching.由于部分匹配或不明确匹配,设备 USB\VID_0483&PID_DF11\305233703237 尚未移动。 code 442
  4. Device USB\VID_0483&PID_DF11\305233703237 requires further installation.设备 USB\VID_0483&PID_DF11\305233703237 需要进一步安装。 code 430

Thank you for any information about my mistakes.感谢您提供有关我的错误的任何信息。

STM32 starts in DFU mode if BOOT-pins are pulled accordingly:如果相应地拉动 BOOT 引脚,则 STM32 以 DFU 模式启动: 引导模式 "System memory" means embedded bootloader, DFU in this case. “系统内存”是指嵌入式引导加载程序,在这种情况下是 DFU。 You need "Main Flash" to run your app.您需要“主 Flash”来运行您的应用程序。

Check jumpers and switches on your board.检查板上的跳线和开关。 Refer also to the AN2606 app note for complete information.有关完整信息,另请参阅AN2606应用笔记。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM