CN112732287B - Program burning method, main circuit board and sub-circuit board - Google Patents

Program burning method, main circuit board and sub-circuit board Download PDF

Info

Publication number
CN112732287B
CN112732287B CN201911030608.8A CN201911030608A CN112732287B CN 112732287 B CN112732287 B CN 112732287B CN 201911030608 A CN201911030608 A CN 201911030608A CN 112732287 B CN112732287 B CN 112732287B
Authority
CN
China
Prior art keywords
circuit board
sub
storage medium
main
main circuit
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911030608.8A
Other languages
Chinese (zh)
Other versions
CN112732287A (en
Inventor
丁辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Dymind Biotechnology Co Ltd
Original Assignee
Shenzhen Dymind Biotechnology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Dymind Biotechnology Co Ltd filed Critical Shenzhen Dymind Biotechnology Co Ltd
Priority to CN201911030608.8A priority Critical patent/CN112732287B/en
Publication of CN112732287A publication Critical patent/CN112732287A/en
Application granted granted Critical
Publication of CN112732287B publication Critical patent/CN112732287B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention provides a program burning method, which is applied to a main circuit board, wherein the main circuit board is connected with a plurality of sub-circuit boards, each of the main circuit board and the plurality of sub-circuit boards is configured with an ID number, and the main circuit board is burnt to install a guide program, and the program burning method comprises the following steps: running an installation guide program of the main circuit board to burn a kernel operating system stored in a first storage medium connected with an external interface in the main circuit board; operating a kernel operating system to read at least one ID number and at least one corresponding burning script stored in a first storage medium, wherein each ID number corresponds to one burning script; and running at least one burning script under the kernel operating system to realize burning the corresponding programs to be burned stored in the first storage medium to the second storage medium and/or the sub-circuit board of the main circuit board according to at least one ID number. The invention also provides a main circuit board and a sub circuit board. The invention realizes program burning of a plurality of circuit boards, and is simple and effective.

Description

Program burning method, main circuit board and sub-circuit board
Technical Field
The disclosed embodiments of the present invention relate to the field of program recording technology, and more particularly, to a program recording method, a main circuit board, and a sub circuit board.
Background
With the development of medical devices, such as chemiluminescent or biochemical analyzers, more and more functional modules are integrated, and more control circuit boards are needed. For a medical device, before the medical device is sold, the medical device needs to be burned, so that the medical device can independently run software when the medical device is powered on, and the whole medical device can work normally.
The current common burning method is to burn a program to a FLASH chip by a burner and then attach the FLASH chip to a single board; or uses PC (personal computer ) to communicate with single board CPU (Central Processing Unit ) to transfer the software image to the single board through serial port or network port.
However, for medical devices, as the number of control circuit boards increases, the manual writing of each circuit board is required when the writer is used, which wastes manpower and costs, or the writing is performed by using PC and single board communication, with slow writing speed. In addition, as the number of control circuit boards increases, the system upgrade maintenance of subsequent medical devices is complicated and cumbersome.
Disclosure of Invention
According to an embodiment of the present invention, a program burning method, a main circuit board and a sub circuit board are provided to solve the above-mentioned problems.
According to a first aspect of the present invention, an exemplary program burning method is disclosed, applied to a main circuit board, wherein the main circuit board is connected to a plurality of sub-circuit boards, each of the main circuit board and the plurality of sub-circuit boards is configured with an ID number, and the main circuit board has been burned to install a boot program, comprising: running an installation guide program of the main circuit board to burn a kernel operating system stored in a first storage medium connected with an external interface in the main circuit board; running the kernel operating system to read at least one ID number and at least one corresponding burning script stored in the first storage medium, wherein each ID number corresponds to one burning script; and running the at least one burning script under the kernel operating system to realize burning the corresponding programs to be burned stored in the first storage medium to the second storage medium of the main circuit board and/or the sub circuit board according to the at least one ID number.
In some embodiments, the burning the program to be burned stored in the first storage medium to the second storage medium of the main circuit board and/or the sub circuit board according to the at least one ID number further includes: judging whether the at least one ID number read from the first storage medium has the ID number of the main circuit board; if the at least one ID number read from the first storage medium has the ID number of the main circuit board, running a burning script corresponding to the ID number of the main circuit board under the kernel operating system so as to burn the corresponding program to be burned stored in the first storage medium to a second storage medium of the main circuit board; and if the at least one ID number read from the first storage medium does not have the ID number of the main circuit board, respectively running the at least one burning script under the kernel operating system so as to respectively burn the corresponding programs to be burned stored in the first storage medium to the sub circuit boards corresponding to the at least one ID number.
In some embodiments, the ID number of the main circuit board is determined by the number of the plurality of main input output interfaces of the main processing chip in the main circuit board and the level at the plurality of main input output interfaces.
According to a second aspect of the present invention, an exemplary main circuit board is disclosed, comprising: the main processing chip is connected with the plurality of sub-circuit boards and is burnt with the installation guide program; the second storage medium and the external interface are connected with the main processing chip; the main processing chip is used for running the installation guide program so as to read a kernel operating system stored in a first storage medium connected with the external interface; the main processing chip is further used for running the kernel operating system to read at least one ID number and at least one corresponding burning script stored in the first storage medium, wherein each ID number corresponds to one burning script; the main processing chip is further configured to run the at least one burning script under the kernel operating system, so as to implement burning the program to be burned stored in the first storage medium to the second storage medium and/or the sub-circuit board according to the at least one ID number.
In some embodiments, the main processing chip is further configured to determine whether the at least one ID number read from the first storage medium has an ID number of the main circuit board; if the at least one ID number read from the first storage medium has the ID number of the main circuit board, the main processing chip is further configured to run a recording script corresponding to the ID number of the main circuit board under the kernel operating system, so as to record the corresponding program to be recorded stored in the first storage medium to a second storage medium of the main circuit board; and if the at least one ID number read from the first storage medium does not have the ID number of the main circuit board, the main processing chip is further used for running the at least one burning script under the kernel operating system respectively so as to burn the corresponding programs to be burned stored in the first storage medium to the sub circuit boards corresponding to the at least one ID number respectively.
In some embodiments, the main processing chip comprises a plurality of main input output interfaces, wherein the number of the plurality of main input output interfaces and the level at the plurality of main input output interfaces are used to determine the ID number of the main circuit board.
According to a third aspect of the present invention, an exemplary program burning method is disclosed, applied to a sub-circuit board, wherein the sub-circuit board is connected to a main circuit board, and the sub-circuit board has been burned to install a boot program, including: running an installation guide program of the sub circuit board to read a kernel operating system received from the main circuit board; and operating the kernel operating system to read a program to be burnt corresponding to the ID number of the sub-circuit board received from the main circuit board, so as to realize the burning of the program to be burnt to a third storage medium or a fourth storage medium in the sub-circuit board.
In some embodiments, the ID number of the sub-circuit board is determined by the number of sub-input-output interfaces of the sub-processing chip in the sub-circuit board and the level at the plurality of sub-input-output interfaces.
According to a fourth aspect of the present invention, an exemplary sub-circuit board is disclosed, comprising: the sub-processing chip is connected with the main circuit board and is burnt to install the guide program, and the sub-processing chip comprises a third storage medium; and/or a fourth storage medium connected with the sub-processing chip; the sub-processing chip is used for running the installation guide program so as to read a kernel operating system received from the main circuit board; the sub-processing chip is further configured to operate the kernel operating system to read a program to be burned corresponding to the ID number of the sub-circuit board received from the main circuit board, so as to implement burning the program to be burned to the third storage medium or the fourth storage medium.
In some embodiments, the sub-processing chip further comprises a plurality of sub-input-output interfaces, wherein the number of the plurality of sub-input-output interfaces and the level at the plurality of sub-input-output interfaces are used to determine the ID number of the sub-circuit board.
The invention has the beneficial effects that: through each of the main circuit board and the plurality of sub circuit boards being configured with an ID number, and through at least one ID number stored in the first storage medium and at least one corresponding programming script, programming programs to be programmed stored in the first storage medium to the second storage medium and/or the sub circuit boards of the main circuit board according to the at least one ID number, programming of the plurality of circuit boards is realized, programming of programs is simplified under the condition of more circuit boards, programming of different versions of programs of different circuit boards is effectively controlled, and system upgrading and maintenance are convenient.
Drawings
Fig. 1 is a schematic structural view of an apparatus according to an embodiment of the present invention.
Fig. 2 is a schematic structural view of a main circuit board according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a sub-circuit board according to an embodiment of the present invention.
Fig. 4 is a schematic structural view of another sub-circuit board according to an embodiment of the present invention.
Fig. 5 is a schematic structural view of yet another sub-circuit board according to an embodiment of the present invention.
Fig. 6 is a flowchart of a program recording method according to an embodiment of the invention.
Fig. 7 is a flowchart of another program recording method according to an embodiment of the invention.
Detailed Description
In order to make the technical scheme of the present invention better understood by those skilled in the art, the technical scheme of the present invention will be further described in detail with reference to the accompanying drawings and the detailed description.
In order to describe the technical scheme of the present invention in detail, the following describes the apparatus to which the present invention is applied in detail.
Fig. 1 is a schematic structural diagram of an apparatus according to an embodiment of the present invention. The device may be a medical device, but is not limited thereto. The device comprises a main circuit board 10 and a plurality of sub-circuit boards A1, a 2..an, wherein the plurality of sub-circuit boards A1, a 2..an are each connected with the main circuit board 10, n is An integer greater than 2. In some embodiments, the connection between each sub-circuit board A1, a 2..or An and the main circuit board 10 may be implemented by a CAN (Controller Area Network ) bus.
Each of the main circuit board 10 and the plurality of sub circuit boards A1, a2.. An is configured with An ID number, the main circuit board 10 has been burned with An installation guide, and each sub circuit board A1, a2.. or An has been burned with the same installation guide.
The main circuit board 10 includes a main processing chip 11, an external interface 12, and a second storage medium 14, wherein the external interface 12 and the second storage medium 14 are both connected to the main processing chip 11, and the external interface 12 is also connected to the first storage medium 13.
The first storage medium 13 is configured to store in advance a kernel operating system of the main processing chip 11, at least one ID number, and at least one corresponding writing script, where each ID number corresponds to one writing script, and each writing script corresponds to one program to be written.
The main processing chip 11 is used for running an installation boot program to burn a kernel operating system stored in a first storage medium 13 connected to the external interface 12. The main processing chip 11 is further configured to run a kernel operating system to read at least one ID number and at least one corresponding burning script stored in the first storage medium 13, where each ID number corresponds to one burning script. The main processing chip 11 is further configured to run at least one writing script under the kernel operating system, so as to implement writing the corresponding program to be written stored in the first storage medium 13 to the second storage medium 14 and/or the sub-circuit board according to the at least one ID number.
In some embodiments, the main processing chip 11 is further configured to determine whether the at least one ID number read from the first storage medium 13 has the ID number of the main circuit board 10.
If at least one ID number read from the first storage medium 13 has the ID number of the main circuit board 10, the main processing chip 11 is further configured to run a recording script corresponding to the ID number of the main circuit board 10 under the kernel operating system, so as to record the corresponding program to be recorded stored in the first storage medium 13 to the second storage medium 14 of the main circuit board 10.
If the at least one ID number read from the first storage medium 13 does not have the ID number of the main circuit board 10, the main processing chip 11 is further configured to run at least one writing script under the kernel operating system, so as to write the corresponding program to be written stored in the first storage medium 13 to the sub circuit board A1, A2 … or An corresponding to the at least one ID number, respectively.
In some embodiments, when at least one ID number read from the first storage medium 13 does not have the ID number of the main circuit board 10, the main processing chip 11 sends a burning instruction to each sub circuit board A1, A2 … or An under the kernel operating system, where the burning instruction includes An ID number, then, the main processing chip 11 receives a response instruction of each sub circuit board A1, A2 … or An for the burning instruction, where the response instruction is sent by the sub processing chip 21 of the sub circuit board A1, A2 … or An after receiving and parsing the burning instruction under the kernel operating system, and then, the main processing chip 11 determines that the ID number included in the burning instruction is the same as the ID number of itself, and then, runs a burning script corresponding to the ID number under the kernel operating system, so as to burn the corresponding program to be burned stored in the first storage medium 13 to the sub circuit board corresponding to the ID number.
Any two of the plurality of sub-circuit boards A1, a2.. An may be the same or different. As shown in fig. 1, the sub-circuit boards A1 and A2 are identical and different from the sub-circuit board An.
The sub-circuit board A1 or A2 includes a sub-processing chip 21 and a fourth storage medium 22, wherein the fourth storage medium 22 is connected to the sub-processing chip 21, and the sub-processing chip 21 includes a third storage medium 211.
The first storage medium 13 is also used for storing in advance the kernel operating system of the sub-processing chip A1, A2 …, or An. The kernel operating system of the sub-processing chip A1, A2 …, or An stored in the first storage medium 13 is transmitted to the sub-processing chip 21 through the main processing chip 11.
The sub-processing chip 21 is used to run an installation bootstrap program to read the kernel operating system received from the main circuit board 10. The sub-processing chip 21 is further configured to run a kernel operating system to read a program to be burned corresponding to the ID number of the sub-circuit board A1 or A2 received from the main circuit board 10, so as to implement burning the program to be burned to the third storage medium 211 or the fourth storage medium 22.
The sub-circuit board An includes a sub-processing chip 21, wherein the sub-processing chip 21 includes a third storage medium 211.
The sub-processing chip 21 is used to run an installation bootstrap program to read the kernel operating system received from the main circuit board 10. The sub-processing chip 21 is further configured to run a kernel operating system to read a program to be programmed corresponding to the ID number of the sub-circuit board An received from the main circuit board 10, so as to implement programming the program to be programmed into the third storage medium 211.
In some embodiments, the main processing chip 11 includes a plurality of main input output interfaces 111, wherein the number of the plurality of main input output interfaces 111 and the level at the plurality of main input output interfaces 111 are used to determine the ID number of the main circuit board 10. In other words, the ID number of the main circuit board 10 is determined by the number of the plurality of main input output interfaces 111 of the main processing chip 11 in the main circuit board 10 and the level at the plurality of main input output interfaces 111.
In some embodiments, if the main input/output interface 111 is grounded through a resistor, the level at the main input/output interface 111 is low, and if the main input/output interface 111 is connected to the power Vcc through a resistor, the level at the main input/output interface 111 is high.
For example, as shown in fig. 2, the main processing chip 11 includes three main input/output interfaces 111, and each of the main input/output interfaces 111 is grounded via a resistor R, and at this time, the ID number of the main circuit board 10 is 000.
In some embodiments, the sub-processing chip 21 further includes a plurality of sub-input-output interfaces 212, wherein the number of the plurality of sub-input-output interfaces 212 and the level at the plurality of sub-input-output interfaces 212 are used to determine the ID number of the sub-circuit board. In other words, the ID number of the sub-circuit board is determined by the number of the plurality of sub-input-output interfaces 212 of the sub-processing chip 21 in the sub-circuit board and the level at the plurality of sub-input-output interfaces 212. Further, in some embodiments, the number of the plurality of sub-input-output interfaces 212 is determined by the number of the sub-circuit boards A1, A2 … An, that is, the number of the plurality of sub-input-output interfaces 212 is determined by n. For example, assuming that the number n of sub-circuit boards is 7, the number of sub-input-output interfaces 212 is 3. For another example, assuming that the number n of sub-circuit boards is 13, the number of sub-input-output interfaces 212 is 4. By analogy, the number of sub-I/O interfaces 212 is the value of log 2 n rounded up.
In some embodiments, the level at the sub-input/output interface 212 is low if the sub-input/output interface 212 is grounded through a resistor, and the level at the sub-input/output interface 212 is high if the sub-input/output interface 212 is connected to the power supply Vcc through a resistor.
For example, as shown in fig. 3-5, the sub-processing chip 21 includes three sub-input-output interfaces 212. The ID numbers of the sub-circuit boards A1, A2 … A7 are determined by the levels at the three sub-input-output interfaces 212. As shown in fig. 3, the three sub-input/output interfaces 212 are grounded, and connected to the power source Vcc through a resistor R, and the ID number of the sub-circuit board A1 is 001. As shown in fig. 4, the three sub-input/output interfaces 212 are grounded via a resistor R, connected to the power source Vcc, and grounded, and the ID number of the sub-circuit board A2 is 010. By analogy, as shown in fig. 5, the three sub-input/output interfaces 212 are all connected to the power supply Vcc through a resistor R, and the ID number of the sub-circuit board A7 is 111.
It should be noted that the three sub-i/o interfaces 212 of the sub-circuit boards A1, A2 … A7 are identical and are labeled in a preset order, so that the ID numbers of the sub-circuit boards A1, A2 … A7 are preconfigured with the same preset rule.
Fig. 6 is a flowchart of a program recording method according to an embodiment of the invention. The method employs a main circuit board, such as the main circuit board 10 shown in fig. 1, and the details thereof are described above and will not be described again. The method comprises the following steps:
step 610: and running an installation guide program of the main circuit board to burn a kernel operating system stored in a first storage medium connected with an external interface in the main circuit board.
The main processing chip 11 runs an installation boot program of the main circuit board 10 to burn a kernel operating system stored in a first storage medium 13 connected to an external interface 12 in the main circuit board 10.
Step 620: and operating the kernel operating system to read at least one ID number and at least one corresponding burning script stored in the first storage medium.
Wherein each ID number corresponds to a burn script.
The main processing chip 11 runs a kernel operating system to read at least one ID number and corresponding at least one burn script stored in the first storage medium 13.
Step 630: and running at least one burning script under the kernel operating system to realize burning the programs to be burned stored in the first storage medium to the second storage medium and/or the sub-circuit board of the main circuit board according to at least one ID number.
The main processing chip 11 runs at least one burning script under the kernel operating system to realize that the program to be burned stored in the first storage medium 13 is burned to the second storage medium 14 of the main circuit board 10 and/or the sub circuit board A1, A2 … or An according to at least one ID number.
In this embodiment, through each of the main circuit board and the plurality of sub circuit boards being configured with an ID number, and through at least one ID number stored in the first storage medium and a corresponding at least one writing script, the program to be written stored in the first storage medium is written to the second storage medium and/or the sub circuit board of the main circuit board according to the at least one ID number, thereby implementing program writing on the plurality of circuit boards, simplifying program writing on more circuit boards, effectively controlling writing of programs of different versions on different circuit boards, and making system upgrade and maintenance thereof convenient.
In some embodiments, step 630 further comprises determining whether the at least one ID number read from the first storage medium has an ID number of the main circuit board. That is, the program to be burned stored in the first storage medium is burned to the second storage medium and/or the sub-circuit board of the main circuit board according to the at least one ID number, and further, whether the at least one ID number read from the first storage medium has the ID number of the main circuit board or not.
If at least one ID number read from the first storage medium is the ID number of the main circuit board, running a burning script corresponding to the ID number of the main circuit board under the kernel operating system so as to burn the corresponding program to be burned stored in the first storage medium to the second storage medium of the main circuit board.
If at least one ID number read from the first storage medium does not exist in the ID number of the main circuit board, respectively running at least one burning script under the kernel operating system so as to respectively burn the corresponding programs to be burned stored in the first storage medium to the sub circuit boards corresponding to the at least one ID number.
In some embodiments, when at least one ID number read from the first storage medium does not have the ID number of the main circuit board, the main processing chip 11 sends a writing instruction to each sub circuit board A1, A2 … or An under the kernel operating system, where the writing instruction includes one ID number, the sub processing chip 21 receives and parses the writing instruction under the kernel operating system, if the ID number included in the writing instruction is the same as the ID number of the main processing chip 11, sends a response instruction to the main processing chip 11, and then, the main processing chip 11 runs a writing script corresponding to the ID number under the kernel operating system to write the corresponding program to be written stored in the first storage medium to the sub circuit board corresponding to the ID number.
In some embodiments, the ID number of the main circuit board is determined by the number of the plurality of main input output interfaces of the main processing chip in the main circuit board and the level at the plurality of main input output interfaces, as described above. The details of the above embodiments are described in detail.
Fig. 7 is a flowchart of another program recording method according to an embodiment of the invention. The method uses a sub-circuit board, such as sub-circuit boards A1, A2 … or An shown in fig. 1, and the details are described above and will not be described here. The method comprises the following steps:
step 710: and running an installation guide program of the sub circuit board to read the kernel operating system received from the main circuit board.
The sub-circuit board A1, A2 …, or An runs An installation bootstrap of the sub-circuit board A1, A2 …, or An to read the kernel operating system received from the main circuit board 10.
Step 720: and operating the kernel operating system to read a program to be burnt corresponding to the ID number of the sub-circuit board received by the main circuit board so as to realize the burning of the program to be burnt to a third storage medium or a fourth storage medium in the sub-circuit board.
The sub-circuit board A1 or A2 runs the kernel operating system to read the program to be burned corresponding to the ID number of the sub-circuit board A1 or A2 received from the main circuit board 10, so as to implement the burning of the program to be burned to the fourth storage medium 22 in the sub-circuit board A1 or A2.
The sub-circuit board An runs the kernel operating system to read the program to be programmed corresponding to the ID number of the sub-circuit board An received from the main circuit board 10, so as to implement programming the program to be programmed into the third storage medium 211 in the sub-circuit board An.
In this embodiment, the sub-circuit board is configured with the ID number, and then the sub-circuit board is configured with the to-be-programmed corresponding to the ID number received from the main circuit board, so as to implement programming of the to-be-programmed to the third storage medium or the fourth storage medium of the sub-circuit board, that is, the to-be-programmed is obtained from the main circuit board through the ID number of the sub-circuit board, thereby implementing programming of the program, and simplifying programming under the condition of more circuit boards.
In some embodiments, as described above, the ID number of the sub-circuit board is determined by the number of the plurality of sub-input-output interfaces of the sub-processing chip in the sub-circuit board and the level at the plurality of sub-input-output interfaces. The details of the above embodiments are described in detail.
Those skilled in the art will readily appreciate that many modifications and variations are possible in the device and method while maintaining the teachings of the invention. Accordingly, the above disclosure should be viewed as limited only by the scope of the appended claims.

Claims (8)

1. A program burning method, characterized in that it is applied to a main circuit board, wherein the main circuit board is connected to a plurality of sub circuit boards, each of the main circuit board and the plurality of sub circuit boards is configured with an ID number, and the main circuit board has been burned with an installation guide program, comprising:
running an installation guide program of the main circuit board to burn a kernel operating system stored in a first storage medium connected with an external interface in the main circuit board;
running the kernel operating system to read at least one ID number and at least one corresponding burning script stored in the first storage medium, wherein each ID number corresponds to one burning script;
Running the at least one burning script under the kernel operating system to realize burning of the corresponding programs to be burned stored in the first storage medium to a second storage medium of the main circuit board and/or the sub circuit board according to the at least one ID number;
Wherein the burning the program to be burned stored in the first storage medium to the second storage medium of the main circuit board and/or the sub circuit board according to the at least one ID number further comprises:
Judging whether the at least one ID number read from the first storage medium has the ID number of the main circuit board;
If the at least one ID number read from the first storage medium has the ID number of the main circuit board, running a burning script corresponding to the ID number of the main circuit board under the kernel operating system so as to burn the corresponding program to be burned stored in the first storage medium to a second storage medium of the main circuit board;
And if the at least one ID number read from the first storage medium does not have the ID number of the main circuit board, respectively running the at least one burning script under the kernel operating system so as to respectively burn the corresponding programs to be burned stored in the first storage medium to the sub circuit boards corresponding to the at least one ID number.
2. The method of programming as claimed in claim 1, wherein,
The ID number of the main circuit board is determined by the number of the plurality of main input output interfaces of the main processing chip in the main circuit board and the level at the plurality of main input output interfaces.
3. A main circuit board, comprising:
The main processing chip is connected with the plurality of sub-circuit boards and is burnt with the installation guide program;
The second storage medium and the external interface are connected with the main processing chip;
The main processing chip is used for running the installation guide program to burn a kernel operating system stored in a first storage medium connected with the external interface; the main processing chip is further used for running the kernel operating system to read at least one ID number and at least one corresponding burning script stored in the first storage medium, wherein each ID number corresponds to one burning script; the main processing chip is further used for running the at least one burning script under the kernel operating system so as to realize burning the programs to be burned stored in the first storage medium to the second storage medium and/or the sub-circuit board according to the at least one ID number;
The main processing chip is further used for judging whether the at least one ID number read from the first storage medium has the ID number of the main circuit board;
If the at least one ID number read from the first storage medium has the ID number of the main circuit board, the main processing chip is further configured to run a recording script corresponding to the ID number of the main circuit board under the kernel operating system, so as to record the corresponding program to be recorded stored in the first storage medium to a second storage medium of the main circuit board;
And if the at least one ID number read from the first storage medium does not have the ID number of the main circuit board, the main processing chip is further used for running the at least one burning script under the kernel operating system respectively so as to burn the corresponding programs to be burned stored in the first storage medium to the sub circuit boards corresponding to the at least one ID number respectively.
4. The main circuit board of claim 3, wherein the main processing chip comprises a plurality of main input output interfaces, wherein a number of the plurality of main input output interfaces and a level at the plurality of main input output interfaces are used to determine an ID number of the main circuit board.
5. A program burning method, applied to a sub-circuit board, wherein the sub-circuit board is connected to the main circuit board according to any one of claims 3 to 4, and the sub-circuit board has been burned with an installation guide program, comprising:
Running an installation guide program of the sub circuit board to read a kernel operating system received from the main circuit board;
And operating the kernel operating system to read a program to be burnt corresponding to the ID number of the sub-circuit board received from the main circuit board, so as to realize the burning of the program to be burnt to a third storage medium or a fourth storage medium in the sub-circuit board.
6. The program recording method as claimed in claim 5, wherein,
The ID number of the sub-circuit board is determined by the number of the plurality of sub-input-output interfaces of the sub-processing chip in the sub-circuit board and the level at the plurality of sub-input-output interfaces.
7. A sub-circuit board, comprising:
a sub-processing chip connected to the main circuit board according to any one of claims 3 to 4 and having been programmed with an installation boot program, comprising a third storage medium; and/or
A fourth storage medium connected to the sub-processing chip;
The sub-processing chip is used for running the installation guide program so as to read a kernel operating system received from the main circuit board; the sub-processing chip is further configured to operate the kernel operating system to read a program to be burned corresponding to the ID number of the sub-circuit board received from the main circuit board, so as to implement burning the program to be burned to the third storage medium or the fourth storage medium.
8. The sub-circuit board of claim 7, wherein the sub-processing chip further comprises a plurality of sub-input-output interfaces, wherein a number of the plurality of sub-input-output interfaces and a level at the plurality of sub-input-output interfaces are used to determine an ID number of the sub-circuit board.
CN201911030608.8A 2019-10-28 2019-10-28 Program burning method, main circuit board and sub-circuit board Active CN112732287B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911030608.8A CN112732287B (en) 2019-10-28 2019-10-28 Program burning method, main circuit board and sub-circuit board

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911030608.8A CN112732287B (en) 2019-10-28 2019-10-28 Program burning method, main circuit board and sub-circuit board

Publications (2)

Publication Number Publication Date
CN112732287A CN112732287A (en) 2021-04-30
CN112732287B true CN112732287B (en) 2024-06-18

Family

ID=75588797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911030608.8A Active CN112732287B (en) 2019-10-28 2019-10-28 Program burning method, main circuit board and sub-circuit board

Country Status (1)

Country Link
CN (1) CN112732287B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116560985B (en) * 2023-04-27 2024-02-23 深圳市晶存科技有限公司 Chip equipment test control method, upper computer, equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106569839A (en) * 2015-10-08 2017-04-19 华为技术有限公司 Circuit board and firmware burning method therefor
CN107391187A (en) * 2017-07-13 2017-11-24 郑州云海信息技术有限公司 A kind of firmware burning method, baseboard management controller and firmware burning system

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070169112A1 (en) * 2005-10-31 2007-07-19 Inventec Corporation Operating program installation method appended with driver program and related structure
TW200820191A (en) * 2006-10-27 2008-05-01 Innolux Display Corp Driving circuit for liquid crystal panel and liquid crystal display
TWI400652B (en) * 2009-06-11 2013-07-01 Insyde Software Corp Dual operating system parallel processing methods, recording media and computer program products
TW201301039A (en) * 2011-06-24 2013-01-01 Hon Hai Prec Ind Co Ltd System and method for burning firmware
CN103336238B (en) * 2013-07-12 2015-06-03 山东省科学院自动化研究所 Automatic on-line batch burning and testing device and testing method for TPMS emitter
CN103645920A (en) * 2013-12-19 2014-03-19 深圳市捷顺科技实业股份有限公司 Embedded system program burning method and system
CN107015836B (en) * 2017-04-21 2024-04-16 菲尔莱(北京)科技有限公司 Program batch burning working platform and batch burning method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106569839A (en) * 2015-10-08 2017-04-19 华为技术有限公司 Circuit board and firmware burning method therefor
CN107391187A (en) * 2017-07-13 2017-11-24 郑州云海信息技术有限公司 A kind of firmware burning method, baseboard management controller and firmware burning system

Also Published As

Publication number Publication date
CN112732287A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
US9778844B2 (en) Installation of operating system on host computer using virtual storage of BMC
US5644705A (en) Method and apparatus for addressing and testing more than two ATA/IDE disk drive assemblies using an ISA bus
KR100280637B1 (en) Computer system capable of data update of fixed flash ROM and its control method
US20080126584A1 (en) System and Method for Receiving Control Commands at a Peripheral Device
KR100764921B1 (en) Virtual rom for device enumeration
US10656676B2 (en) Docking device, electrical device, and MAC address cloning method
CN104679540A (en) Computer system and computer system starting method
CN109614126B (en) Embedded system online program upgrading method and device
CN102375787A (en) System and method for realizing interface by using memory window
CN107463388A (en) A kind of UEFI non-disk startups method
US20100064079A1 (en) USB Devices Pre-Configuration For KVM Switch
CN112732287B (en) Program burning method, main circuit board and sub-circuit board
CN104428751A (en) Program data updating method and equipment
CN100361075C (en) Method and device for quickly developing embedded system using automatic compilation frame
CN104597983A (en) Regulation method of revolving speed of computer and mainboard system
CN116662115A (en) Method and device for regulating voltage of server component, computer equipment and storage medium
CN104063306A (en) Automatic login method, device and system in intelligent terminal software testing
US9807838B1 (en) System and method for providing downloadable custom LED blinking pattern for backplane controller or enclosure management controller
CN115686889A (en) Method for using Ivshmem by Jailhouse based on ACPI
US9128873B2 (en) Memory bus attached input/output (‘I/O’) subsystem management in a computing system
CN113448644B (en) Operating system ring3 mode OC hard disk configuration method, device, terminal and storage medium
CN1288547C (en) Controller and method for writing data
KR100665134B1 (en) The root file system configuration and operation method for the embedded system, and mobile terminal using the method
KR102427978B1 (en) Unified programmer for AVR-based arduino compatible boards and automatic function setting method
KR100376055B1 (en) Method for downloading input/output processor kernel

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant