Apparatus and method of updating data of an embedded system, and apparatus for updating data of memory
First Claim
1. An apparatus for updating data of an embedded system, the apparatus comprising:
- a processor for retrieving a new data;
a transmission line, having a first end and a second end, the first end being connected to the processor to receive the new data, the second end communicating with the embedded system to transmit the new data to the embedded system;
wherein the data of a data area has a end address for the data and a plurality of application programs arranged in order, and the new data includes an application program update, and the embedded system executes steps as follows;
searching for an application program, within the plurality of application programs, corresponding to the application program update;
if the corresponding application program is found, retrieving a first address and a second address of the corresponding application program;
obtaining a length value of the corresponding application program from the second address and the end address;
writing contents of the data area from the second address to the end address into the data area beginning from the first address;
adding the first address to the length value to obtain a third address; and
writing the application program update into the data area beginning from the third address.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus and a method for updating data in an embedded system are provided. The apparatus includes a processor for retrieving new data and a transmission line. The transmission line connects to the processor to receive the new data and transmits the new data to the embedded system. The data of a data area has a end address for the data and a plurality of application programs arranged in order, and the new data includes an application program update. The embedded system executes the following steps: searching for an application program corresponding to the application program update; if the corresponding application program is found, retrieving a first address and a second address of the corresponding application program; obtaining a length value of the corresponding application program from the second address and the end address; writing contents of the data area from the second address to the end address into the data area beginning from the first address; adding the first address to the length value to obtain a third address; and writing the application program update into the data area beginning from the third address.
10 Citations
15 Claims
-
1. An apparatus for updating data of an embedded system, the apparatus comprising:
-
a processor for retrieving a new data; a transmission line, having a first end and a second end, the first end being connected to the processor to receive the new data, the second end communicating with the embedded system to transmit the new data to the embedded system; wherein the data of a data area has a end address for the data and a plurality of application programs arranged in order, and the new data includes an application program update, and the embedded system executes steps as follows; searching for an application program, within the plurality of application programs, corresponding to the application program update; if the corresponding application program is found, retrieving a first address and a second address of the corresponding application program; obtaining a length value of the corresponding application program from the second address and the end address; writing contents of the data area from the second address to the end address into the data area beginning from the first address; adding the first address to the length value to obtain a third address; and writing the application program update into the data area beginning from the third address. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for updating a data of a data area of an embedded system, the data having an end address for the data, the data having a plurality of application programs arranged in order, the method comprising:
-
retrieving an application program update by a processor; transmitting the application program update to the embedded system by a transmission line; searching for an application program, within the plurality of application programs, corresponding to the application program update; if the corresponding application program is found, retrieving a first address and a second address of the corresponding application program; obtaining a length value of the corresponding application program from the second address and the end address; writing contents of the data area from the second address to the end address into the data area beginning from the first address; adding the first address to the length value to obtain a third address; and writing the application program update into the data area beginning from the third address. - View Dependent Claims (8)
-
-
9. An apparatus for updating data of a memory, the apparatus comprising:
-
a first processor for retrieving a new data; a transmission line, having a first end and a second end, the first end being connected to the first processor; and a second processor for communicating with the second end of the transmission line, the second processor being connected to the memory; wherein the transmission line receives the new data from the processor and transmits the new data to the second processor to write the new data into the memory; and wherein the data of a data area has a end address for the data and a plurality of application programs arranged in order, and the new data includes an application program update, and the second processor executes steps as follows; searching for an application program, within the plurality of application programs, corresponding to the application program update; if the corresponding application program is found, retrieving a first address and a second address of the corresponding application program; obtaining a length value of the corresponding application program from the second address and the end address; writing contents of the data area from the second address to the end address into the data area beginning from the first address; adding the first address to the length value to obtain a third address; and writing the application program update into the data area beginning from the third address. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
Specification