CPC G06F 9/4401 (2013.01) [G06F 8/654 (2018.02); G06F 8/66 (2013.01)] | 9 Claims |
1. A computer program product embodied on a non-transitory computer readable medium of a control system, the non-transitory computer readable medium including a main block and a boot block that are separate from each other, the computer program product comprising:
a firmware program file that is stored in the main block;
a signature detection module that is stored in the boot block, the signature detection module including instructions that, when executed by a processor of the control system, cause the processor to perform, at the start of a booting sequence of the control system, operations of detecting whether a pre-defined signature associated with the booting sequence is present in the main block;
a booting module that is stored in the boot block, the booting module including instructions that, when executed by the processor, cause the processor to perform, after it is determined that the pre-defined signature is not present in the main block, operations of power management and pin initiation included in the booting sequence; and
a flashing module that is stored in the boot block, the flashing module including instructions that, when executed by the processor, cause the processor to perform, in response to receipt of a flashing command, a flashing operation that includes overwriting the firmware program file with another firmware program file,
wherein detection of the pre-defined signature being present at the end of the firmware program file indicates a firmware program file being completely stored in the main block, and detection that the pre-defined signature not being present at the end of the firmware program file indicates a firmware program file being incompletely stored in the main block.
|