A chip firmware burning state detection device, method, equipment and storage medium
Patent Information
- Application Number
- CN202310618008.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-26
- Publication Date
- 2026-09-22
- Estimated Expiration
- 2043-05-26
AI Technical Summary
最终造成无法开机或者部分功能异常等问题
[0028]本申请中,提供了一种芯片固件烧录状态检测方法,在所述供电线路处于供电状态时,通过所述芯片固件烧录状态检测装置中的功率级芯片利用所述芯片固件烧录状态检测装置中的中间信号传输电路获取当前待检测芯片输出的脉冲宽度调制信号,并在所述脉冲宽度调制信号的控制下产生相应的电压值,基于所述电压值来确定所述固件烧录操作是否烧录成功。由此可知,通过对所述功率级芯片在所述脉冲宽度调制信号控制下生成的相应电压值进行测量,基于所述电压值确定所述固件烧录操作是否烧录成功。这样一来,可以在工厂进行烧录之后,即刻进行检测验证烧录是否成功,从而避免产线生产完成后才能发现相应问题的情况发生,从而大大节省工厂产线生产的时间成本。
Smart Images

Figure CN116643148B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer hardware technology, and in particular to a chip firmware burning status detection device, method, equipment, and storage medium. Background Technology
[0002] During server manufacturing, a large number of chips need to be firmware-programmed to achieve their preset functions. However, whether the firmware is programmed manually using a fixture or using a dedicated machine, programming failures can occur.
[0003] Programming failures can occur in several ways: 1) Missed programming, meaning the chip was not programmed; 2) Incorrect programming version, causing functional problems; 3) In some cases of programming failure, the programming software may still display "programming successful," leading to misleading results. These failed programming chips, undetected, will continue the production process and be soldered onto the PCB. This ultimately causes problems such as the device failing to power on or malfunctioning in some areas. Furthermore, because they are already soldered onto the board, reprogramming requires rework, significantly delaying production.
[0004] In existing technologies, some chips support subsequent updates via I2C pins, but this does not allow for a determination of whether the programming was successful before the chips enter the production line. Summary of the Invention
[0005] In view of this, the purpose of this invention is to provide a chip firmware burning status detection device, method, apparatus, and storage medium, which can immediately detect and verify whether the burning was successful after the burning operation is performed in the factory. The specific solution is as follows:
[0006] The first aspect of this application provides a chip firmware burning status detection device, comprising:
[0007] Power supply lines and intermediate signal transmission circuits;
[0008] A chip test base connected to the power supply line for placing the chip to be tested that has undergone firmware burning.
[0009] A power stage chip connected to the power supply line and connected to the chip under test on the chip test base via the intermediate signal transmission circuit is used to acquire the pulse width modulation signal output by the chip under test through the intermediate signal transmission circuit when the power supply line is in a powered state, and generate a corresponding voltage value under the control of the pulse width modulation signal, so as to determine whether the firmware burning operation is successful based on the voltage value.
[0010] Optionally, the device further includes:
[0011] Signal transmission lines;
[0012] The control chip, which is connected to the chip under test on the chip test base via the signal transmission line, is used to output a control signal to the chip under test via the signal transmission line when the power supply line is in a powered state, so as to use the control signal to control the chip under test accordingly.
[0013] Optionally, the control signal is an initialization signal used to perform initialization control on the chip under test.
[0014] Optionally, the control signal is an enable signal used to enable the chip under test.
[0015] Optionally, the device further includes:
[0016] Information transmission line used to connect the control chip and the chip under test on the chip test base;
[0017] Correspondingly, the control chip is also used to obtain the burning version information output by the chip under test through the information transmission line, and to determine whether the firmware burning version is correct based on the burning version information.
[0018] Optionally, the information transmission line is an I2C bus.
[0019] A second aspect of this application provides a method for detecting the firmware burning status of a chip, applied to a chip firmware burning status detection device. The device includes a power supply line, an intermediate signal transmission circuit, a chip test base connected to the power supply line for placing a chip under test that has undergone firmware burning, and a power stage chip connected to the power supply line and connected to the chip under test on the chip test base via the intermediate signal transmission circuit. The method includes:
[0020] When the power supply line is in a power supply state, the power stage chip uses the intermediate signal transmission circuit to obtain the pulse width modulation signal output by the chip under test, and generates a corresponding voltage value under the control of the pulse width modulation signal.
[0021] The success of the firmware burning operation is determined based on the voltage value.
[0022] Optionally, determining whether the firmware burning operation was successful based on the voltage value includes:
[0023] Determine whether the voltage value is within the reference voltage range determined based on the power supply voltage of the power supply line;
[0024] If the voltage value is within the reference voltage range, then the firmware burning is considered successful.
[0025] A third aspect of this application provides an electronic device, which includes a processing unit and a storage unit; wherein the storage unit is used to store a computer program, which is loaded and executed by the processing unit to implement the aforementioned chip firmware burning status detection method.
[0026] A fourth aspect of this application provides a computer-readable storage medium, wherein the computer program, when executed by a processing unit, implements the aforementioned chip firmware burning status detection method.
[0027] This application provides a chip firmware burning status detection device comprising a power supply line and an intermediate signal transmission circuit; a chip test base connected to the power supply line for placing a chip under test that has undergone firmware burning; and a power stage chip connected to the power supply line and connected to the chip under test on the chip test base via the intermediate signal transmission circuit. When the power supply line is powered on, the power stage chip acquires the pulse width modulation signal output by the chip under test via the intermediate signal transmission circuit and generates a corresponding voltage value under the control of the pulse width modulation signal. Based on this voltage value, the success of the firmware burning operation can be determined. Therefore, by measuring the corresponding voltage value generated by the power stage chip under the control of the pulse width modulation signal, the success of the firmware burning operation can be determined. This allows for immediate verification of successful burning after the factory burning process, avoiding situations where problems are only discovered after production is complete, thus significantly saving production time.
[0028] This application provides a method for detecting the firmware burning status of a chip. When the power supply line is powered on, the power stage chip in the firmware burning status detection device acquires the pulse width modulation signal output by the chip under test through the intermediate signal transmission circuit in the device, and generates a corresponding voltage value under the control of the pulse width modulation signal. Based on the voltage value, the success of the firmware burning operation is determined. Therefore, by measuring the corresponding voltage value generated by the power stage chip under the control of the pulse width modulation signal, the success of the firmware burning operation is determined. This allows for immediate verification of successful burning after the factory burning process, avoiding situations where problems are only discovered after production is completed, thus significantly saving production time and costs. Attached Figure Description
[0029] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.
[0030] Figure 1 This is a schematic diagram of a chip firmware burning status detection device disclosed in this application.
[0031] Figure 2 This is a schematic diagram of a chip firmware burning status detection device disclosed in this application.
[0032] Figure 3 This is a flowchart of a specific chip firmware burning status detection method disclosed in this application;
[0033] Figure 4 This is a structural diagram of an electronic device disclosed in this application.
[0034] The markings in the diagram are explained as follows: 1 is the power supply circuit; 2 is the chip test base; 3 is the control chip; 4 is the signal transmission line; 5 is the information transmission line; 6 is the chip under test; 7 is the intermediate signal transmission circuit; and 8 is the power stage chip. Detailed Implementation
[0035] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0036] In existing technologies, some chips support subsequent updates via I2C pins, but this does not allow for verification of successful programming before the chips enter the production line. This invention will introduce a...
[0037] See Figure 1As shown, this embodiment of the invention discloses a chip firmware burning status detection device, including: a power supply line 1 and an intermediate signal transmission circuit 7; a chip test base 2 connected to the power supply line 1 for placing a chip 6 to be tested that has undergone firmware burning; and a power stage chip 8 connected to the power supply line 1 and connected to the chip 6 to be tested on the chip test base 2 via the intermediate signal transmission circuit 7. The power stage chip 8 is used to acquire the pulse width modulation signal currently output by the chip 6 to be tested via the intermediate signal transmission circuit 7 when the power supply line 1 is in a powered state, and to generate a corresponding voltage value under the control of the pulse width modulation signal, so as to determine whether the firmware burning operation was successful based on the voltage value. The intermediate signal transmission circuit 7, as shown... Figure 2 As shown. In this way, the success of the programming can be verified immediately after it is performed in the factory, thus avoiding the situation where problems are only discovered after production is completed, and greatly saving the time cost of production line operations.
[0038] In this embodiment, the chip firmware burning status detection device further includes: a signal transmission line 4; and a control chip 3 connected to the chip under test 6 on the chip test base 2 via the signal transmission line 4, which is used to output a control signal to the chip under test 6 via the signal transmission line 4 when the power supply line 1 is in the power supply state, so as to use the control signal to perform corresponding control on the chip under test 6.
[0039] In this embodiment, the control signal is an initialization signal for initializing the chip 6 under test and an enable signal for enabling the chip 6 under test.
[0040] In this embodiment, the chip firmware burning status detection device further includes: an information transmission line 5 for connecting the control chip and the chip under test on the chip test base; correspondingly, the control chip 3 is also used to obtain the burning version information output by the chip under test 6 through the information transmission line 5, and determine whether the firmware burning version is correct based on the burning version information. The information transmission line 5 is an I2C bus. In this way, the firmware burning version can be checked and verified immediately after burning in the factory, thus avoiding the situation where problems are only discovered after production is completed on the production line, thereby greatly saving the time cost of factory production line production.
[0041] As can be seen, this embodiment provides a chip firmware burning status detection device comprising a power supply line 1 and an intermediate signal transmission circuit 7; a chip test base 2 connected to the power supply line 1 for placing a chip 6 to be tested that has undergone firmware burning; and a power stage chip 8 connected to the power supply line 1 and connected to the chip 6 to be tested on the chip test base 2 via the intermediate signal transmission circuit 7. This power stage chip 8, when the power supply line 1 is powered on, acquires the pulse width modulation signal output by the chip 6 to be tested via the intermediate signal transmission circuit 7, and generates a corresponding voltage value under the control of the pulse width modulation signal, so as to determine whether the firmware burning operation was successful based on the voltage value. Therefore, by measuring the corresponding voltage value generated by the power stage chip 7 under the control of the pulse width modulation signal, the success of the firmware burning operation is determined based on the voltage value. This allows for immediate verification of successful burning after the factory burning process, avoiding situations where problems are only discovered after production is completed, thus significantly saving production time costs.
[0042] See Figure 3 As shown, this invention discloses a chip firmware burning status detection method, applied to a chip firmware burning status detection device. The chip firmware burning status detection device includes a power supply line, an intermediate signal transmission circuit, a chip test base connected to the power supply line for placing a chip to be tested that has undergone firmware burning, and a power stage chip connected to the power supply line and connected to the chip to be tested on the chip test base via the intermediate signal transmission circuit; comprising:
[0043] Step S11: When the power supply line is in the power supply state, the power stage chip uses the intermediate signal transmission circuit to obtain the pulse width modulation signal output by the chip under test, and generates the corresponding voltage value under the control of the pulse width modulation signal.
[0044] In this embodiment, when the power supply circuit is in the power supply state, the chip under test controls the power stage chip through control signals such as pulse width modulation signals and feedback signals. Since the method of measuring the voltage between the chip under test is relatively complicated, the power stage chip can be controlled through control signals such as pulse width modulation signals and feedback signals, and then the voltage output by the power stage chip can be measured. In this way, it is only necessary to measure the voltage output by the power stage chip to determine whether the chip under test has been successfully programmed.
[0045] Step S12: Determine whether the voltage value is within the reference voltage range determined based on the power supply voltage of the power supply line.
[0046] In this embodiment, since the power supply circuit has a certain influence on the output voltage of the chip under test and the power stage chip, the influence of the power supply circuit needs to be considered when determining whether the firmware burning operation is successful based on the voltage value. Therefore, it is necessary to determine whether the voltage value is within the reference voltage range determined based on the power supply voltage of the power supply line. It is understood that when the power supply voltage changes, the reference voltage range will also change accordingly. This avoids errors in determining the success of the firmware burning operation due to changes in the power stage chip's output voltage caused by the power supply voltage.
[0047] Step S13: If the voltage value is within the reference voltage range, then the firmware burning is confirmed to be successful.
[0048] In this embodiment, the operation of determining successful firmware burning further includes: using a control chip to obtain the burning version information output by the chip under test through the information transmission line, and determining whether the firmware burning version is correct based on the burning version information. The control chip controls the chip under test through control signals such as initialization signals and enable signals, and then communicates with the chip under test through the I2C bus. By obtaining the burning version information output by the chip under test, the control chip prints and displays the burning version information. The correctness of the firmware burning version is determined based on the burning version information. In this way, it is possible to avoid the situation where the function of the chip under test is malfunctioning due to different burning version information.
[0049] As can be seen, this embodiment provides a method for detecting the firmware burning status. When the power supply line is powered on, the power stage chip in the firmware burning status detection device uses the intermediate signal transmission circuit in the device to acquire the pulse width modulation signal output by the chip under test, and generates a corresponding voltage value under the control of the pulse width modulation signal. Based on the voltage value, it is determined whether the firmware burning operation was successful. Therefore, by measuring the corresponding voltage value generated by the power stage chip under the control of the pulse width modulation signal, the success of the firmware burning operation is determined. This allows for immediate verification of successful burning after the factory burning process, avoiding situations where problems are only discovered after production is complete, thus significantly saving production time.
[0050] Furthermore, embodiments of this application also disclose an electronic device, Figure 4 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content of the diagram should not be construed as limiting the scope of this application.
[0051] Figure 4 This is a schematic diagram of the structure of an electronic device 20 provided in an embodiment of this application. Specifically, the electronic device 20 may include: at least one processing unit 21, at least one storage unit 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The storage unit 22 stores a computer program, which is loaded and executed by the processing unit 21 to implement the relevant steps in the chip firmware burning status detection method disclosed in any of the foregoing embodiments. Alternatively, the electronic device 20 in this embodiment may specifically be an electronic computer.
[0052] In this embodiment, the power supply 23 is used to provide operating voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and external devices, and the communication protocol it follows can be any communication protocol applicable to the technical solution of this application, and is not specifically limited here; the input / output interface 25 is used to acquire external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs, and is not specifically limited here.
[0053] In addition, the storage unit 22, as a carrier for resource storage, can be a read-only storage unit, a random access storage unit, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.
[0054] The operating system 221 is used to manage and control the various hardware devices on the electronic device 20 and the computer program 222, which may be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program capable of performing the chip firmware burning status detection method executed by the electronic device 20 as disclosed in any of the foregoing embodiments, the computer program 222 may further include a computer program capable of performing other specific tasks.
[0055] Furthermore, this application also discloses a computer-readable storage medium for storing a computer program; wherein, when the computer program is executed by a processing unit, it implements the aforementioned chip firmware burning status detection method. Specific steps of this method can be found in the corresponding content disclosed in the foregoing embodiments, and will not be repeated here.
[0056] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since it corresponds to the method disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to in the method section.
[0057] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0058] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, software modules executed by processing units, or a combination of both. The software modules can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disks, removable disks, CD-ROMs, or any other form of storage medium known in the art.
[0059] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0060] The technical solutions provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A chip firmware burning status detection device, characterized in that, include: Power supply lines and intermediate signal transmission circuits; A chip test base connected to the power supply line for placing the chip to be tested that has undergone firmware burning. A power stage chip connected to the power supply line and connected to the chip under test on the chip test base through the intermediate signal transmission circuit is used to obtain the pulse width modulation signal output by the chip under test through the intermediate signal transmission circuit when the power supply line is in the power supply state, and generate a corresponding voltage value under the control of the pulse width modulation signal and the feedback signal, so as to determine whether the firmware burning operation is successful based on the voltage value. The pulse width modulation signal is a control signal; The device further includes: Signal transmission lines; The control chip, which is connected to the chip under test on the chip test base via the signal transmission line, is used to output a control signal to the chip under test via the signal transmission line when the power supply line is in the power supply state, so as to use the control signal to control the chip under test accordingly. The step of determining whether the firmware burning operation was successful based on the voltage value includes: Determine whether the voltage value is within the reference voltage range determined based on the power supply voltage of the power supply line; If the voltage value is within the reference voltage range, the firmware is determined to have been successfully burned; the burning version information output by the chip under test is obtained, and the burning version information is printed and displayed; The control signal is an initialization signal used to perform initialization control on the chip under test; The control signal is an enable signal used to enable the chip under test; The device further includes: Information transmission line used to connect the control chip and the chip under test on the chip test base; Correspondingly, the control chip is also used to obtain the burning version information output by the chip under test through the information transmission line, and determine whether the firmware burning version is correct based on the burning version information; The information transmission line is an I2C bus.
2. A method for detecting the firmware burning status of a chip, characterized in that, An apparatus for detecting the firmware burning status of a chip includes a power supply line, an intermediate signal transmission circuit, a chip test base connected to the power supply line for placing a chip under test that has undergone firmware burning, a power stage chip connected to the power supply line and connected to the chip under test on the chip test base via the intermediate signal transmission circuit, a signal transmission line, a control chip connected to the chip under test on the chip test base via the signal transmission line, and an information transmission line connecting the control chip and the chip under test on the chip test base. The control chip is further configured to acquire burning version information output by the chip under test via the information transmission line and determine whether the firmware burning version is correct based on the burning version information. The method includes: When the power supply line is in a powered state, the power stage chip uses the intermediate signal transmission circuit to obtain the pulse width modulation signal output by the chip under test, and generates a corresponding voltage value under the control of the pulse width modulation signal and the feedback signal; the pulse width modulation signal is a control signal. The success of the firmware burning operation is determined based on the voltage value. The step of determining whether the firmware burning operation was successful based on the voltage value includes: Determine whether the voltage value is within the reference voltage range determined based on the power supply voltage of the power supply line; If the voltage value is within the reference voltage range, the firmware is determined to have been successfully burned; the burning version information output by the chip under test is obtained, and the burning version information is printed and displayed; The control signal is an initialization signal used to perform initialization control on the chip under test; The control signal is an enable signal used to enable the chip under test; The information transmission line is an I2C bus.
3. An electronic device, characterized in that, The electronic device includes a processing unit and a storage unit; wherein the storage unit is used to store a computer program, which is loaded and executed by the processing unit to implement the chip firmware burning status detection method as described in claim 2.
4. A computer-readable storage medium, characterized in that, Used to store computer programs, wherein the computer programs, when executed by the processing unit, implement the chip firmware burning status detection method as described in claim 2.
Citation Information
Patent Citations
Firmware detection method and electronic equipment
CN114579454A