1. Technical Field
The present disclosure relates to a burning system, particularly, to a software burning system and a burning control method.
2. Description of Related Art
Before an electronic device leaves the factory, software must be burned into chips of the electronic device, such as a display chip and a storage chip of a computer. Usually, when a number of chips are burned at the same time, the chip with the longest burning time of all of them must be set as the overall burning time by experience. After the burning, the electronic device should be set to a test mode by an operator to test whether the chips have been burned successfully. However, because a burning time of each chip is different because some chips are burned quickly and some chips are burned slowly. If all of the chips are tested after the longest burning time, time is wasted and it is inconvenient to set the electronic device to the test mode by the operator.
A software burning system and a burning control method to overcome the described limitations is thus needed.
Many aspects of the present disclosure are better understood with reference to the following drawings. The components in the drawings are not necessarily drawn to scale, the emphasis instead being placed upon clearly illustrating the principles of the present disclosure. Moreover, in the drawings, like reference numerals designate corresponding parts throughout the several views.
Embodiments of the present disclosure will be described, with reference to the accompanying drawings.
In one embodiment, each chip 300 has a mode flag, and a value of the mode flag can be set to indicate a download mode or a test mode of the chip 300. In one embodiment, a value “1” of the mode flag represents a download mode of the chip 300, and a value “0” of the mode flag represents a test mode of the chip 300. When the chip 300 is in the download mode, the software can be burned into the chip 300, and when the chip 300 is in the test mode, the chip 300 can be tested for the efficacy of the burning.
The software burning system 100 includes a mode control module 101, a setting module 102, an initialization module 103, a burning control module 104, a test module 105, and a reboot control module 106. The mode control module 101 is used to obtain the mode flag of the chip 300 and controls the chip 300 to enter the correct mode according to the value of the mode flag. For example, if the value of the mode flag is “1,” the mode control module 101 controls the chip 300 to enter the download mode, and if the value of the mode flag is “0,” then the mode control module 101 controls the chip 300 to enter the test mode.
In one embodiment, the moment the burning device 200 is connected to the at least one chip 300, the at least one chip 300 is subject to startup, and the setting module 101 sets the value of the mode flag of the chip 300 to “1” when the chip 300 is started up for the first time. The mode control module 101 then obtains the value of the mode flag of the chip 300, and controls the chip 300 to enter the download mode according to the value “1” of the mode flag of the chip 300. The initialization module 103 is used to initialize the chip 300 when the chip 300 enters the download mode, thereby clearing the flash memory 310 of the chip 300. The burning control module 104 is used to execute a burning process when the chip 300 is initialized. Namely, the burning control module 104 burns the necessary software into the chip 300 when the chip 300 is initialized. The setting module 102 sets the value of the mode flag of the chip 300 to “0” when the burning process has been completed. As described above, the mode control module 101 controls the chip 300 to enter the test mode if the value of the mode flag is “0.” The test module 105 tests whether the software has been burned into the chip 300 successfully when the chip 30 is in the test mode. Therefore, the burning system 100 includes an automatic test of whether the software has been burned into the chip 300 successfully after the burning process is completed.
In one embodiment, if the test module 105 determines that the software has not been burned into the chip 300 successfully, the test module 105 produces a retest signal. The reboot control module 106 controls the chip 300 to reboot when receiving the retest signal, thereby restarting the chip 300. As described above, the setting module 102 sets the value of the mode flag of the chip 300 to “1” the moment the chip 300 is started up. Therefore, the mode control module 101 controls the chip 300 to once again enter the download mode when the chip has been rebooted. The initialization module 103 and the burning control module 104 repeats the process described above to burn the software to the chip 300.
In another embodiment, the value of the mode flag “1” can be used to represent the test mode, and the value of the mode flag “0” can be used to represent the download mode.
Referring to
In step S202, the mode control module 101 controls the chip 300 to enter the download mode when the value of the mode flag is “1”.
In step S203, the initialization module 103 initializes the chip 300 when the chip 300 enters the download mode.
In step S204, the burning control module 104 burns a corresponding software into the chip 300 when the chip 300 is initialized.
In step S205, the setting module 102 sets the value of the mode flag of the chip 300 to “0” when the burning process has been fully executed by the burning control module 104, and the mode control module 101 controls the chip 300 to enter the test mode when the value of the mode flag of the chip 300 is “0.”
In step S206, the test module 105 tests whether the software has been burned into the chip 300 successfully when the chip 30 is in the test mode.
If the test module 105 determines that the software is burned into the chip 300 successfully, the process ends, else, in step S207, the test module 105 produces a retest signal.
In step S208, the reboot control module 106 controls the chip 300 to reboot when a retest signal is received, and the process returns to step S201.
It is believed that the present embodiments and their advantages will be understood from the foregoing description, and it will be apparent that various changes may be made thereto without departing from the spirit and scope of the disclosure or sacrificing all of its material advantages, the examples hereinbefore described merely being embodiments of the present disclosure.
Number | Date | Country | Kind |
---|---|---|---|
2011 1 0432959 | Dec 2011 | CN | national |
Number | Name | Date | Kind |
---|---|---|---|
6230290 | Heidel et al. | May 2001 | B1 |
6615404 | Garfunkel et al. | Sep 2003 | B1 |
6947292 | Lin et al. | Sep 2005 | B2 |
7711989 | Wang et al. | May 2010 | B2 |
20060023560 | Tsai | Feb 2006 | A1 |
20060047994 | Pu et al. | Mar 2006 | A1 |
20060234632 | Lin et al. | Oct 2006 | A1 |
20060236198 | Lintz et al. | Oct 2006 | A1 |
20070015499 | Vikse et al. | Jan 2007 | A1 |
20080263532 | Yang et al. | Oct 2008 | A1 |
20100180271 | Arsenault et al. | Jul 2010 | A1 |
20110154162 | Tseng et al. | Jun 2011 | A1 |
20120069674 | Lee | Mar 2012 | A1 |
20120331280 | Lin et al. | Dec 2012 | A1 |
Number | Date | Country |
---|---|---|
10146611 | Apr 2003 | DE |
Number | Date | Country | |
---|---|---|---|
20130166958 A1 | Jun 2013 | US |