Method of downloading main code to flash memory
AssigneeSamsung Electronics Co., Ltd.
InventorSoon-young Hong
Life of this patent
Estimating the term…
Abstract
A method of downloading a main code to a flash memory is provided. The method includes: comparing the size of the buffer with the size of the flash memory and determining a number of stages or segments in which the main code is to be downloaded to the flash memory based on the comparison results; obtaining a plurality of sub-main codes by dividing the main code by the determined number; generating a plurality of flash loader codes corresponding to the sub-main codes; and downloading the sub-main codes to the flash memory using the flash loader codes. Accordingly, it is possible to use the entire storage capacity of the flash memory even when the flash memory size is not smaller than the buffer size.
Claims9
A method of downloading a main code to a flash memory via a buffer to which the main code and a flash loader code are downloaded before downloading the main code to the flash memory, the method comprising:
- generating a plurality of flash loader codes corresponding to the sub-main codes;
- and
- downloading the sub-main codes to the flash memory using the flash loader codes.
A computer-readable recording medium storing a method of downloading a main code to a flash memory via a buffer to which the main code and a flash loader code are downloaded before downloading the main code to the flash memory, the method comprising:
- comparing the size of the buffer with the size of the flash memory and determining a number of stages in which the main code is to be downloaded to the flash memory based on the comparison results;
- obtaining a plurality of sub-main codes by dividing the main code by the determined number;
- generating a plurality of flash loader codes corresponding to the sub-main codes;
- and
- downloading the sub-main codes to the flash memory using the flash loader codes.
A method, comprising
- determining whether a main code and a flash loader code will fit in a flash memory loading buffer;
- loading the main code into a flash memory when the main code and flash loader code will fit in the loading buffer;
- and
- loading the main code into the flash memory as segments when the main code and flash loader code will not fit in the loading buffer.
Dependencies are inferred from the claim text.