| CPC G06F 8/65 (2013.01) [G06F 3/0412 (2013.01); G06F 3/04164 (2019.05); G06F 8/61 (2013.01); G06F 8/654 (2018.02)] | 10 Claims |

|
1. A touch system comprising:
a processor;
a first memory configured to store a first firmware for driving the processor in a first area and a second firmware for driving the processor in a second area different from the first area; and
a second memory configured to store the first firmware which is uploaded by the processor, wherein
the first firmware is configured to:
receive update-data for the first firmware from a host after being executed by the processor in a state of being uploaded to the second memory;
after receiving the update-data for the first firmware from the host, store body data of the update-data in the first memory;
after storing the body data of the update-data in the first memory, verify a validity of the body data of the update-data stored in the first memory;
based at least on a result of verifying the validity of the body data of the update-data stored in the first memory, store header data of the update-data in a blank section provided at a front of a memory section in which the body data of the update-data is stored in the first memory; and
after storing the header data in the first memory after verifying the validity of the body data, verify the validity of the header data, and if the validity of the header data is proved, complete updating of the first firmware,
the first area corresponds to a memory area in which read and write operations are possible in the first memory, and the second area corresponds to a read-only memory area in the first memory,
the second firmware is configured to be uploaded to the second memory and to be executed by the processor to receive the update-data for the first firmware from the host when an error occurs in the first firmware,
the first memory further includes a blank area corresponding to a predetermined memory section,
the blank area is provided between the first area of the first firmware and the second area of the second firmware,
the first area, the second area, and the blank area are provided in a same physical medium, and
the header data of the update-data is stored in the first memory only if the validity of the body data of the update-data stored in the first area of the first memory is verified.
|