Patent ID: 8316362

Claim:
A method for updating a program section for an electronic system, wherein the electronic system comprises a control unit, a buffer memory, and a storage device, wherein the control unit is electrically connected with the buffer memory and the storage device, wherein the storage device comprises a program section, wherein the program section comprises an application section and a boot section, wherein the application section comprising a first bootloader, wherein the first bootloader comprises instructions to execute a first driver, wherein the method for updating a program section comprises the following steps: connecting a data source device to the electronic system, wherein the data source device contains update data; determining whether the first driver is able to drive the data source device or not; and if the first driver is able to drive the data source device, the first driver then performing an updating procedure according to the update data, wherein the first driver performing the updating procedure according to the update data further comprises the following steps: using the first driver to retrieve the update data; transferring the update data to the buffer memory; setting the application section as a writable but non-executable state; and writing the update data, which is stored in the buffer memory, into the application section.