Method and apparatus for reprogramming applications in embedded devices
First Claim
Patent Images
1. A method for uploading and storing application code in a re-writable, non-volatile memory of an electronic device by means of a bootloader, comprising the steps of:
- in a receiving step, receiving the application code transmitted by a master unit through a communication channel;
in a writing step, writing at least one portion of the application code to a portion of the non-volatile memory;
in a calculation step, calculating by means of the bootloader a checksum of the at least one portion of the application code;
in a transmitting step, transmitting the checksum calculated by the bootloader to the master unit; and
in a verification step, verifying by the master unit if the checksum calculated by the bootloader matches with an original checksum previously calculated on the at least one portion of the application code before transmission through the communication channel.
6 Assignments
0 Petitions
Accused Products
Abstract
A method for uploading and storing application code in a re-writable, non-volatile memory of an electronic device is carried out by means of a bootloader. The bootloader receives the application code transmitted by a master unit through a communication channel, writes at least one portion of the application code to a portion of the non-volatile memory, and validates the at least one portion of the application code by means of the bootloader.
11 Citations
18 Claims
-
1. A method for uploading and storing application code in a re-writable, non-volatile memory of an electronic device by means of a bootloader, comprising the steps of:
-
in a receiving step, receiving the application code transmitted by a master unit through a communication channel; in a writing step, writing at least one portion of the application code to a portion of the non-volatile memory; in a calculation step, calculating by means of the bootloader a checksum of the at least one portion of the application code; in a transmitting step, transmitting the checksum calculated by the bootloader to the master unit; and in a verification step, verifying by the master unit if the checksum calculated by the bootloader matches with an original checksum previously calculated on the at least one portion of the application code before transmission through the communication channel. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15)
-
-
16. An electronic device comprising:
-
a microcontroller coupled to a communications channel; a volatile memory unit coupled to the microcontroller; a re-writable, non-volatile memory unit functionally coupled to the microcontroller and effective to store application code; a protected, non-volatile memory unit comprising a stored bootloader functionally coupled to the microcontroller, and the bootloader is functional to receive the application code transmitted by a master unit through the communication channel, write at least one portion of the application code to a portion of the non-volatile memory, calculate a checksum for the at least one portion of the application code by means of the bootloader, transmit the calculated checksum to a master unit via the communications channel, and receive confirmation from the master unit that the application code is validated. - View Dependent Claims (17, 18)
-
Specification