Serial existence detection chip burning method and device, communication equipment and storage medium

By independently burning the chip in the serial presence detection chip and using the temperature control circuit, the waste problem caused by failure of chip installation after installation in the prior art is solved, and the reliability and efficiency of chip burning are improved.

CN119105936APending Publication Date: 2024-12-10INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411017759.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-26
Publication Date
2024-12-10

AI Technical Summary

Technical Problem

The existing serial existence detection chip burning method is carried out after the chip is installed in the memory stick, which will cause material waste and project waste when the burning fails, and it is difficult to locate the reasons for the burning failure.

Method used

通过微控制单元与主设备端建立通信连接,预先获取烧录数据并在芯片独立烧录,利用温度控制电路调整芯片温度,确保烧录数据的准确性和成功性,避免影响内存条其他元件。

Benefits of technology

It effectively reduces material and engineering waste, simplifies the positioning process of failure of burning, improves the reliability and efficiency of chip burning, and avoids complex problems caused by failure of burning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119105936A_ABST
    Figure CN119105936A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a serial existence detection chip burning method and device, communication equipment and a storage medium, and the method comprises the steps: writing burning data into a serial existence detection chip if a burning instruction sent by a main equipment end is received; receiving a data reading instruction sent by the main equipment end under the condition that writing of the burnt data into the serial existence detection chip is completed; under the condition that a data reading instruction sent by a main equipment end is received, acquiring burning data serially stored in the detection chip; and according to the burning data in the serial existence detection chip and the burning data acquired through the main equipment end, determining whether the serial existence detection chip is burnt successfully or not. According to the method, only the serial existence detection chip is burnt, even if the serial existence detection chip fails to be burnt, only the serial existence detection chip is lost, the memory bank and other electronic elements installed on the memory bank are not affected, and the problems of large material loss and engineering waste are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of serial presence detection chip burning, and in particular to a serial presence detection chip burning method, device, communication equipment and storage medium. Background Art

[0002] In modern computing systems, memory sticks serve as a bridge for data transmission, and their performance directly affects the computing efficiency and data processing capabilities of the server. As an important component of the memory stick, the SPD (Serial Presence Detect) chip stores key parameter information of the memory stick, which is crucial for the system to correctly identify and configure the memory stick. Therefore, burning the serial presence detection chip becomes a key link to ensure the performance optimization of the memory stick and the stable operation of the system.

[0003] The existing method of burning a serial presence detection chip is mainly performed through a dedicated burner. Specifically, a memory stick with a serial presence detection chip installed is inserted into the burner, and the burner is connected to the burning software on the personal computer through the serial interface of the burner, and the pre-compiled burning data is uploaded to the burning software, thereby completing the writing of the burning data into the serial presence detection chip.

[0004] However, in the above method, the burning of the serial presence detection chip is performed after the serial presence detection chip is installed on the memory stick. If the burning of the serial presence detection chip fails, the entire memory stick will be discarded. Since other electronic components such as resistors and capacitors are also installed on the memory stick, it will cause material waste and increase production costs. In addition, if the burning of the serial presence detection chip fails, the production process of the entire memory stick needs to be carried out again, which will cause a waste of manpower and time resources. Therefore, the existing method for burning the serial presence detection chip has the problems of large material loss and engineering waste. Summary of the invention

[0005] In view of this, the present invention aims to propose a serial presence detection chip burning method, device, equipment and storage medium to solve the problem of large material loss and engineering waste caused by burning the serial presence detection chip after the serial presence detection chip is installed on the memory stick.

[0006] According to a first aspect of the present invention, a method for programming a serial presence detection chip is provided, characterized in that the method is applied to a microcontroller unit, the microcontroller unit establishes a communication connection with a host device via a serial peripheral interface, and the microcontroller unit establishes a communication connection with a serial presence detection chip via an internal integrated circuit interface, and the method comprises:

[0007] Obtaining the burning data in advance through the main device end;

[0008] If the burning instruction sent by the master device is received, the burning data is written into the serial presence detection chip;

[0009] When the programming data is written into the serial presence detection chip, receiving a data read instruction sent by the master device;

[0010] When receiving the data read instruction sent by the master device, acquiring the programming data in the serial presence detection chip;

[0011] According to the programming data in the serial presence detection chip and the programming data obtained through the host device, it is determined whether the programming of the serial presence detection chip is successful.

[0012] Optionally, the determining whether the serial presence detection chip is successfully burned according to the burning data in the serial presence detection chip and the burning data obtained by the master device includes:

[0013] Comparing the programming data in the serial presence detection chip with the programming data obtained through the master device end;

[0014] If the programming data in the serial presence detection chip is consistent with the programming data acquired by the master device, it is determined that the serial presence detection chip is programmed successfully;

[0015] If the programming data in the serial presence detection chip is inconsistent with the programming data acquired through the host device, it is determined that the programming of the serial presence detection chip has failed.

[0016] Optionally, after the step of determining whether the burning of the serial presence detection chip is successful according to the burning data in the serial presence detection chip and the burning data obtained by the master device, the method includes:

[0017] Acquire write protection data in advance through the master device end;

[0018] When the serial presence detection chip is successfully burned, receiving a write protection instruction sent by the master device;

[0019] When the write protection instruction sent by the master device is received, the write protection data is written into the serial presence detection chip.

[0020] Optionally, the method comprises:

[0021] Pre-placing the serial presence detection chip in a base corresponding to the serial presence detection chip model;

[0022] Acquiring temperature data of the base, and determining the temperature data of the base as the temperature data of the serial presence detection chip;

[0023] Processing the temperature data of the serial presence detection chip to obtain processed temperature data of the serial presence detection chip;

[0024] The processed temperature data of the serial presence detection chip is sent to the main device end; wherein, the main device end is used to determine whether the processed temperature data of the serial presence detection chip is less than a preset temperature threshold when receiving the processed temperature data of the serial presence detection chip; if the processed temperature data of the serial presence detection chip is less than the temperature threshold, the processed temperature data of the serial presence detection chip is increased by controlling the temperature control circuit; if the processed temperature data of the serial presence detection chip is greater than or equal to the temperature threshold, the processed temperature data of the serial presence detection chip is reduced by controlling the temperature control circuit.

[0025] According to a second aspect of the present invention, a method for programming a serial presence detection chip is provided, wherein the method is applied to a master device end, wherein the master device end establishes a communication connection with a micro control unit through a serial peripheral interface, and the micro control unit establishes a communication connection with a serial presence detection chip through an internal integrated circuit interface, and the method comprises:

[0026] Writing the burning data into the micro control unit in advance;

[0027] When the programming data is written into the micro control unit, a programming instruction is sent to the micro control unit, so that the micro control unit writes the programming data into the serial presence detection chip when receiving the programming instruction;

[0028] When it is detected that the microcontroller unit has completed writing the programming data into the serial presence detection chip, a data read instruction is sent to the microcontroller unit, so that the microcontroller unit obtains the programming data in the serial presence detection chip upon receiving the data read instruction, and determines whether the programming of the serial presence detection chip is successful based on the programming data in the serial presence detection chip and the programming data written into the microcontroller unit by the master device.

[0029] Optionally, the temperature control circuit includes a first controller, a second controller, a first switch, a second switch, a third switch, a fourth switch, a semiconductor refrigeration sheet, a power supply and a ground, the first controller controls the first switch and the second switch, the second controller controls the third switch and the fourth switch, the first switch and the third switch are located on a side close to the power supply, the second switch and the fourth switch are located on a side close to the ground, the positive pole of the semiconductor refrigeration sheet is located on a side of the first switch and the second switch, and the method includes:

[0030] In case of receiving the processed temperature data of the serial presence detection chip sent by the micro control unit, determining whether the processed temperature data of the serial presence detection chip is less than a preset temperature threshold;

[0031] If the processed temperature data of the serial presence detection chip is less than the temperature threshold, a temperature increase strategy is executed by the first controller and the second controller, wherein the temperature increase strategy controls the power supply, the third switch, the semiconductor refrigeration chip, the second switch and the ground to be connected so that the current in the temperature control circuit passes through the semiconductor refrigeration chip in the reverse direction, thereby increasing the processed temperature data of the serial presence detection chip, wherein the reverse direction is from the side of the third switch and the fourth switch to the side of the first switch and the second switch;

[0032] If the temperature data of the serial presence detection chip after processing is greater than or equal to the temperature threshold, a cooling strategy is executed by the first controller and the second controller. The cooling strategy controls the power supply, the first switch, the semiconductor refrigeration chip, the fourth switch and the ground to be connected so that the current in the temperature control circuit passes through the semiconductor refrigeration chip in the forward direction, thereby reducing the temperature data of the serial presence detection chip after processing, wherein the forward direction is from the side of the first switch and the second switch to the side of the third switch and the fourth switch.

[0033] According to a third aspect of the present invention, a serial presence detection chip programming device is provided, characterized in that it is applied to a micro control unit, the micro control unit establishes a communication connection with a host device end through a serial peripheral interface, and the micro control unit establishes a communication connection with a serial presence detection chip through an internal integrated circuit interface, and the serial presence detection chip programming device comprises:

[0034] A burning data acquisition module, used to acquire burning data in advance through the main device end;

[0035] A serial presence detection chip burning module, configured to write the burning data into the serial presence detection chip upon receiving the burning instruction sent by the master device;

[0036] A data reading instruction receiving module, used for receiving a data reading instruction sent by the master device end when the burning data is written into the serial presence detection chip;

[0037] A programming data reading module, used for acquiring the programming data in the serial presence detection chip when receiving the data reading instruction sent by the master device;

[0038] The serial presence detection chip burning detection module is used to determine whether the burning of the serial presence detection chip is successful according to the burning data in the serial presence detection chip and the burning data obtained through the main device end.

[0039] Optionally, the serial presence detection chip burning detection module includes:

[0040] A data comparison submodule, used for comparing the programming data in the serial presence detection chip with the programming data obtained by the master device end;

[0041] A serial presence detection chip programming success detection submodule, used to determine that the serial presence detection chip is programmed successfully if the programming data in the serial presence detection chip is consistent with the programming data acquired by the master device end;

[0042] The serial presence detection chip programming failure detection submodule is used to determine that the serial presence detection chip programming has failed if the programming data in the serial presence detection chip is inconsistent with the programming data obtained through the master device.

[0043] Optionally, the device comprises:

[0044] A write protection data acquisition module, used to acquire the write protection data in advance through the master device end;

[0045] A write protection instruction receiving module, used for receiving a write protection instruction sent by the master device when the serial presence detection chip is successfully burned;

[0046] A write protection data writing module is used to write the write protection data into the serial presence detection chip when receiving the write protection instruction sent by the master device.

[0047] Optionally, the device comprises:

[0048] A serial presence detection chip installation module, used to pre-place the serial presence detection chip in a base corresponding to the serial presence detection chip model;

[0049] A serial presence detection chip temperature acquisition module, used to acquire temperature data of the base, and determine the temperature data of the base as the temperature data of the serial presence detection chip;

[0050] A temperature data processing module, used for processing the temperature data of the serial presence detection chip to obtain the processed temperature data of the serial presence detection chip;

[0051] A temperature data sending module is used to send the processed temperature data of the serial presence detection chip to the main device end; wherein, the main device end is used to determine whether the processed temperature data of the serial presence detection chip is less than a preset temperature threshold when receiving the processed temperature data of the serial presence detection chip; if the processed temperature data of the serial presence detection chip is less than the temperature threshold, the processed temperature data of the serial presence detection chip is increased by controlling the temperature control circuit; if the processed temperature data of the serial presence detection chip is greater than or equal to the temperature threshold, the processed temperature data of the serial presence detection chip is reduced by controlling the temperature control circuit.

[0052] According to a fourth aspect of the present invention, a serial presence detection chip programming device is provided, characterized in that it is applied to a master device end, the master device end establishes a communication connection with a micro control unit through a serial peripheral interface, and the micro control unit establishes a communication connection with a serial presence detection chip through an internal integrated circuit interface, and the serial presence detection chip programming device comprises:

[0053] A burning data writing module, used for writing the burning data into the micro control unit in advance;

[0054] A burning instruction sending module, used for sending a burning instruction to the micro control unit when the burning data is written into the micro control unit, so that the micro control unit writes the burning data into the serial presence detection chip when receiving the burning instruction;

[0055] A data read instruction sending module is used to send a data read instruction to the microcontroller unit when it is detected that the microcontroller unit has completed writing the programming data into the serial presence detection chip, so that the microcontroller unit can obtain the programming data in the serial presence detection chip when receiving the data read instruction, and determine whether the programming of the serial presence detection chip is successful based on the programming data in the serial presence detection chip and the programming data written into the microcontroller unit by the master device.

[0056] Optionally, the temperature control circuit includes a first controller, a second controller, a first switch, a second switch, a third switch, a fourth switch, a semiconductor refrigeration sheet, a power supply and a ground, the first controller controls the first switch and the second switch, the second controller controls the third switch and the fourth switch, the first switch and the third switch are located on a side close to the power supply, the second switch and the fourth switch are located on a side close to the ground, the positive pole of the semiconductor refrigeration sheet is located on a side of the first switch and the second switch, and the device includes:

[0057] a temperature data judgment module, configured to judge whether the processed temperature data of the serial presence detection chip is less than a preset temperature threshold value when receiving the processed temperature data of the serial presence detection chip sent by the microcontroller unit;

[0058] A temperature increase module, for executing a temperature increase strategy through the first controller and the second controller if the processed temperature data of the serial presence detection chip is less than the temperature threshold, wherein the temperature increase strategy controls the power supply, the third switch, the semiconductor refrigeration chip, the second switch and the ground to be connected so that the current in the temperature control circuit passes through the semiconductor refrigeration chip in the reverse direction, thereby increasing the processed temperature data of the serial presence detection chip, wherein the reverse direction is from the third switch and the fourth switch side to the first switch and the second switch side;

[0059] A cooling module is used to execute a cooling strategy through the first controller and the second controller if the temperature data of the serial presence detection chip after processing is greater than or equal to the temperature threshold. The cooling strategy controls the power supply, the first switch, the semiconductor refrigeration chip, the fourth switch and the ground to be connected so that the current in the temperature control circuit passes through the semiconductor refrigeration chip in the forward direction, thereby reducing the temperature data of the serial presence detection chip after processing, wherein the forward direction is from the side of the first switch and the second switch to the side of the third switch and the fourth switch.

[0060] According to another aspect of the present invention, there is also provided an electronic device, comprising:

[0061] processor;

[0062] a memory for storing instructions executable by the processor;

[0063] The processor is configured to execute the instructions to implement the serial presence detection chip burning method as described in the first aspect, or to implement the serial presence detection chip burning method as described in the second aspect.

[0064] According to another aspect of the present invention, a readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of the serial presence detection chip burning method as described in the first aspect are implemented, or the steps of the serial presence detection chip burning method as described in the second aspect are implemented.

[0065] The serial presence detection chip burning method provided by the embodiment of the present invention is applied to a micro control unit, wherein the micro control unit establishes a communication connection with a master device end through a serial peripheral interface, and the micro control unit establishes a communication connection with a serial presence detection chip through an internal integrated circuit interface; the burning data is obtained in advance through the master device end; if a burning instruction sent by the master device end is received, the burning data is written into the serial presence detection chip; when the burning data is written into the serial presence detection chip, a data reading instruction sent by the master device end is received; when the data reading instruction sent by the master device end is received, the burning data in the serial presence detection chip is obtained; and whether the burning of the serial presence detection chip is successful is determined according to the burning data in the serial presence detection chip and the burning data obtained through the master device end. In the present invention, when the microcontroller receives the burning instruction sent by the main device, the microcontroller writes the burning data to the serial presence detection chip, separates the serial presence detection chip from the memory stick, and burns the serial presence detection chip alone, that is, the serial presence detection chip is burned before being installed on the memory stick. Even if the burning of the serial presence detection chip fails, only one serial presence detection chip will be lost, and the memory stick and other electronic components installed on the memory stick will not be affected, which effectively solves the problems of large material loss and engineering waste in the prior art. The present invention only burns the serial presence detection chip. If the burning of the serial presence detection chip fails, it can only be the problem of the serial presence detection chip itself that causes the burning failure. In the prior art, if the burning of the serial presence detection chip fails, it may be the problem of the gold finger on the memory stick, the serial presence detection chip itself, and the link related to the serial presence detection chip. Compared with the prior art, the present invention simplifies the positioning of the burning failure problem and reduces the difficulty of engineers in troubleshooting the burning failure problem. The present invention detects whether the burning of the serial presence detection chip is successful according to the burning data in the serial presence detection chip and the burning data obtained through the main device end, thereby improving the reliability of the burning of the serial presence detection chip and avoiding subsequent complex problems caused by the failure of the burning of the serial presence detection chip.

[0066] The above description is only an overview of the technical solution of the present invention. In order to more clearly understand the technical means of the present invention, it can be implemented according to the contents of the specification. In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.

[0068] Figure 1A schematic diagram of a system architecture for programming a serial presence detection chip provided by an embodiment of the present invention;

[0069] Figure 2 This is one of the step flow charts of a serial presence detection chip programming method provided by an embodiment of the present invention;

[0070] Figure 3 This is the second step flow chart of a serial presence detection chip programming method provided by an embodiment of the present invention;

[0071] Figure 4 This is a flowchart of the third step of a serial presence detection chip programming method provided by an embodiment of the present invention;

[0072] Figure 5 This is a fourth step flow chart of a serial presence detection chip programming method provided by an embodiment of the present invention;

[0073] Figure 6 This is one of the step flow charts of another serial presence detection chip programming method provided by an embodiment of the present invention;

[0074] Figure 7 This is a second step flow chart of another serial presence detection chip programming method provided by an embodiment of the present invention;

[0075] Figure 8 It is a device block diagram of a serial presence detection chip programming device provided by an embodiment of the present invention;

[0076] Fig. 9 It is a device block diagram of another serial presence detection chip programming device provided by an embodiment of the present invention;

[0077] Fig.10 It is a schematic diagram of a communication device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0078] To make the purpose, technical scheme and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. However, it will be appreciated by those skilled in the art that in the embodiments of the present invention, many technical details are proposed in order to enable the reader to better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical scheme claimed in the present application can be implemented. The division of the following embodiments is for the convenience of description, and should not constitute any limitation on the specific implementation of the present invention. The various embodiments can be combined and referenced with each other without contradiction.

[0079] See also Figure 1 , Figure 1FIG. 1 is a schematic diagram showing a system architecture for programming a serial presence detection chip provided by an embodiment of the present invention. Figure 1 As shown, the system architecture of the serial presence detection chip burning includes a main device end, an MCU (Microcontroller Unit), an SPD (Serial Presence Detect) chip (SPD0, SPD1, SPD2), a base corresponding to the serial presence detection chip model (a base Socket0 corresponding to the SPD0 model, a base Socket1 corresponding to the SPD1 model, and a base Socket2 corresponding to the SPD2 model) and a temperature control circuit; the temperature control circuit includes a first controller, a second controller, a first switch (Q1), a second switch (Q2), a third switch (Q3), a fourth switch (Q4), a semiconductor cooling plate, a power supply and a ground. It should be noted that the embodiment of the present invention can select an STM21F405 series single-chip microcomputer as a microcontroller unit, and the STM21F405 series single-chip microcomputer can support three I2C (Inter-Integrated Circuit) interfaces, and burn three serial presence detection chips at the same time.

[0080] The microcontroller unit establishes a communication connection with the host device via SPI (Serial Peripheral Interface). The microcontroller unit establishes a communication connection with the serial presence detection chip via an internal integrated circuit interface, such as Figure 1 As shown, the microcontroller unit establishes a communication connection with the serial presence detection chip SPD0 through the internal integrated circuit interface I2C0, establishes a communication connection with the serial presence detection chip SPD1 through the internal integrated circuit interface I2C1, and establishes a communication connection with the serial presence detection chip SPD2 through the internal integrated circuit interface I2C2. The temperature control circuit is connected to the base, and the main device end establishes a communication connection with the temperature control circuit. The main device end can adjust the temperature of the base by controlling the temperature control circuit, thereby adjusting the temperature of the serial presence detection chip.

[0081] Reference Figure 2 , shows one of the step flow charts of a serial presence detection chip programming method provided by an embodiment of the present invention, which is applied to a microcontroller unit, the microcontroller unit establishes a communication connection with a host device end through a serial peripheral interface, and the microcontroller unit establishes a communication connection with a serial presence detection chip through an internal integrated circuit interface. The method may include:

[0082] Step 201, obtaining the burning data in advance through the main device end.

[0083] Step 202: if a programming instruction is received from the host device, the programming data is written into the serial presence detection chip.

[0084] It should be noted that in the embodiment of the present invention, the memory stick includes a serial presence detection chip, a resistor, a capacitor and other electronic components. The serial presence detection chip is mainly used to store relevant information of the memory stick, that is, the burning data, such as: the model, manufacturer, capacity, timing, operating voltage, frequency, etc. of the memory stick.

[0085] In order to avoid the problem of large material loss and engineering waste in the prior art caused by burning the serial presence detection chip after the serial presence detection chip is installed on the memory stick, the present invention only burns the serial presence detection chip before the serial presence detection chip is installed on the memory stick. Before burning the serial presence detection chip, the microcontroller unit will obtain the burning data through the main device end in advance. When the microcontroller unit obtains the burning data, the burning instruction sent by the main device end is received through SPI (Serial Peripheral Interface).

[0086] When the micro control unit receives the burning instruction sent by the host device, the acquired burning data is written into the serial presence detection chip through the internal integrated circuit interface.

[0087] Step 203, receiving a data read instruction sent by the host device end when the burning data is written into the serial presence detection chip.

[0088] Step 204, when receiving the data read instruction sent by the master device, the burning data in the serial presence detection chip is obtained.

[0089] Step 205 , determining whether the serial presence detection chip is successfully programmed based on the programming data in the serial presence detection chip and the programming data obtained through the host device.

[0090] It should be noted that, in the embodiment of the present invention, in order to verify whether the serial presence detection chip is successfully burned, the microcontroller writes all the burning data to the serial presence detection chip, and receives the data reading instruction sent by the master device through the serial peripheral interface. When the microcontroller receives the data reading instruction sent by the master device, the burning data in the serial presence detection chip is obtained through the internal integrated circuit interface, and according to the burning data in the serial presence detection chip obtained and the burning data obtained through the master device, it is determined whether the burning of the serial presence detection chip is successful.

[0091] The present invention writes the burning data to the serial presence detection chip by the microcontroller unit when the microcontroller unit receives the burning instruction sent by the main device end, separates the serial presence detection chip from the memory stick, and burns the serial presence detection chip alone, that is, the serial presence detection chip is burned before the serial presence detection chip is installed on the memory stick. Even if the burning of the serial presence detection chip fails, only one serial presence detection chip will be lost, and the memory stick and other electronic components installed on the memory stick will not be affected, which effectively solves the problems of large material loss and engineering waste in the prior art. The present invention only burns the serial presence detection chip. If the burning of the serial presence detection chip fails, it can only be the problem of the serial presence detection chip itself that causes the burning failure. In the prior art, if the burning of the serial presence detection chip fails, it may be the problem of the gold finger on the memory stick, the serial presence detection chip itself, and the link related to the serial presence detection chip. Compared with the prior art, the present invention simplifies the positioning process of the burning failure problem and reduces the difficulty of engineers in troubleshooting the burning failure problem. The present invention detects whether the burning of the serial presence detection chip is successful according to the burning data in the serial presence detection chip and the burning data obtained through the main device end, thereby improving the reliability of the burning of the serial presence detection chip and avoiding subsequent complex problems caused by the failure of the burning of the serial presence detection chip.

[0092] Furthermore, if Figure 3 As shown, a second flow chart of a serial presence detection chip programming method provided by an embodiment of the present invention is shown. In the embodiment of the present invention, step 105 may also include the following steps:

[0093] Step 301 : Compare the programming data in the serial presence detection chip with the programming data obtained through the host device.

[0094] Step 302: If the programming data in the serial presence detection chip is consistent with the programming data obtained through the host device, it is determined that the serial presence detection chip is programmed successfully.

[0095] Step 303: If the programming data in the serial presence detection chip is inconsistent with the programming data obtained through the host device, it is determined that the programming of the serial presence detection chip has failed.

[0096] It should be noted that, in the embodiment of the present invention, the burning data in the serial presence detection chip obtained through the internal integrated circuit interface is compared with the burning data obtained through the main device end. If the burning data in the serial presence detection chip obtained through the internal integrated circuit interface is consistent with the burning data obtained through the main device end, it means that the burning data is accurately written into the serial presence detection chip, and it is determined that the burning of the serial presence detection chip is successful.

[0097] If the programming data in the serial presence detection chip obtained through the internal integrated circuit interface is inconsistent with the programming data obtained through the main device, it means that a problem occurred in the process of the microcontroller unit writing the programming data into the serial presence detection chip, and it is determined that the serial presence detection chip programming failed.

[0098] The present invention compares the burning data in the serial presence detection chip with the burning data obtained through the main device end to determine whether the burning of the serial presence detection chip is successful, and can effectively detect errors or abnormalities in the burning process of the serial presence detection chip, ensuring that the burning data can be accurately written into the serial presence detection chip, thereby improving the reliability of the burning of the serial presence detection chip and reducing subsequent problems and rework costs caused by burning failures.

[0099] Furthermore, if Figure 4 As shown, a flowchart of the third step of a serial presence detection chip programming method provided by an embodiment of the present invention is shown. In the embodiment of the present invention, after step 105, the following steps may also be included:

[0100] Step 401, obtain write protection data in advance through the host device.

[0101] Step 402: When the serial presence detection chip is successfully programmed, a write protection instruction sent by the host device is received.

[0102] Step 403, when receiving the write protection instruction sent by the master device, write the write protection data into the serial presence detection chip.

[0103] It should be noted that, in an embodiment of the present invention, in order to prevent the burned data written into the serial presence detection chip from being modified due to subsequent manipulations or misoperations, it is necessary to perform a write protection operation on the serial presence detection chip. Specifically, before performing a write protection operation on the serial presence detection chip, the microcontroller unit will obtain the write protection data through the master device in advance. When the microcontroller unit detects that the serial presence detection chip has been burned successfully, the write protection instruction sent by the master device is received through the serial peripheral interface. When the microcontroller unit receives the write protection instruction sent by the master device, the acquired write protection data is written into the serial presence detection chip through the internal integrated circuit interface.

[0104] The present invention ensures the security and integrity of the burned data in the serial presence detection chip by writing write protection data into the serial presence detection chip, and can effectively prevent the burned data from being modified or damaged due to misoperation or improper techniques in subsequent operations, thereby protecting the performance and compatibility of the memory stick and providing technical support for the reliability and stability of the memory stick.

[0105] Furthermore, if Figure 5 As shown, a fourth step flow chart of a serial presence detection chip programming method provided by an embodiment of the present invention is shown. In an embodiment of the present invention, the method may further include the following steps:

[0106] Step 501 : pre-place a serial presence detection chip in a base corresponding to the serial presence detection chip model.

[0107] Step 502: Acquire temperature data of the base, and determine the temperature data of the base as the temperature data of the serial presence detection chip.

[0108] Step 503: Process the temperature data of the serial presence detection chip to obtain processed temperature data of the serial presence detection chip.

[0109] It should be noted that, in the embodiment of the present invention, the serial presence detection chip is placed in advance in a base corresponding to the serial presence detection chip model. At the same time, the microcontroller unit collects temperature data of the base through the internal integrated circuit interface. Since the serial presence detection chip is installed on the base, the collected temperature data of the base can be used as the temperature data of the serial presence detection chip.

[0110] In order to facilitate the operator to intuitively read the temperature data of the serial presence detection chip through the main device, after the microcontroller obtains the temperature data of the serial presence detection chip, the microcontroller needs to process the temperature data of the serial presence detection chip to obtain the processed temperature data of the serial presence detection chip. Among them, the temperature data of the serial presence detection chip obtained by the microcontroller is binary data represented by "0" and "1", and the processed temperature data of the serial presence detection chip is decimal data. For example: the microcontroller processes the temperature data 100101 of the serial presence detection chip to obtain the processed temperature data 37 of the serial presence detection chip.

[0111] Step 504, sending the processed temperature data of the serial presence detection chip to the main device end; wherein, the main device end is used to determine whether the processed temperature data of the serial presence detection chip is less than a preset temperature threshold when receiving the processed temperature data of the serial presence detection chip, if the processed temperature data of the serial presence detection chip is less than the temperature threshold, then increase the temperature data of the processed serial presence detection chip by controlling the temperature control circuit, if the processed temperature data of the serial presence detection chip is greater than or equal to the temperature threshold, then reduce the temperature data of the processed serial presence detection chip by controlling the temperature control circuit.

[0112] It should be noted that, in the embodiment of the present invention, the preset temperature threshold is a temperature threshold set during the process of burning the serial presence detection chip to ensure that the serial presence detection chip can be burned normally and safely.

[0113] When the microcontroller obtains the processed temperature data of the serial presence detection chip, the processed temperature data of the serial presence detection chip is sent to the host device end through the serial peripheral interface.

[0114] In order to ensure that the temperature data of the processed serial presence detection chip can always be maintained below the preset temperature threshold, the master device side compares the processed temperature data of the serial presence detection chip with the preset temperature threshold when receiving the processed temperature data of the serial presence detection chip sent by the micro control unit, and determines whether the processed temperature data of the serial presence detection chip is less than the preset temperature threshold. If the processed temperature data of the serial presence detection chip is less than the temperature threshold, the temperature data of the processed serial presence detection chip is increased by controlling the temperature control circuit, so that the processed temperature data of the serial presence detection chip is maintained below the temperature threshold.

[0115] If the processed temperature data of the serial presence detection chip is greater than or equal to the temperature threshold, the processed temperature data of the serial presence detection chip is reduced by controlling the temperature control circuit so that the processed temperature data of the serial presence detection chip is maintained below the temperature threshold.

[0116] The present invention monitors the temperature of the serial presence detection chip in real time through a microcontroller unit, converts the temperature data of the serial presence detection chip into an easily readable decimal format, and sends the data to a main device for analysis. The main device dynamically adjusts the temperature control circuit according to a preset temperature threshold to achieve precise control of the temperature of the serial presence detection chip, thereby ensuring that the serial presence detection chip operates within a safe temperature range and avoiding damage to the serial presence detection chip or data burning errors caused by excessively high or low temperatures.

[0117] Reference Figure 6 , shows one of the step flow charts of another serial presence detection chip burning method provided by an embodiment of the present invention, which is applied to a master device end, the master device end establishes a communication connection with a micro control unit through a serial peripheral interface, and the micro control unit establishes a communication connection with a serial presence detection chip through an internal integrated circuit interface, and the method includes:

[0118] Step 601, write the burning data into the micro control unit in advance.

[0119] Step 602, when the programming data is written into the micro control unit, a programming instruction is sent to the micro control unit, so that the micro control unit writes the programming data into the serial presence detection chip when receiving the programming instruction.

[0120] It should be noted that, in the embodiment of the present invention, the master device end writes the burning data to the micro control unit via the serial peripheral interface in advance. When the master device end writes all the burning data to the micro control unit, the master device end sends a burning instruction to the micro control unit via the serial peripheral interface.

[0121] When the micro control unit receives the burning instruction sent by the host device, the micro control unit writes the acquired burning data into the serial presence detection chip through the internal integrated circuit interface.

[0122] Step 603, when it is detected that the microcontroller unit has completed writing the programming data into the serial presence detection chip, a data read instruction is sent to the microcontroller unit, so that the microcontroller unit obtains the programming data in the serial presence detection chip when receiving the data read instruction, and determines whether the programming of the serial presence detection chip is successful based on the programming data in the serial presence detection chip and the programming data written into the microcontroller unit by the host device.

[0123] It should be noted that, in the embodiment of the present invention, when the host device detects that the micro control unit writes all programming data into the serial presence detection chip, the host device sends a data read instruction to the micro control unit through the serial peripheral interface.

[0124] In order to verify whether the serial presence detection chip is burned successfully, when the microcontroller unit receives the data read instruction sent by the master device, the microcontroller unit obtains the burned data in the serial presence detection chip through the internal integrated circuit interface, and judges whether the serial presence detection chip is burned successfully based on the burned data in the serial presence detection chip obtained through the internal integrated circuit interface and the burned data written into the microcontroller unit by the master device.

[0125] The present invention automatically sends burning data and burning instructions to a micro-control unit through a master device end, thereby realizing automatic burning of a serial presence detection chip, reducing manual intervention, and improving the efficiency and accuracy of burning the serial presence detection chip. In addition, the present invention determines whether the burning of the serial presence detection chip is successful by comparing the burning data in the serial presence detection chip obtained through an internal integrated circuit interface with the burning data written into the micro-control unit by the master device end, thereby ensuring the integrity and consistency of the burning data, and being able to effectively avoid errors that may occur during the transmission or burning process of the burning data, such as data damage, loss or tampering, thereby improving the reliability of the burning process of the serial presence detection chip.

[0126] Furthermore, if Figure 7 As shown, a second flow chart of another method for burning a serial presence detection chip provided by an embodiment of the present invention is shown. In the embodiment of the present invention, the temperature control circuit includes a first controller, a second controller, a first switch, a second switch, a third switch, a fourth switch, a semiconductor refrigeration sheet, a power supply and a ground. The first controller controls the first switch and the second switch, and the second controller controls the third switch and the fourth switch. The first switch and the third switch are located on the side close to the power supply, the second switch and the fourth switch are located on the side close to the ground, and the positive electrode of the semiconductor refrigeration sheet is located on the side of the first switch and the second switch. The method may also include the following steps:

[0127] Step 701 : upon receiving the processed temperature data of the serial presence detection chip sent by the micro control unit, determining whether the processed temperature data of the serial presence detection chip is less than a preset temperature threshold.

[0128] It should be noted that, in an embodiment of the present invention, when the master device receives the processed temperature data of the serial presence detection chip sent by the microcontroller unit, the processed temperature data of the serial presence detection chip is compared with a preset temperature threshold to determine whether the processed temperature data of the serial presence detection chip is less than the preset temperature threshold.

[0129] Step 702, if the temperature data of the processed serial presence detection chip is less than the temperature threshold, the first controller and the second controller execute a temperature increase strategy, and the temperature increase strategy connects the control power supply, the third switch, the semiconductor refrigeration chip, the second switch and the ground so that the current in the temperature control circuit passes through the semiconductor refrigeration chip in the reverse direction to increase the temperature data of the processed serial presence detection chip, wherein the reverse direction is from the side of the third switch and the fourth switch to the side of the first switch and the second switch.

[0130] It should be noted that in an embodiment of the present invention, if the temperature data of the processed serial presence detection chip is lower than the temperature threshold, in order to ensure that the temperature data of the processed serial presence detection chip can be maintained below the temperature threshold, it is necessary to execute a heating strategy through the first controller and the second controller to increase the temperature data of the processed serial presence detection chip so as to maintain it below the temperature threshold.

[0131] Among them, the temperature increase strategy controls the second switch to be turned on through the first controller and controls the third switch to be turned on through the second controller. At this time, the power supply, the third switch, the semiconductor refrigeration chip, the second switch and the ground line are connected. Since the positive electrode of the semiconductor refrigeration chip is located on the side of the first switch and the second switch, the negative electrode of the semiconductor refrigeration chip is located on the side of the third switch and the fourth switch. At this time, the current in the temperature control circuit flows from the side of the third switch and the fourth switch to the side of the first switch and the second switch, that is, from the negative electrode of the semiconductor refrigeration chip to the positive electrode of the semiconductor refrigeration chip, indicating that the current in the temperature control circuit passes through the semiconductor refrigeration chip in the reverse direction. At this time, the temperature control circuit can increase the temperature data of the processed serial presence detection chip.

[0132] Step 703, if the temperature data of the processed serial presence detection chip is greater than or equal to the temperature threshold, a cooling strategy is executed through the first controller and the second controller. The cooling strategy is connected by controlling the power supply, the first switch, the semiconductor refrigeration plate, the fourth switch and the ground so that the current in the temperature control circuit passes through the semiconductor refrigeration plate in the forward direction, thereby reducing the temperature data of the processed serial presence detection chip, wherein the forward direction is from the first switch and the second switch side to the third switch and the fourth switch side.

[0133] It should be noted that in the embodiment of the present application, if the temperature data of the processed serial presence detection chip is greater than or equal to the temperature threshold, in order to ensure that the temperature data of the processed serial presence detection chip can be maintained below the temperature threshold, it is necessary to execute a cooling strategy through the first controller and the second controller to reduce the temperature data of the processed serial presence detection chip so that it is maintained below the temperature threshold.

[0134] Among them, the cooling strategy controls the first switch to be turned on through the first controller and controls the fourth switch to be turned on through the second controller. At this time, the power supply, the first switch, the semiconductor refrigeration chip, the fourth switch and the ground are connected. Since the positive electrode of the semiconductor refrigeration chip is located on the side of the first switch and the second switch, the negative electrode of the semiconductor refrigeration chip is located on the side of the third switch and the fourth switch. At this time, the current in the temperature control circuit flows from the side of the first switch and the second switch to the side of the third switch and the fourth switch, that is, from the positive electrode of the semiconductor refrigeration chip to the negative electrode of the semiconductor refrigeration chip, indicating that the current in the temperature control circuit passes through the semiconductor refrigeration chip in the forward direction. At this time, the temperature control circuit can reduce the temperature data of the processed serial presence detection chip.

[0135] The present invention monitors and adjusts the temperature of the serial presence detection chip in real time through the host device end, thereby ensuring that the temperature of the serial presence detection chip is stable within the optimal working range, and avoiding the serial presence detection chip burning failure or serial presence detection chip damage caused by temperature fluctuations. In addition, the present invention utilizes the bidirectional working characteristics of the semiconductor refrigeration chip to dynamically adjust its working mode as needed, thereby achieving temperature control of the serial presence detection chip and reducing unnecessary energy consumption.

[0136] Further, in the embodiment of the present invention, the positive electrode of the semiconductor cooling sheet is located on one side of the third switch and the fourth switch. After step 701, the method may further include the following steps:

[0137] If the temperature data of the processed serial presence detection chip is less than the temperature threshold, the first controller and the second controller execute a temperature increase strategy, and the temperature increase strategy connects the control power supply, the first switch, the semiconductor refrigeration plate, the fourth switch and the ground so that the current in the temperature control circuit passes through the semiconductor refrigeration plate in the reverse direction to increase the temperature data of the processed serial presence detection chip, wherein the reverse direction is from the side of the first switch and the second switch to the side of the third switch and the fourth switch.

[0138] It should be noted that in an embodiment of the present invention, if the temperature data of the processed serial presence detection chip is lower than the temperature threshold, in order to ensure that the temperature data of the processed serial presence detection chip can be maintained below the temperature threshold, it is necessary to execute a heating strategy through the first controller and the second controller to increase the temperature data of the processed serial presence detection chip so as to maintain it below the temperature threshold.

[0139] Among them, the temperature increase strategy controls the first switch to be turned on through the first controller and controls the fourth switch to be turned on through the second controller. At this time, the power supply, the first switch, the semiconductor refrigeration chip, the fourth switch and the ground line are connected. Since the positive electrode of the semiconductor refrigeration chip is located on the side of the third switch and the fourth switch, the negative electrode of the semiconductor refrigeration chip is located on the side of the first switch and the second switch. At this time, the current in the temperature control circuit flows from the side of the first switch and the second switch to the side of the third switch and the fourth switch, that is, from the negative electrode of the semiconductor refrigeration chip to the positive electrode of the semiconductor refrigeration chip, indicating that the current in the temperature control circuit passes through the semiconductor refrigeration chip in the reverse direction. At this time, the temperature control circuit can increase the temperature data of the processed serial presence detection chip.

[0140] If the temperature data of the processed serial presence detection chip is greater than or equal to the temperature threshold, the cooling strategy is executed by the first controller and the second controller. The cooling strategy is connected by controlling the power supply, the third switch, the semiconductor refrigeration plate, the second switch and the ground so that the current in the temperature control circuit passes through the semiconductor refrigeration plate in the forward direction, thereby reducing the temperature data of the processed serial presence detection chip, wherein the forward direction is from the side of the third switch and the fourth switch to the side of the first switch and the second switch.

[0141] It should be noted that in an embodiment of the present invention, if the temperature data of the processed serial presence detection chip is greater than or equal to the temperature threshold, in order to ensure that the temperature data of the processed serial presence detection chip can be maintained below the temperature threshold, it is necessary to execute a cooling strategy through the first controller and the second controller to reduce the temperature data of the processed serial presence detection chip so that it is maintained below the temperature threshold.

[0142] Among them, the cooling strategy controls the second switch to be turned on through the first controller and controls the third switch to be turned on through the second controller. At this time, the power supply, the third switch, the semiconductor refrigeration chip, the second switch and the ground are connected. Since the positive electrode of the semiconductor refrigeration chip is located on the side of the third switch and the fourth switch, the negative electrode of the semiconductor refrigeration chip is located on the side of the first switch and the second switch. At this time, the current in the temperature control circuit flows from the side of the third switch and the fourth switch to the side of the first switch and the second switch, that is, from the positive electrode of the semiconductor refrigeration chip to the negative electrode of the semiconductor refrigeration chip, indicating that the current in the temperature control circuit passes through the semiconductor refrigeration chip in the forward direction. At this time, the temperature control circuit can reduce the temperature data of the processed serial presence detection chip.

[0143] The present invention realizes precise control of the temperature of the serial presence detection chip by dynamically adjusting the current direction of the semiconductor cooling sheet, ensuring that the temperature is maintained near a preset temperature threshold, thereby improving the stability and reliability of the serial presence detection chip burning. In addition, the temperature control circuit in the present invention is simple in design, and the current direction in the temperature control circuit can be changed by controlling the state of the switch by the controller, thereby increasing or decreasing the temperature of the serial presence detection chip, without the need for additional complex circuits or components, reducing costs, and simplifying the maintenance and debugging process.

[0144] According to an embodiment of the present invention, a serial presence detection chip programming device is also provided. Figure 8 , Figure 8 1 is a device block diagram of a serial presence detection chip programming device provided by an embodiment of the present invention, and the serial presence detection chip programming device includes:

[0145] The burning data acquisition module 801 is used to obtain the burning data in advance through the main device end;

[0146] The serial presence detection chip burning module 802 is used to write the burning data into the serial presence detection chip if a burning instruction sent by the master device is received;

[0147] The data read instruction receiving module 803 is used to receive the data read instruction sent by the master device end when the burning data is written into the serial presence detection chip;

[0148] The programming data reading module 804 is used to obtain the programming data in the serial presence detection chip when receiving the data reading instruction sent by the host device;

[0149] The serial presence detection chip programming detection module 805 is used to determine whether the serial presence detection chip programming is successful according to the programming data in the serial presence detection chip and the programming data obtained through the host device.

[0150] Optionally, the serial presence detection chip burning detection module includes:

[0151] A data comparison submodule is used to compare the programming data in the serial presence detection chip with the programming data obtained through the main device end;

[0152] The serial presence detection chip programming success detection submodule is used to determine that the serial presence detection chip is programmed successfully if the programming data in the serial presence detection chip is consistent with the programming data obtained through the main device end;

[0153] The serial presence detection chip programming failure detection submodule is used to determine that the serial presence detection chip programming has failed if the programming data in the serial presence detection chip is inconsistent with the programming data obtained through the main device end.

[0154] Optionally, the device comprises:

[0155] A write protection data acquisition module is used to obtain write protection data in advance through the master device end;

[0156] A write protection instruction receiving module is used to receive a write protection instruction sent by a master device when the serial presence detection chip is successfully burned;

[0157] The write protection data writing module is used to write the write protection data into the serial presence detection chip when receiving a write protection instruction sent by the master device.

[0158] Optionally, the device comprises:

[0159] A serial presence detection chip installation module, used to pre-place the serial presence detection chip in a base corresponding to the serial presence detection chip model;

[0160] A serial presence detection chip temperature acquisition module is used to acquire temperature data of the base and determine the temperature data of the base as the temperature data of the serial presence detection chip;

[0161] A temperature data processing module is used to process the temperature data of the serial presence detection chip to obtain the processed temperature data of the serial presence detection chip;

[0162] A temperature data sending module is used to send the processed temperature data of the serial presence detection chip to the main device end; wherein, the main device end is used to determine whether the processed temperature data of the serial presence detection chip is less than a preset temperature threshold when receiving the processed temperature data of the serial presence detection chip. If the processed temperature data of the serial presence detection chip is less than the temperature threshold, the temperature data of the processed serial presence detection chip is increased by controlling the temperature control circuit; if the processed temperature data of the serial presence detection chip is greater than or equal to the temperature threshold, the temperature data of the processed serial presence detection chip is reduced by controlling the temperature control circuit.

[0163] According to an embodiment of the present invention, another serial presence detection chip programming device is provided. Fig. 9 , Fig. 9 1 is a device block diagram of another serial presence detection chip programming device provided by an embodiment of the present invention, the serial presence detection chip programming device comprising:

[0164] The burning data writing module 901 is used to write the burning data into the micro control unit in advance;

[0165] The burning instruction sending module 902 is used to send the burning instruction to the micro control unit when the burning data is written into the micro control unit, so that the micro control unit writes the burning data into the serial presence detection chip when receiving the burning instruction;

[0166] The data read instruction sending module 903 is used to send a data read instruction to the microcontroller unit when it is detected that the microcontroller unit has completed writing the burning data into the serial presence detection chip, so that the microcontroller unit can obtain the burning data in the serial presence detection chip when receiving the data read instruction, and determine whether the burning of the serial presence detection chip is successful based on the burning data in the serial presence detection chip and the burning data written into the microcontroller unit by the master device.

[0167] Optionally, the temperature control circuit includes a first controller, a second controller, a first switch, a second switch, a third switch, a fourth switch, a semiconductor cooling sheet, a power supply and a ground, the first controller controls the first switch and the second switch, the second controller controls the third switch and the fourth switch, the first switch and the third switch are located on a side close to the power supply, the second switch and the fourth switch are located on a side close to the ground, the positive pole of the semiconductor cooling sheet is located on one side of the first switch and the second switch, and the device includes:

[0168] A temperature data judgment module is used to judge whether the processed temperature data of the serial presence detection chip is less than a preset temperature threshold value when receiving the processed temperature data of the serial presence detection chip sent by the micro control unit;

[0169] A temperature raising module, for executing a temperature raising strategy through the first controller and the second controller if the temperature data of the processed serial presence detection chip is less than the temperature threshold, wherein the temperature raising strategy controls the power supply, the third switch, the semiconductor cooling piece, the second switch and the ground to be connected so that the current in the temperature control circuit passes through the semiconductor cooling piece in the reverse direction, thereby raising the temperature data of the processed serial presence detection chip, wherein the reverse direction is from the third switch and the fourth switch side to the first switch and the second switch side;

[0170] A cooling module is used to execute a cooling strategy through a first controller and a second controller if the temperature data of the processed serial presence detection chip is greater than or equal to a temperature threshold. The cooling strategy is connected by controlling the power supply, the first switch, the semiconductor refrigeration plate, the fourth switch and the ground so that the current in the temperature control circuit passes through the semiconductor refrigeration plate in the forward direction to reduce the temperature data of the processed serial presence detection chip, wherein the forward direction is from the first switch and the second switch side to the third switch and the fourth switch side.

[0171] The embodiment of the present invention further provides an electronic device, such as Fig.10 As shown, it includes a processor 1001, a communication interface 1002, a memory 1003 and a communication bus 1004, wherein the processor 1001, the communication interface 1002, and the memory 1003 communicate with each other through the communication bus 1004.

[0172] Memory 1003, used for storing computer programs;

[0173] The processor 1001 is used to execute the program stored in the memory 1003, and implements the following steps:

[0174] Obtain the burning data from the main device in advance;

[0175] If a programming command is received from the master device, the programming data is written into the serial presence detection chip;

[0176] After the programming data is written into the serial presence detection chip, a data read instruction sent by the master device is received;

[0177] When receiving a data read instruction sent by the master device, the programming data in the serial presence detection chip is obtained;

[0178] According to the programming data in the serial presence detection chip and the programming data obtained through the main device, it is determined whether the programming of the serial presence detection chip is successful.

[0179] Or implement the following steps:

[0180] Writing the burning data into the micro control unit in advance;

[0181] When the programming data is written into the micro control unit, a programming instruction is sent to the micro control unit, so that the micro control unit writes the programming data into the serial presence detection chip when receiving the programming instruction;

[0182] When it is detected that the microcontroller unit has completed writing the programming data into the serial presence detection chip, a data read instruction is sent to the microcontroller unit so that the microcontroller unit obtains the programming data in the serial presence detection chip upon receiving the data read instruction, and determines whether the programming of the serial presence detection chip is successful based on the programming data in the serial presence detection chip and the programming data written into the microcontroller unit by the master device.

[0183] The communication bus mentioned in the above terminal can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0184] The communication interface is used for communication between the above terminal and other devices.

[0185] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0186] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0187] In another embodiment provided by the present invention, a computer-readable storage medium is provided, in which instructions are stored. When the computer-readable storage medium is run on a computer, the computer executes the serial presence detection chip burning method described in any of the above embodiments.

[0188] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented by software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state hard disk Sol logo State Disk (SSD)), etc.

[0189] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0190] Each embodiment in this specification is described in a related manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0191] The above description is only a preferred embodiment of the present invention and is not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A method for burning a serial presence detection chip. It is characterized in that Applied to a microcontroller unit, the microcontroller unit establishes a communication connection with a host device via a serial peripheral interface, and the microcontroller unit establishes a communication connection with a serial presence detection chip via an internal integrated circuit interface, the method comprising: Obtaining the burning data in advance through the main device end; If the burning instruction sent by the master device is received, the burning data is written into the serial presence detection chip; When the programming data is written into the serial presence detection chip, receiving a data read instruction sent by the master device; When receiving the data read instruction sent by the master device, acquiring the programming data in the serial presence detection chip; According to the programming data in the serial presence detection chip and the programming data obtained through the host device, it is determined whether the programming of the serial presence detection chip is successful.

2. The method according to claim 1, It is characterized in that The step of determining whether the serial presence detection chip is successfully burned according to the burning data in the serial presence detection chip and the burning data obtained by the master device includes: Comparing the programming data in the serial presence detection chip with the programming data obtained through the master device end; If the programming data in the serial presence detection chip is consistent with the programming data acquired by the master device, it is determined that the serial presence detection chip is programmed successfully; If the programming data in the serial presence detection chip is inconsistent with the programming data acquired through the host device, it is determined that the programming of the serial presence detection chip has failed.

3. The method according to claim 1, It is characterized in that After the step of determining whether the serial presence detection chip is successfully burned according to the burning data in the serial presence detection chip and the burning data obtained by the master device, the method includes: Acquire write protection data in advance through the master device end; When the serial presence detection chip is successfully burned, receiving a write protection instruction sent by the master device; When the write protection instruction sent by the master device is received, the write protection data is written into the serial presence detection chip.

4. The method according to claim 1, It is characterized in that The method comprises: Pre-placing the serial presence detection chip in a base corresponding to the serial presence detection chip model; Acquiring temperature data of the base, and determining the temperature data of the base as the temperature data of the serial presence detection chip; Processing the temperature data of the serial presence detection chip to obtain processed temperature data of the serial presence detection chip; The processed temperature data of the serial presence detection chip is sent to the main device end; wherein, the main device end is used to determine whether the processed temperature data of the serial presence detection chip is less than a preset temperature threshold when receiving the processed temperature data of the serial presence detection chip; if the processed temperature data of the serial presence detection chip is less than the temperature threshold, the processed temperature data of the serial presence detection chip is increased by controlling the temperature control circuit; if the processed temperature data of the serial presence detection chip is greater than or equal to the temperature threshold, the processed temperature data of the serial presence detection chip is reduced by controlling the temperature control circuit.

5. A method for burning a serial presence detection chip, It is characterized in that Applied to a master device end, the master device end establishes a communication connection with a micro control unit through a serial peripheral interface, and the micro control unit establishes a communication connection with a serial presence detection chip through an internal integrated circuit interface, and the method includes: Writing the burning data into the micro control unit in advance; When the programming data is written into the micro control unit, a programming instruction is sent to the micro control unit, so that the micro control unit writes the programming data into the serial presence detection chip when receiving the programming instruction; When it is detected that the microcontroller unit has completed writing the programming data into the serial presence detection chip, a data read instruction is sent to the microcontroller unit, so that the microcontroller unit obtains the programming data in the serial presence detection chip upon receiving the data read instruction, and determines whether the programming of the serial presence detection chip is successful based on the programming data in the serial presence detection chip and the programming data written into the microcontroller unit by the master device.

6. The method according to claim 5, It is characterized in that The temperature control circuit includes a first controller, a second controller, a first switch, a second switch, a third switch, a fourth switch, a semiconductor refrigeration sheet, a power supply and a ground, wherein the first controller controls the first switch and the second switch, and the second controller controls the third switch and the fourth switch, the first switch and the third switch are located on a side close to the power supply, the second switch and the fourth switch are located on a side close to the ground, and the positive pole of the semiconductor refrigeration sheet is located on a side of the first switch and the second switch, and the method includes: In case of receiving the processed temperature data of the serial presence detection chip sent by the micro control unit, determining whether the processed temperature data of the serial presence detection chip is less than a preset temperature threshold; If the processed temperature data of the serial presence detection chip is less than the temperature threshold, a temperature increase strategy is executed by the first controller and the second controller, wherein the temperature increase strategy controls the power supply, the third switch, the semiconductor refrigeration chip, the second switch and the ground to be connected so that the current in the temperature control circuit passes through the semiconductor refrigeration chip in the reverse direction, thereby increasing the processed temperature data of the serial presence detection chip, wherein the reverse direction is from the side of the third switch and the fourth switch to the side of the first switch and the second switch; If the temperature data of the serial presence detection chip after processing is greater than or equal to the temperature threshold, a cooling strategy is executed by the first controller and the second controller. The cooling strategy controls the power supply, the first switch, the semiconductor refrigeration chip, the fourth switch and the ground to be connected so that the current in the temperature control circuit passes through the semiconductor refrigeration chip in the forward direction, thereby reducing the temperature data of the serial presence detection chip after processing, wherein the forward direction is from the side of the first switch and the second switch to the side of the third switch and the fourth switch.

7. A serial presence detection chip burning device, It is characterized in that Applied to a microcontroller unit, the microcontroller unit establishes a communication connection with a host device via a serial peripheral interface, the microcontroller unit establishes a communication connection with a serial presence detection chip via an internal integrated circuit interface, and the serial presence detection chip burning device includes: A burning data acquisition module, used to acquire burning data in advance through the main device end; A serial presence detection chip burning module, configured to write the burning data into the serial presence detection chip upon receiving the burning instruction sent by the master device; A data reading instruction receiving module, used for receiving a data reading instruction sent by the master device end when the burning data is written into the serial presence detection chip; A programming data reading module, used for acquiring the programming data in the serial presence detection chip when receiving the data reading instruction sent by the master device; The serial presence detection chip burning detection module is used to determine whether the burning of the serial presence detection chip is successful according to the burning data in the serial presence detection chip and the burning data obtained through the main device end.

8. A serial presence detection chip burning device, It is characterized in that Applied to the master device end, the master device end establishes a communication connection with the micro control unit through a serial peripheral interface, and the micro control unit establishes a communication connection with the serial presence detection chip through an internal integrated circuit interface. The serial presence detection chip burning device includes: A burning data writing module, used for writing the burning data into the micro control unit in advance; A burning instruction sending module, used for sending a burning instruction to the micro control unit when the burning data is written into the micro control unit, so that the micro control unit writes the burning data into the serial presence detection chip when receiving the burning instruction; A data read instruction sending module is used to send a data read instruction to the micro control unit when it is detected that the micro control unit has completed writing the programming data into the serial presence detection chip, so that the micro control unit can obtain the programming data in the serial presence detection chip when receiving the data read instruction, and determine whether the programming of the serial presence detection chip is successful based on the programming data in the serial presence detection chip and the programming data written into the micro control unit by the master device.

9. An electronic device, It is characterized in that include: a memory for storing processor-executable instructions; The processor is configured to execute the instructions to implement the serial presence detection chip burning method as described in any one of claims 1 to 4, or to implement the serial presence detection chip burning method as described in any one of claims 5 to 6.

10. A readable storage medium, It is characterized in that The readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for burning a serial presence detection chip as described in any one of claims 1 to 4 is implemented, or the method for burning a serial presence detection chip as described in any one of claims 5 to 6 is implemented.