Electronic device with an update agent that employs preprocessing techniques for update
First Claim
1. A computer-readable storage, having stored thereon a computer program having a plurality of code sections for updating an electronic device having a non-volatile memory comprising a reserved area and a plurality of banks containing a first code version from the first code version to a second code version according to a bank order having a penultimate bank, the code sections executable by a processor for causing the processor to perform the operations comprising:
- moving the contents of the last bank in the bank order to the reserved area of the non-volatile memory;
shifting the contents of each bank in the bank order to the next bank in the bank order beginning with the penultimate bank in the bank order, and proceeding in descending bank order until the contents of the first bank in the bank order has been shifted to the second bank in the bank order;
converting the contents of each bank in the bank order from the first code version to the second code version in a fault tolerant manner beginning with the second bank in the bank order and proceeding in ascending bank order until the last bank in the bank order has been converted, each converted bank being stored in the previous bank in the bank order; and
transforming the contents of the reserved area from the first code version to the second code version in a fault tolerant manner, the second code version being stored in the bank that is last in the bank order.
6 Assignments
0 Petitions
Accused Products
Abstract
Methods of updating an electronic device having an update agent employing preprocessing techniques is disclosed. The methods described permit an electronic device having a non-volatile memory to update a plurality banks in an efficient manner, by preprocessing the original contents of the non-volatile memory. The preprocessing may comprise shifting one or more banks before performing an update, so as to create a moving, unoccupied bank or “bubble” into which the updated version of a bank may be stored. An embodiment of the present invention provides a reduction in the processing of the original memory contents, and extends the life of the non-volatile memory devices used.
52 Citations
18 Claims
-
1. A computer-readable storage, having stored thereon a computer program having a plurality of code sections for updating an electronic device having a non-volatile memory comprising a reserved area and a plurality of banks containing a first code version from the first code version to a second code version according to a bank order having a penultimate bank, the code sections executable by a processor for causing the processor to perform the operations comprising:
-
moving the contents of the last bank in the bank order to the reserved area of the non-volatile memory; shifting the contents of each bank in the bank order to the next bank in the bank order beginning with the penultimate bank in the bank order, and proceeding in descending bank order until the contents of the first bank in the bank order has been shifted to the second bank in the bank order; converting the contents of each bank in the bank order from the first code version to the second code version in a fault tolerant manner beginning with the second bank in the bank order and proceeding in ascending bank order until the last bank in the bank order has been converted, each converted bank being stored in the previous bank in the bank order; and transforming the contents of the reserved area from the first code version to the second code version in a fault tolerant manner, the second code version being stored in the bank that is last in the bank order. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. One or more circuits for use in an electronic device, the one or more circuits comprising:
-
a non-volatile memory comprising a reserved area and a plurality of banks containing a first code version; and at least one processor communicatively coupled to the non-volatile memory, the at least one processor operating to, at least; move the contents of a designated bank to the reserved area of the non-volatile memory, the designated bank thereby becoming an unoccupied bank; shift the contents of each of the plurality of banks other than the designated bank from an original bank to an unoccupied bank in a bank by bank fashion, each original bank thereby temporarily becoming an unoccupied bank; convert the contents of each of the plurality of banks other than the designated bank from the first code version to a second code version in a fault tolerant manner beginning with the contents of the last bank shifted and proceeding in reverse order of the shifting, the second code version of each bank being stored into the original bank from which the first code version of the bank was shifted; and transform the contents of the reserved area of the non-volatile memory from the first code version to a second code version in a fault tolerant manner, the second code version being stored in the designated bank. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17, 18)
-
Specification