The minimum system of the efm32lg1_f256 single-chip microcomputer that was built two days ago. After downloading the program twice, it suddenly cannot connect to the debugging system. After removing the newly added flying line, you can use EA Commander to unlock it, or you cannot connect the single-chip microcomputer. The power supply pin and clock pin of the single-chip microcomputer are normally connected. After a new single-chip microcomputer is replaced, it still cannot be connected.
Then I decided to build a minimum system board. I connected only the power supply, clock, reset, and download lines, connected with j-link, and did not read the chip. After unlocking, I tried to connect again, still failed, miserable, and later in a post on the Internet little gecko house, it may be the reason that the single chip microcomputer power supply is not enough. At this time, it should be caused by this problem, because my single chip microcomputer board is connected to the circuit board of the original product through a flying line of about 10 cm, and the single chip microcomputer board is not coupled with capacitive filtering or decoupling, later, a 47uF filter ta capacitor was added between the power supply and the ground on the single chip microcomputer board, and the 0.01uF decoupling capacitor was added to each power supply pin, and then connected with j-link. Finally, the single chip microcomputer was read.
From this point of view, EFM32 single-chip microcomputer has high requirements on power supply. Therefore, filtering and decoupling must be done on the chip power supply; otherwise, the connection and debugging of j-link will be affected. I hope that my friends who have encountered the same problems will not be delayed by this small problem.
The following is my circuit. The flying lines are messy and long, which will affect the waveform of high-speed digital signals.