CH340与CH341的常见问题解答

设备管理器,USB由CH340驱动的端口有黄色感叹号,点开显示“由于 Windows 无法加载这个设备所需的驱动程序,导致这个设备工作异常。 (代码 31)”,更新最新的CH340也是这样,已经试过很多次了。看精华帖说看日志,可是我只是大学生非计算机专业的,看不懂,希望能有解答。以下是setupapi.dev.log文件的内容。

[Device Install Log]
     OS Version = 10.0.22000
     Service Pack = 0.0
     Suite = 0x0300
     ProductType = 1
     Architecture = amd64

[BeginLog]

[Boot Session: 2022/11/08 12:20:24.500]

>>>  [Driver Install (DrvSetupInstallDriver) - C:\Windows\TempInst\is-7KEGP.tmp\driver\Packages\Drivers\Display\WT6A_INF\amdafd\amdafd.inf]
>>>  Section start 2022/11/08 13:07:24.642
      cmd: "C:\WINDOWS\sysnative\pnputil.exe"  /add-driver "C:\Windows\TempInst\is-7KEGP.tmp\driver\*.inf" /subdirs /install
     dvs: Flags: 0x00000000
     dvs: {Driver Setup Import Driver Package: C:\Windows\TempInst\is-7KEGP.tmp\driver\Packages\Drivers\Display\WT6A_INF\amdafd\amdafd.inf} 13:07:24.643
     dvs:      Driver Package:
     dvs:           Outcome        - Already Imported
     dvs:           Driver INF     - amdafd.inf (oem139.inf)
     dvs:           Class GUID     - {4d36e97d-e325-11ce-bfc1-08002be10318}
     dvs:           Driver Version - 02/14/2020,20.10.0.1
     dvs: {Driver Setup Import Driver Package - exit (0x00000000)} 13:07:24.663
     dvs: {Driver Setup Update Device: PCI\VEN_1002&DEV_1637&SUBSYS_380217AA&REV_00\4&2495e73&0&0141} 13:07:24.676
     utl:      {Select Drivers - PCI\VEN_1002&DEV_1637&SUBSYS_380217AA&REV_00\4&2495e73&0&0141} 13:07:24.678
     utl:           Driver Node:
     utl:                Status         - Selected | Installed
     utl:                Driver INF     - oem139.inf (C:\WINDOWS\System32\DriverStore\FileRepository\amdafd.inf_amd64_0a20a9e3ea8a104a\amdafd.inf)
     utl:                Class GUID     - {4d36e97d-e325-11ce-bfc1-08002be10318}
     utl:                Driver Version - 02/14/2020,20.10.0.1
     utl:                Configuration  - PCI\VEN_1002&CC_040300 [amdafd_Install]
     utl:                Driver Rank    - 00FF2002
     utl:                Signer Score   - WHQL (0D000005)
     utl:           Driver Node:
     utl:                Status         - Outranked | Installed
     utl:                Driver INF     - oem139.inf (C:\WINDOWS\System32\DriverStore\FileRepository\amdafd.inf_amd64_0a20a9e3ea8a104a\amdafd.inf)
     utl:                Class GUID     - {4d36e97d-e325-11ce-bfc1-08002be10318}
     utl:                Driver Version - 02/14/2020,20.10.0.1
     utl:                Configuration  - PCI\VEN_1002&CC_0403
     utl:                Driver Rank    - 00FF2003
     utl:                Signer Score   - WHQL (0D000005)
     utl:           Driver Node:
     utl:                Status         - Outranked
     utl:                Driver INF     - hdaudbus.inf (C:\WINDOWS\System32\DriverStore\FileRepository\hdaudbus.inf_amd64_8207ba80cf22e40a\hdaudbus.inf)
     utl:                Class GUID     - {4d36e97d-e325-11ce-bfc1-08002be10318}
     utl:                Driver Version - 06/05/2021,10.0.22000.1
     utl:                Configuration  - PCI\CC_0403 [HDAudio_Device.NT]
     utl:                Driver Rank    - 00FF2008
     utl:                Signer Score   - Inbox (0D000003)
     utl:      {Select Drivers - exit(0x00000000} 13:07:24.694
     dvs:      Device does not need an update.
!    dvs:      No better matching drivers found for device 'PCI\VEN_1002&DEV_1637&SUBSYS_380217AA&REV_00\4&2495e73&0&0141'.
     dvs: {Driver Setup Update Device - exit(0x00000000)} 13:07:24.696
!    dvs: No devices were updated.
<<<  Section end 2022/11/08 13:07:24.713
<<<  [Exit status: FAILURE(0x00000103)]


>>>  [Driver Install (DrvSetupInstallDriver) - C:\Windows\TempInst\is-7KEGP.tmp\driver\Packages\Drivers\Display\WT6A_INF\amdlog\amdlog.inf]
>>>  Section start 2022/11/08 13:07:24.714
      cmd: "C:\WINDOWS\sysnative\pnputil.exe"  /add-driver "C:\Windows\TempInst\is-7KEGP.tmp\driver\*.inf" /subdirs /install
     dvs: Flags: 0x00000000
     dvs: {Driver Setup Import Driver Package: C:\Windows\TempInst\is-7KEGP.tmp\driver\Packages\Drivers\Display\WT6A_INF\amdlog\amdlog.inf} 13:07:24.715
     dvs:      Driver Package:
     dvs:           Outcome        - Already Imported
     dvs:           Driver INF     - amdlog.inf (oem140.inf)
     dvs:           Class GUID     - {4d36e97d-e325-11ce-bfc1-08002be10318}
     dvs:           Driver Version - 10/13/2020,20.40.0.3
     dvs: {Driver Setup Import Driver Package - exit (0x00000000)} 13:07:24.723
     dvs: {Driver Setup Update Device: ROOT\AMDLOG\0000} 13:07:24.738
     utl:      {Select Drivers - ROOT\AMDLOG\0000} 13:07:24.739
     utl:           Driver Node:
     utl:                Status         - Selected | Installed
     utl:                Driver INF     - oem101.inf (C:\WINDOWS\System32\DriverStore\FileRepository\amdfendr.inf_amd64_3b89fa32321adaa0\amdfendr.inf)
     utl:                Class GUID     - {4d36e97d-e325-11ce-bfc1-08002be10318}
     utl:                Driver Version - 11/30/2021,21.40.0.2
     utl:                Configuration  - ROOT\AMDLOG [AMDFENDR_INSTALL]
     utl:                Driver Rank    - 00FF0000
     utl:                Signer Score   - WHQL (0D000005)
     utl:           Driver Node:
     utl:                Status         - Outranked
     utl:                Driver INF     - oem7.inf (C:\WINDOWS\System32\DriverStore\FileRepository\amdfendr.inf_amd64_0e7269da096ae5f1\amdfendr.inf)
     utl:                Class GUID     - {4d36e97d-e325-11ce-bfc1-08002be10318}
     utl:                Driver Version - 10/13/2020,20.40.0.3
     utl:                Configuration  - ROOT\AMDLOG
     utl:                Driver Rank    - 00FF0000
     utl:                Signer Score   - WHQL (0D000005)
     utl:           Driver Node:
     utl:                Status         - Outranked
     utl:                Driver INF     - oem105.inf (C:\WINDOWS\System32\DriverStore\FileRepository\amdfendr.inf_amd64_9c52cee6bd9e4fb5\amdfendr.inf)
     utl:                Class GUID     - {4d36e97d-e325-11ce-bfc1-08002be10318}
     utl:                Driver Version - 06/04/2021,21.30.0.9
     utl:                Configuration  - ROOT\AMDLOG
     utl:                Driver Rank    - 00FF0000
     utl:                Signer Score   - WHQL (0D000005)
     utl:           Driver Node:
     utl:                Status         - Outranked
     utl:                Driver INF     - oem140.inf (C:\WINDOWS\System32\DriverStore\FileRepository\amdlog.inf_amd64_b99895d8da0312cc\amdlog.inf)
     utl:                Class GUID     - {4d36e97d-e325-11ce-bfc1-08002be10318}
     utl:                Driver Version - 10/13/2020,20.40.0.3
     utl:                Configuration  - ROOT\AMDLOG
     utl:                Driver Rank    - 00FF0000
     utl:                Signer Score   - WHQL (0D000005)
     utl:      {Select Drivers - exit(0x00000000} 13:07:24.757
     dvs:      Device does not need an update.
     dvs:      {Install Related Drivers} 13:07:24.758
     dvs:      {Install Related Drivers: exit(0x00000000)} 13:07:24.760
     dvs: {Driver Setup Update Device - exit(0x00000000)} 13:07:24.760
<<<  Section end 2022/11/08 13:07:24.763
<<<  [Exit status: SUCCESS]


>>>  [Driver Install (DrvSetupInstallDriver) - C:\Windows\TempInst\is-7KEGP.tmp\driver\Packages\Drivers\Display\WT6A_INF\UWPPair\UWPPair.inf]
>>>  Section start 2022/11/08 13:07:24.766
      cmd: "C:\WINDOWS\sysnative\pnputil.exe"  /add-driver "C:\Windows\TempInst\is-7KEGP.tmp\driver\*.inf" /subdirs /install
     dvs: Flags: 0x00000000
     dvs: {Driver Setup Import Driver Package: C:\Windows\TempInst\is-7KEGP.tmp\driver\Packages\Drivers\Display\WT6A_INF\UWPPair\UWPPair.inf} 13:07:24.766
     dvs:      Driver Package:
     dvs:           Outcome        - Already Imported
     dvs:           Driver INF     - uwppair.inf (oem138.inf)
     dvs:           Class GUID     - {5c4c3332-344d-483c-8739-259e934c9cc8}
     dvs:           Driver Version - 12/19/2019,27.2010.0.0
     dvs: {Driver Setup Import Driver Package - exit (0x00000000)} 13:07:24.775
     dvs: {Driver Setup Update Device: SWD\DRIVERENUM\AMDUWP&5&8ba283f&0} 13:07:24.789
     utl:      {Select Drivers - SWD\DRIVERENUM\AMDUWP&5&8ba283f&0} 13:07:24.790
     utl:           Driver Node:
     utl:                Status         - Selected | Installed
     utl:                Driver INF     - oem106.inf (C:\WINDOWS\System32\DriverStore\FileRepository\uwppair.inf_amd64_cf9020acca077bb4\uwppair.inf)
     utl:                Class GUID     - {5c4c3332-344d-483c-8739-259e934c9cc8}
     utl:                Driver Version - 07/01/2021,29.2140.0.0
     utl:                Configuration  - SWC\VID1002&PID0001 [ExtendedGraphics.NT]
     utl:                Driver Rank    - 00FF0000
     utl:                Signer Score   - WHQL (0D000005)
     utl:           Driver Node:
     utl:                Status         - Outranked
     utl:                Driver INF     - oem2.inf (C:\WINDOWS\System32\DriverStore\FileRepository\uwppair.inf_amd64_d03d7afce1ebc590\uwppair.inf)
     utl:                Class GUID     - {5c4c3332-344d-483c-8739-259e934c9cc8}
     utl:                Driver Version - 06/19/2020,27.2040.0.0
     utl:                Configuration  - SWC\VID1002&PID0001 [ExtendedGraphics.NT]
     utl:                Driver Rank    - 00FF0000
     utl:                Signer Score   - WHQL (0D000005)
     utl:           Driver Node:
     utl:                Status         - Outranked
     utl:                Driver INF     - oem56.inf (C:\WINDOWS\System32\DriverStore\FileRepository\uwppair.inf_amd64_1b5e94bdabd8e16a\uwppair.inf)
     utl:                Class GUID     - {5c4c3332-344d-483c-8739-259e934c9cc8}
     utl:                Driver Version - 10/15/2020,27.2050.0.0
     utl:                Configuration  - SWC\VID1002&PID0001 [ExtendedGraphics.NT]
     utl:                Driver Rank    - 00FF0000
     utl:                Signer Score   - WHQL (0D000005)
     utl:           Driver Node:
     utl:                Status         - Outranked
     utl:                Driver INF     - oem77.inf (C:\WINDOWS\System32\DriverStore\FileRepository\uwppair.inf_amd64_e7e0ecbc75ba62b2\uwppair.inf)
     utl:                Class GUID     - {5c4c3332-344d-483c-8739-259e934c9cc8}
     utl:                Driver Version - 04/28/2021,29.2130.0.0
     utl:                Configuration  - SWC\VID1002&PID0001 [ExtendedGraphics.NT]
     utl:                Driver Rank    - 00FF0000
     utl:                Signer Score   - WHQL (0D000005)
     utl:           Driver Node:
     utl:                Status         - Outranked
     utl:                Driver INF     - oem138.inf (C:\WINDOWS\System32\DriverStore\FileRepository\uwppair.inf_amd64_3be9f121cdcdb967\uwppair.inf)
     utl:                Class GUID     - {5c4c3332-344d-483c-8739-259e934c9cc8}
     utl:                Driver Version - 12/19/2019,27.2010.0.0
     utl:                Configuration  - SWC\VID1002&PID0001
     utl:                Driver Rank    - 00FF0000
     utl:                Signer Score   - WHQL (0D000005)
     utl:           Driver Node:
     utl:                Status         - Outranked
     utl:                Driver INF     - c_swcomponent.inf (C:\WINDOWS\System32\DriverStore\FileRepository\c_swcomponent.inf_amd64_064f0b6413e2d085\c_swcomponent.inf)
     utl:                Class GUID     - {5c4c3332-344d-483c-8739-259e934c9cc8}
     utl:                Driver Version - 06/21/2006,10.0.22000.1
     utl:                Configuration  - SWC\Generic [SoftwareComponent]
     utl:                Driver Rank    - 00FF3000
     utl:                Signer Score   - Inbox (0D000003)
     utl:           Driver Node:
     utl:                Status         - Outranked
     utl:                Driver INF     - c_swdevice.inf (C:\WINDOWS\System32\DriverStore\FileRepository\c_swdevice.inf_amd64_655de2ccc6addd01\c_swdevice.inf)
     utl:                Class GUID     - {62f9c741-b25a-46ce-b54c-9bccce08b6f2}
     utl:                Driver Version - 06/21/2006,10.0.22000.1
     utl:                Configuration  - SWD\GenericRaw [SoftwareDevice]
     utl:                Driver Rank    - 00FF3001
     utl:                Signer Score   - Inbox (0D000003)
     utl:      {Select Drivers - exit(0x00000000} 13:07:24.821
     dvs:      Device does not need an update.
!    dvs:      No better matching drivers found for device 'SWD\DRIVERENUM\AMDUWP&5&8ba283f&0'.
     dvs: {Driver Setup Update Device - exit(0x00000000)} 13:07:24.822
!    dvs: No devices were updated.
<<<  Section end 2022/11/08 13:07:24.829
<<<  [Exit status: FAILURE(0x00000103)]


       您好,您所描述的现象无法判断是否与您系统设置有关,其log文件没有明显相关信息,您可将完整log文件通过邮件发至我司技术邮箱:tech@wch.cn

       另外驱动安装若显示“安装成功”或“预安装成功”皆为成功状态,此时若插入设备还是无串口生成则可能与电路设计等当面有关,此处也需要注意。


使用官方提供的安卓驱动,提示错误CH34xAndroidDriver: Step2!,这个是什么意思呢?麻烦解答一下,谢谢


您好,看您的问题描述,使用的软件版本非最新版本,您先发个邮件到我司技术邮箱tech@wch.cn,我们回复下。


432AQ`XT@I48RHPIXHNA[$X.png

您好,这是我的电路图,是这样的,我使用的是CH340G,但是插入电脑没有丝毫反应,是为什么呢?


V3电容使用的是104,这里忘记改了


您好,如上原理图没有问题,可先检查下:

1、VCC和V3的电压是否分别为5V和3.3V;

2、检查UD+和UD-和主机的Host口有没有连接反;

3、看下芯片刚上电工作的时候12MHz晶振是否起振,且频率正常;


想通过该芯片的iic与FPGA连接,想问下该芯片是否支持从机拉低SCL使该芯片进入等待状态


您好,您所询问的功能应该是I2C时钟延展功能(I2C Clock Stretching),CH341芯片暂不支持该功能,请知悉。


您好,


我去年为调试板子使用CH340E芯片做了3个USB转串口工具(线路完全一致),刚开始三个都可以正常使用,一段时间后其中两个都出现了损坏的情况,一个完全无法识别到设备,一个可以识别到设备但是显示没有驱动,请问这两个都有可能是什么原因损坏的?


image.png


您好,如上原理图设计无问题。若是搁置原因较久,可能要看下是否板子整体线路是否完好。可以先测试VCC和V3电压是否为5V和3.3V。无问题的话,不排除板子受潮等外界因素导致。


原来CH341是沁恒产的。也太经典了吧



请问CH341是否有支援I2C repeat start的格式?

有相关文件或是范例可供参考嗎?


您好,CH341进行I2C读动作时,即执行CH341ReadI2C或者CH341StreamI2C函数读长度不为0时,都会自动遵循I2C标准时序发送Repeat Start动作的。


请问vcc供电只有4.2V是不是不会工作


只有登录才能回复,可以选择微信账号登录