2158 views|26 replies

194

Posts

0

Resources
The OP
 

Circuit board ch340g computer cannot recognize USB device? [Copy link]

 

After soldering the device, when burning the program, the computer shows that it cannot recognize the USB device. The voltage of 5v and 3.3v are normal. One end of the crystal oscillator is 5.11v and the other end is 5.08v. I changed all the components of the serial port, but it cannot be recognized. The last time I changed ch340g again, the computer recognized the serial port. I plugged and unplugged it again, but the computer still could not recognize the USB device. What is the reason?

This post is from Test/Measurement

Latest reply

Hello, can you please leave me your contact information? My CH340G can't recognize my computer either.   Details Published on 2024-10-23 19:57
 
 

6027

Posts

6

Resources
2
 

Has the USB socket been replaced?

This post is from Test/Measurement

Comments

Issue resolved  Details Published on 2024-3-12 18:58
Issue resolved  Details Published on 2024-3-12 18:19
Issue resolved  Details Published on 2024-3-12 18:11
Personal signature

在爱好的道路上不断前进,在生活的迷雾中播撒光引

 
 
 

2929

Posts

0

Resources
3
 

You should use a USB cable of better quality and shorter size, and plug it into the port on the computer motherboard. Do not plug it into the USB port on the front of the desktop computer. Then try it again.

This post is from Test/Measurement
 
 
 

6748

Posts

2

Resources
4
 

Have you installed the CH340 driver?

This post is from Test/Measurement

Comments

Installed  Details Published on 2024-3-12 18:11
 
 
 

194

Posts

0

Resources
5
 
wangerxian posted on 2024-3-12 18:09 Have you installed the driver for CH340?

Installed

This post is from Test/Measurement
 
 
 

194

Posts

0

Resources
6
 
Qintianqintian0303 posted on 2024-3-12 15:40 Have you changed the USB socket?

problem solved

This post is from Test/Measurement
 
 
 

194

Posts

0

Resources
7
 
Qintianqintian0303 posted on 2024-3-12 15:40 Have you changed the USB socket?

I made the ch340g module into two USB male connectors according to what you know before, and then I have a serial port number, but I still can't download the program. I also changed the crystal oscillator but it didn't work.

This is the serial port part of a board

The real thing is like this

What is the reason?

This post is from Test/Measurement
 
 
 

194

Posts

0

Resources
8
 
Qintianqintian0303 posted on 2024-3-12 15:40 Have you changed the USB socket?

Also, when I use this ch340g module to connect the circuit board, this light will light up. Logically speaking, this light should not be on.

Is the main control chip broken?

This post is from Test/Measurement

Comments

Is it because my boot0 is not set to 1, which causes the program to fail to download?  Details Published on 2024-3-13 08:38
 
 
 

194

Posts

0

Resources
9
 
xbxdbd posted on 2024-3-12 18:58 Also, I use this ch340g module to connect the circuit board, and this light will light up. Logically speaking, this light should not be on. Is it...

Is it because my boot0 is not set to 1, which causes the program to fail to download?

This post is from Test/Measurement

Comments

When burning stm32, boot0 is pulled high or low by external input. The microcontroller can't control it. ch340G can control it.  Details Published on 2024-3-13 09:01
 
 
 

6063

Posts

4

Resources
10
 
This post was last edited by damiaa on 2024-3-13 09:10
xbxdbd posted on 2024-3-13 08:38 Is it because my boot0 is not set to 1 that the program cannot be downloaded?

When burning stm32, boot0 is pulled high or low by external input. The microcontroller can't control it. ch340G can control it.

If you can't find the USB, start with ch340G.

Check the reset of the microcontroller. If the reset is not correct, it will not work.

Serial communication is tx === rx

rx === tx seems to be ok here.

You can check whether the crystal is oscillating, which can also indirectly determine whether the microcontroller can work.

This post is from Test/Measurement

Comments

Flymcu can find the serial port number, but cannot download the program. The chip times out and responds, and the program cannot be downloaded.  Details Published on 2024-3-13 09:16
 
 
 

194

Posts

0

Resources
11
 
damiaa posted on 2024-3-13 09:01 When burning stm32, boot0 is pulled high and low by external input. The microcontroller can't control it. ch340G controls it. If you can't find the USB, ...

Flymcu can find the serial port number, but cannot download the program. The chip times out and responds, and the program cannot be downloaded.

This post is from Test/Measurement

Comments

Is the boot0 of your microcontroller directly connected to ground? [attachimg]794359[/attachimg]   Details Published on 2024-3-13 09:23
 
 
 

6063

Posts

4

Resources
12
 
This post was last edited by damiaa on 2024-3-13 09:25
xbxdbd posted on 2024-3-13 09:16 FlyMCU can find the serial port number, but cannot download the program. The chip times out and responds, and the program cannot be downloaded.

Is the boot0 of your microcontroller directly connected to ground?

Pull up the boot0. Disconnect the pull-down first. Restore it when running the program after burning.

This post is from Test/Measurement

Comments

Now my circuit board boot0 is directly grounded. Do I need to cut the wire and jumper it to high level? Another phenomenon is that when I connect to the computer to download the program, the LED indicator light is always on, which should not be on. [attachimg]794362[/attachimg]   Details Published on 2024-3-13 09:36
 
 
 

194

Posts

0

Resources
13
 
damiaa posted on 2024-3-13 09:23 Is the boot0 of your microcontroller directly connected to the ground? Pull up the boot0. Disconnect the pull-down first. After burning, run the program...

Now my circuit board boot0 is directly grounded. Do I need to cut the wire and jumper it to high level? Another phenomenon is that when I connect to the computer to download the program, the LED indicator light is always on, which should not be on.

This post is from Test/Measurement

Comments

Isn't there a resistor connected to boot0? Disconnect the resistor and connect a resistor to pull it up. If it is directly grounded, just lift it up and pull it up with a 10k pull-up resistor.  Details Published on 2024-3-13 09:38
 
 
 

6063

Posts

4

Resources
14
 
xbxdbd posted on 2024-3-13 09:36 Now my circuit board boot0 is directly grounded. Do I need to cut the wire and jumper it to high level? Another phenomenon is that when I connect to the computer to download the program...

Isn't there a resistor connected to boot0? Disconnect the resistor and connect a resistor to pull it up.

If it is directly grounded, just lift it up and add a 10k pull-up resistor.

This post is from Test/Measurement

Comments

[attachimg]794375[/attachimg] I made the jumper, but the chip still has no response. There is another phenomenon, which I circled in red. My schematic diagram is like this. Logically, it should not light up during the power-on process, but it keeps lighting up. Could it be that the main control chip is broken, so the program cannot be burned out?  Details Published on 2024-3-13 10:04
 
 
 

194

Posts

0

Resources
15
 
damiaa posted on 2024-3-13 09:38 Isn't there a resistor connected to boot0? Disconnect the resistor and then connect a resistor to pull it up. If it is directly grounded, lift it up and pull up a 10k pull-up resistor...

I made the jumper, but the chip still has no response. There is another phenomenon. I drew a red circle here. My schematic diagram is like this. Logically, it should not light up during the power-on process, but it keeps lighting up. Could it be that the main control chip is broken, so the program cannot be burned?

This post is from Test/Measurement
 
 
 

6063

Posts

4

Resources
16
 
This post was last edited by damiaa on 2024-3-13 10:26

Don't worry about PA15's legs yet. The program hasn't been burned in and the microcontroller hasn't started working yet. Don't worry about this yet.

This post is from Test/Measurement

Comments

[attachimg]794401[/attachimg] Is this what you mean?  Details Published on 2024-3-13 10:21
 
 
 

194

Posts

0

Resources
17
 
damiaa posted on 2024-3-13 10:11 Is your jumper directly connected to the chip? Is the other end of 102 GND? The jumper should be connected to the CPU leg, ...

Is this what you mean?

This post is from Test/Measurement

Comments

[attachimg]794409[/attachimg] This is the one that connects boot0 to r3  Details Published on 2024-3-13 10:30
 
 
 

6063

Posts

4

Resources
18
 
xbxdbd posted on 2024-3-13 10:21 Is this what you mean?

This is boot0, the one connected to r3 is boot1

Boot1 is grounded correctly, the resistor of boot0 (R3)

Remove the pull-up connector.

This post is from Test/Measurement
 
 
 

6063

Posts

4

Resources
19
 

This is boot0, the one connected to r3 is boot1

Boot1 is grounded correctly, the resistor of boot0 (R3)

Remove the pull-up connector.

This post is from Test/Measurement
 
 
 

6063

Posts

4

Resources
20
 
This post was last edited by damiaa on 2024-3-13 11:15

If it can be burned, remember to restore grounding after burning so that you can run your own program.

This post is from Test/Measurement

Comments

If I want to modify the program in the future, do I have to remove the circuit board casing to download it, connect the resistor to 3.3v, and then connect it back to ground after downloading? Is there any way to download the program directly without removing the casing?  Details Published on 2024-3-13 11:24
 
 
 

Find a datasheet?

EEWorld Datasheet Technical Support

Featured Posts
About the Japanese

( 1) Four surgeons sat around and talked about what kind of people they liked to operate on. The first docto ...

Design experience exchange: Matters needing attention in AD sampling

Mainly for high-precision measurement AD. 1: The reference voltage needs to be accurate enough, and it is recommende ...

TI C6000 Data Storage Processing and Performance Optimization

Memory is to CPU like warehouse is to workshop. Raw materials, semi-finished products, finished products, etc. in the wo ...

Namisoft shares classic case of multi-contact electrical automatic test system

Overview When performing performance testing on multi-contact electrical appliances, it is necessary to use a variet ...

[Atria Development Board AT32F421 Review] 4. Run RTX

I've been very interested in RTX recently. You can use it as an operating system just by checking the box without portin ...

Smart Camera Structural Design--Physical Assembly

After fine-tuning various details, we made a sample of a light-curing 3D and a CNC aluminum alloy sample using a machini ...

MS8211 Pen-Type Multimeter Disassembly

This post was last edited by dcexpert on 2022-2-4 16:55 I had nothing to do these few days, and I accidentally found th ...

Thonny Python Editor upgraded to 4.0.0 Beta1

Changes since 3.3.13 Upgraded bundled Python to 3.10 Mac bundle now comes with unversal2 build of Python Dropping supp ...

LTspice simulation tutorial——xutong

@xutong LTspice (1) VScode and .model LTspice(2) .TEXT uses Xnn LTspice(5) components and libraries LTspice .Subckt(1) P ...

Common Mode Rejection Ratio and Power Supply Rejection Ratio of Op Amp

1. If the same signal is applied to the two input terminals of the op amp at the same time, the difference in input volt ...

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews

Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京B2-20211791 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号
快速回复 返回顶部 Return list