Production test interface

The software function not only fulfills the customer's needs, but also serves the production test.

The value of software is to become a commodity. For embedded devices, there must be a production link. To ensure that the whole machine works normally, a production test interface must be reserved for easy and fast confirmation of hardware functions on the production line. In general small consumer electronics, the production process is patch-download software-calibration-test-aging-retest-configure factory parameters. Different production lines may have differences. Small workshops may be simpler. These processes are related to software. Test station.

Through the input interface, such as buttons, AT commands, make the device enter a special state, that is, engineering mode or test mode. In this mode, the software takes over all hardware unconditionally. The tester verifies the hardware one by one through the input interface, and the device outputs the results to the display screen and LED Instruct or AT receiving tool, exit to normal mode after the test is completed.

Take the early keyboard test of the elderly phone as an example. The interface displays the icons of all keys. The production line presses the keys and the corresponding icons disappear. If a key fails, the corresponding icon is always displayed on the display screen and cannot enter the next test link. Pick out the broken machine with abnormal keyboard. If it is a device without a display screen, use the AT serial port and press the key once, and the serial port will output the corresponding sentence. Some test items need to use instruments or other to assist the test. For example, to verify the Bluetooth receiving function, you need to provide a Bluetooth beacon broadcast data, the device displays the received Bluetooth name and signal strength, or output through the serial port.

The factory test principle is like this, but manual operation of buttons or sending AT is too inefficient for the production line. Generally, automatic buttons are made for fixtures. PC software judges the AT output results, and automatically tests after startup and judges the test results. If the problem prompts abnormal, it will enter the next test item if it is normal. If it is further expanded, the test process and results can be counted and stored for later problem analysis and process optimization.

The software function supports the production test, controls or monitors the hardware circuit step by step, and outputs the result, and the production line judges whether the equipment working condition meets expectations according to the result. Just as you have to bring an umbrella when you go out on a cloudy day, you must reserve related test interfaces when developing functions.

Guess you like

Origin blog.csdn.net/chengjunchengjun/article/details/109233132