What are the most common problems in chip burning programming?
Date:2021-09-10 13:57:00Views:1495
In fact, the so-called burning is to write code or data inside, which requires specific software and specific hardware, and the data format is generally specific. In the process of chip burning, we will always encounter various problems, large and small. Well, the following are some of the most common problems in the collection of network collation and collection. Engineers will see if they have encountered similar situations.
Summary of chip burning rollover records:
one The writer driver is incorrect;
two The chip is burned once, and the verification of secondary burning fails;
three Programmer failure during burning;
four The chip program cannot be burned;
five There are no problems in the R & D and testing stage, and problems occur frequently after mass production;
six After correctly burning the program, the chip program did not run;
seven When burning files, the programmer prompts pass in the whole process, but the product cannot be used normally after the chip is pasted;
eight MPLAB can detect the chip, but the burning program always fails;
nine The MCU download program failed to erase the program, and the data cannot be burned;
ten Why there is no program after chip burning;
eleven Burning encryption cannot be erased and repeated burning;
twelve Unknown interruption during chip burning;
From the rollover imagination listed above, we can see that there are various problems in chip burning. Then, if engineers want to "suit the remedy to the case" and find out the causes of burning failure, they can analyze and look for it in the following aspects. First of all, if engineers want to investigate the causes of burning failure, they must first start according to the tools and methods used in burning. Different burning methods have different burning obstacles, and the solutions are also different. Nevertheless, some engineers choose such burning. In case of burning problems in such burning methods, troubleshooting should be considered from two aspects:
1. At the hardware level
(1) First, check whether the contact between the burner and the test seat is insensitive and the reading is slow due to too long and frequent use;
(2) Check whether there is a burning option supporting this model in the burning Library of the burner. If so, confirm whether the model of IC and software is consistent;
(3) Check whether the USB cable connected to the burning tool is incompatible or unreadable;
(4) Whether the selected burner is domestic or self-made simulator, engineers need to consider whether the burner is compatible with the chip model;
(5) Pay attention to the service life of the chip burning fixture. Generally speaking, the chip burning fixture has service times, that is, the service life limit. Many small faults such as poor contact originate from the burning base.
2. At the software level
(1) Check whether the computer has installed the program files that affect the computer, resulting in unstable burning;
(2) Check whether the format of the chip program is inconsistent with the format specified by the chip;
(3) Check whether the drive of the burning tool is compatible;
(4) Check whether the certification of the burning drive has expired;
(5) Check whether the installed program belongs to a different brand from the burner. If it is a different brand, check whether there is a compatibility problem.
After eliminating the above hardware and software problems, the rest is the problem of personnel operation. For the chip with burning error, the ID detection function can be removed manually, and read or erase, programming and verification can be performed to see whether it can succeed.
Online recording is a mass operation, efficient and high-cost burning method. It is burned directly after pasting the board, and then PCBA is sent to the testing machine for testing. The whole production process is fully automated, which is convenient for the online simulation of the product program at the immature stage and the appropriate adjustment of the program.
Although the cost of online recording is relatively low, the technical requirements for operators are high, and professional engineers are needed to burn, which ordinary workers can't complete. Then, when burning problems occur in such burning methods, the following aspects should be investigated.
(1) In case of unknown interruption during chip burning, the watchdog count shall be cleared in time, and the watchdog will generate a reset signal to reset the target chip to avoid accidental interruption of current chip burning due to chip program flying or entering the dead cycle state, resulting in burning failure;
(2) When the burning program is correct and the chip program does not run, it may be because the device with battery needs to be reset after the chip code erasure programming verification is passed, so that the chip can start to work for subsequent product testing;
(3) Reasons for line length, speed and stability - the communication quality between programmer and target board is related to the length and speed of communication cable. Generally, the longer the cable, the higher the communication rate, which will reduce the communication quality and affect the burning stability. In order to burn fast and stably, it is necessary to select the line length suitable for the target board according to the specific situation, and set the appropriate communication rate according to the line length.
(4) Surge effect - some use the programmer to supply power to the target board. At the moment of starting to supply power to the target board, due to the placement of more capacitors in some equipment, there will be an instantaneous super large charging current, that is, surge effect, which will easily promote the overcurrent protection of the programmer. At this time, it is best to use external direct power supply for the target board to achieve the operation effect of controlling power supply.
(5) When burning files, the programmer prompts pass in the whole process, but the product cannot be used normally after the chip is pasted——
① Verify the burning file. If the file is not verified, it is likely that it will not run normally after burning. Therefore, it is recommended that users must make a small batch trial production before mass production to verify the correctness of the burning file;
② Set the "configuration parameters" and manually modify the configuration parameters in the chip. If the parameters are not set according to the specifications, the chip will not operate normally.
③ Avoid irreversible losses caused by abnormal operation. If there is illegal operation in the burning process, it will inevitably lead to the failure of normal use of batch chips, damage to chips and irreversible consequences.
(6) When it cannot be burned again after burning error, determine whether it is a disposable chip, and the configuration bit is whether the OTP area can only be burned once.
The above is the related content of "common problems in chip burning programming" brought by the core creation test. Through this article, I hope it can be helpful to you. If you like this article, you might as well continue to pay attention to our website, and we will bring more wonderful content later. If you have any needs related to the inspection and testing of electronic products, please call Chuangxin testing, and we will serve you wholeheartedly.