Trouble shooting of single chip microcomputer
Nov 21, 2019| Shenzhen Shenchuang Hi-tech Electronics Co., Ltd(SChitec) is a high tech enterprise which specialized in phone accessories production and sales. Our main products include travel chargers, car chargers, USB cables, power banks and other digital products.All products are safe and reliable, with unique styles.products pass certificates like CE,FCC,ROHS,UL,PSE,C-Tick,etc, If you are interested in, you can contact ceo@schitec.com directly.
Stay Charging Safely with SChitec
Trouble shooting of single chip microcomputer
1. Three conditions for normal operation of single chip microcomputer
The three working conditions of single chip microcomputer are power supply, clock crystal oscillator and reset. When the single-chip microcomputer can not work normally, we first need to check these three conditions. Use a voltmeter or multimeter to check its power supply and grounding, and check whether the voltage between the two pins is about 5V. For the clock crystal oscillation, we'd better use an oscilloscope to check whether it can detect the sine wave pulse of the corresponding frequency. Reset detection comparison Simple, the reset level of single-chip microcomputer is generally high-level reset. When the single-chip microcomputer is connected to the power supply, the reset pin will have a high level of about 5V. In addition, when the reset button is pressed, the reset pin will also have a high level, which can be detected with a general voltmeter or multimeter.
2. Check whether the MCU works normally
Whether the single chip microcomputer works normally or not, we mainly check and check it by writing the program. This detection needs the hardware and software of "burn in" code. The principle of detection is to "burn in" a normal code with detection function to the single chip microcomputer through the hardware and software of "burn in" code. Check two aspects: the first is whether the target code can be written into the single-chip microcomputer normally. When it can not be written into the single-chip microcomputer normally, it means that the single-chip microcomputer has been damaged and needs to be replaced with the same model of single-chip microcomputer; the second is that the target code can be written into the single-chip microcomputer normally, and the effect after writing is not the function of program setting, if it means that the single-chip microcomputer is normal.
When the single-chip microcomputer is replaced, we'd better use the same type of single-chip microcomputer, and then write the target code given by the company.


