您好,使用VS工具開發(fā)的。
你好,使用官方CH341SER_ANDROID.zip的jar包時,
在android系統(tǒng)引用WCHUARTManager時,最高支持是否是Android12?
在Android14手機上測試時,會引起閃退。問題代碼如下:
WCHUARTManager.getInstance().init(this.getApplication())
在android12上可以運行。
您好,麻煩發(fā)郵件至tech@wch.cn獲取最新的安卓資料。
只能回復不能發(fā)帖么?也許是級別不夠?
描述一下我的問題,同一批加工的幾十套板子,都用了CH340N,最近突然發(fā)現,有些板子插到PC上,設備管理器顯示黃色感嘆號在USB Serial上,說明驅動出了問題,但是奇怪的是這些板子以前肯定是燒寫過代碼的,因為上電后數碼管顯示啥的就說明以前串行口曾經正常驅動過?,F在驅動程序也更新了,沒有用。按照社區(qū)文檔的指示,把錯誤的log文件段貼出來,請廠家看看。
我的電路圖:
>>>? [Device Install (UpdateDriverForPlugAndPlayDevices) - USB\VID_1A86&PID_7523]
>>>? Section start 2024/12/26 13:05:57.155
? ? ? cmd: C:\WCH.CN\CH341SER\DRVSETUP64\DRVSETUP64.EXE
? ? ?ndv: INF path: C:\WCH.CN\CH341SER\WIN 1X\CH341SER.INF
? ? ?ndv: Install flags: 0x00000001
!? ? ndv: Unable to find any matching devices.
<<<? Section end 2024/12/26 13:05:57.171
<<<? [Exit status: FAILURE(0xe000020b)]
>>>? [Device Install (UpdateDriverForPlugAndPlayDevices) - USB\VID_1A86&PID_7523]
>>>? Section start 2024/12/26 13:05:57.171
? ? ? cmd: C:\WCH.CN\CH341SER\DRVSETUP64\DRVSETUP64.EXE
? ? ?ndv: INF path: C:\WCH.CN\CH341SER\WIN 1X\CH341SER.INF
? ? ?ndv: Install flags: 0x00000001
!? ? ndv: Unable to find any matching devices.
<<<? Section end 2024/12/26 13:05:57.187
<<<? [Exit status: FAILURE(0xe000020b)]
>>>? [Device Install (UpdateDriverForPlugAndPlayDevices) - USB\VID_1A86&PID_5523]
>>>? Section start 2024/12/26 13:05:57.203
? ? ? cmd: C:\WCH.CN\CH341SER\DRVSETUP64\DRVSETUP64.EXE
? ? ?ndv: INF path: C:\WCH.CN\CH341SER\WIN 1X\CH341SER.INF
? ? ?ndv: Install flags: 0x00000001
!? ? ndv: Unable to find any matching devices.
<<<? Section end 2024/12/26 13:05:57.219
<<<? [Exit status: FAILURE(0xe000020b)]
>>>? [Device Install (UpdateDriverForPlugAndPlayDevices) - USB\VID_1A86&PID_5523]
>>>? Section start 2024/12/26 13:05:57.219
? ? ? cmd: C:\WCH.CN\CH341SER\DRVSETUP64\DRVSETUP64.EXE
? ? ?ndv: INF path: C:\WCH.CN\CH341SER\WIN 1X\CH341SER.INF
? ? ?ndv: Install flags: 0x00000001
!? ? ndv: Unable to find any matching devices.
<<<? Section end 2024/12/26 13:05:57.219
<<<? [Exit status: FAILURE(0xe000020b)]
>>>? [Device Install (UpdateDriverForPlugAndPlayDevices) - USB\VID_1A86&PID_7522]
>>>? Section start 2024/12/26 13:05:57.250
? ? ? cmd: C:\WCH.CN\CH341SER\DRVSETUP64\DRVSETUP64.EXE
? ? ?ndv: INF path: C:\WCH.CN\CH341SER\WIN 1X\CH341SER.INF
? ? ?ndv: Install flags: 0x00000001
!? ? ndv: Unable to find any matching devices.
<<<? Section end 2024/12/26 13:05:57.251
<<<? [Exit status: FAILURE(0xe000020b)]
>>>? [Device Install (UpdateDriverForPlugAndPlayDevices) - USB\VID_1A86&PID_7522]
>>>? Section start 2024/12/26 13:05:57.251
? ? ? cmd: C:\WCH.CN\CH341SER\DRVSETUP64\DRVSETUP64.EXE
? ? ?ndv: INF path: C:\WCH.CN\CH341SER\WIN 1X\CH341SER.INF
? ? ?ndv: Install flags: 0x00000001
!? ? ndv: Unable to find any matching devices.
<<<? Section end 2024/12/26 13:05:57.267
<<<? [Exit status: FAILURE(0xe000020b)]
>>>? [Device Install (UpdateDriverForPlugAndPlayDevices) - USB\VID_1A86&PID_E523]
>>>? Section start 2024/12/26 13:05:57.299
? ? ? cmd: C:\WCH.CN\CH341SER\DRVSETUP64\DRVSETUP64.EXE
? ? ?ndv: INF path: C:\WCH.CN\CH341SER\WIN 1X\CH341SER.INF
? ? ?ndv: Install flags: 0x00000001
!? ? ndv: Unable to find any matching devices.
<<<? Section end 2024/12/26 13:05:57.315
<<<? [Exit status: FAILURE(0xe000020b)]
>>>? [Device Install (UpdateDriverForPlugAndPlayDevices) - USB\VID_1A86&PID_E523]
>>>? Section start 2024/12/26 13:05:57.315
? ? ? cmd: C:\WCH.CN\CH341SER\DRVSETUP64\DRVSETUP64.EXE
? ? ?ndv: INF path: C:\WCH.CN\CH341SER\WIN 1X\CH341SER.INF
? ? ?ndv: Install flags: 0x00000001
!? ? ndv: Unable to find any matching devices.
<<<? Section end 2024/12/26 13:05:57.330
<<<? [Exit status: FAILURE(0xe000020b)]
>>>? [Device Install (UpdateDriverForPlugAndPlayDevices) - USB\VID_4348&PID_5523]
>>>? Section start 2024/12/26 13:05:57.346
? ? ? cmd: C:\WCH.CN\CH341SER\DRVSETUP64\DRVSETUP64.EXE
? ? ?ndv: INF path: C:\WCH.CN\CH341SER\WIN 1X\CH341SER.INF
? ? ?ndv: Install flags: 0x00000001
!? ? ndv: Unable to find any matching devices.
<<<? Section end 2024/12/26 13:05:57.362
<<<? [Exit status: FAILURE(0xe000020b)]
>>>? [Device Install (UpdateDriverForPlugAndPlayDevices) - USB\VID_4348&PID_5523]
>>>? Section start 2024/12/26 13:05:57.362
? ? ? cmd: C:\WCH.CN\CH341SER\DRVSETUP64\DRVSETUP64.EXE
? ? ?ndv: INF path: C:\WCH.CN\CH341SER\WIN 1X\CH341SER.INF
? ? ?ndv: Install flags: 0x00000001
!? ? ndv: Unable to find any matching devices.
<<<? Section end 2024/12/26 13:05:57.378
<<<? [Exit status: FAILURE(0xe000020b)]
>>>? [Device Install (UpdateDriverForPlugAndPlayDevices) - USB\VID_4348&PID_5523&REV_0250]
>>>? Section start 2024/12/26 13:05:57.394
? ? ? cmd: C:\WCH.CN\CH341SER\DRVSETUP64\DRVSETUP64.EXE
? ? ?ndv: INF path: C:\WCH.CN\CH341SER\WIN 1X\CH341SER.INF
? ? ?ndv: Install flags: 0x00000001
!? ? ndv: Unable to find any matching devices.
<<<? Section end 2024/12/26 13:05:57.410
<<<? [Exit status: FAILURE(0xe000020b)]
>>>? [Device Install (UpdateDriverForPlugAndPlayDevices) - USB\VID_4348&PID_5523&REV_0250]
>>>? Section start 2024/12/26 13:05:57.410
? ? ? cmd: C:\WCH.CN\CH341SER\DRVSETUP64\DRVSETUP64.EXE
? ? ?ndv: INF path: C:\WCH.CN\CH341SER\WIN 1X\CH341SER.INF
? ? ?ndv: Install flags: 0x00000001
!? ? ndv: Unable to find any matching devices.
<<<? Section end 2024/12/26 13:05:57.410
<<<? [Exit status: FAILURE(0xe000020b)]
Hi,請問當前反饋是設備插入后設備管理器未成功顯示COM口是嗎?看下當前多出的什么設備。
上圖如VCC是5V供電,則原理圖沒問題,其余外圍可檢查下使用的USB線纜是否為標準線以及線纜有無磁環(huán)和屏蔽層等,排除線材端問題。
謝謝!線材肯定沒問題,一根線測試的。我回頭再檢查下焊接有沒有問題
插上后多出的設備就是 USB Serial,前面有個黃色感嘆號。
Hi,如上信息應該是因為芯片上電時檢測到RTS被下拉到低電平導致,如檢測到高電平理論上就能正常識別工作了。您check下這部分電路。
我這個電路就是要通過RTS下拉斷一下電來實現自動上電ISP的...關鍵是有些電路板可以,有些不行......難道芯片有區(qū)別?
看下RTS上有沒有下拉電阻,如果只是經過一個電容,那么電容可以換成電阻,理論上不會影響原功能。
電容測試了容量小一半和大一半的、也換了電阻,芯片也換過了,都不行,插上去就是感嘆號。