This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] TM4C123GH6PM:通过 rundll32 setupapi、InstallHinfSection 安装 INF 文件

Guru**** 1111800 points
请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1246777/tm4c123gh6pm-install-inf-file-through-rundll32-setupapi-installhinfsection

器件型号:TM4C123GH6PM

您好!  

我们将 TM4C 系列 MCU 用作 USB 控制器。 我们使用的是 tm4c 系列库包中的 texas 提供的 windows_drivers。

 我尝试使用  rundll32.exe 从命令行使用 INF 文件安装驱动程序。 以下是我使用的命令:

   Rundll32 setupapi、InsatllHinfSection DefaultInstall 132 usb_dev_bulk.inf

   但它始终未能通过"安装失败"消息框。 如果我右键单击同一 INF 文件并选择"Install"、则说明 驱动程序已正确安装。

 

在搜索 DefaultInstall 参数表后,如果 INF 文件包含  默认安装  部分

 驱动程序包的 usb_dev_bulk.inf 文件  不包含 INF  默认安装  首选。

 usb_dev_bulk.inf file 的默认段在哪里?

如何通过 rundll32 setupapi, InstallHinfSection 安装 INF 文件?

我做错了吗? 请帮我解决这个问题。 提前感谢。