Electronic device with an update agent that employs preprocessing techniques for update
First Claim
1. A method of updating an electronic device from a first code version to a second code version according to a bank order having a penultimate bank, the electronic device having a non-volatile memory comprising a reserved area and a plurality of banks containing the first code version, the method 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.
7 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.
49 Citations
31 Claims
-
1. A method of updating an electronic device from a first code version to a second code version according to a bank order having a penultimate bank, the electronic device having a non-volatile memory comprising a reserved area and a plurality of banks containing the first code version, the method 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, 10)
-
-
11. A method of updating an electronic device, the electronic device having a non-volatile memory comprising a reserved area and a plurality of banks containing a first code version, the method comprising:
-
moving the contents of a designated bank to the reserved area of the non-volatile memory, the designated bank thereby becoming an unoccupied bank; shifting 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; converting 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 transforming 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 (12, 13, 14, 15, 16, 17, 18, 19, 20)
-
-
21. A method of updating an electronic device having a non-volatile memory comprising at least a first bank and a second bank, the at least a first bank and a second bank containing a first code version, the method comprising:
-
moving the contents of the second bank to a reserve bank; transferring the contents of the first bank to the second bank; converting the contents of the second bank to an updated version of the first bank; storing the converted contents of the second bank into the first bank; transforming the contents of the reserve bank into an updated version of the second bank; and copying the transformed contents of the reserve bank to the second bank. - View Dependent Claims (22, 23, 24, 25, 26, 27, 28, 29, 30)
-
-
31. A method of updating an electronic device from a first code version to a second code version, the electronic device having a non-volatile memory comprising a plurality of banks containing the first code version, the method comprising:
-
in a fault tolerant manner, first writing contents of a first bank of the plurality of banks to a second bank of the plurality of banks, according to a bank order; second writing converted contents of the second bank to the first bank, in reverse bank order; and wherein only two writes to each bank in the bank order occur.
-
Specification