Patent ID: 8250223

Claim:
A portable electronic device, comprising: a storage system; at least one processor; and a device downloading unit stored in the storage system and executable by the at least one processor, the device downloading unit comprising: a device connecting module operable to establish a communication connection between a host computer and the portable device over an input/output (I/O) interface; a device synchronizing module operable to communicate with the host computer to verify that the portable electronic device is ready to receive a firmware loader; a device configuring module operable to configure a plurality of transmission parameters between the portable electronic device and the host computer, wherein the transmission parameters comprise a connection mode, a data transmission rate, a waiting time, and a data acknowledgement parameter that determines if the portable electronic device is required to acknowledge a reception of the firmware loader; a device transmitting module operable to receive the firmware loader from the host computer according to the transmission parameters, acknowledge the reception of the firmware loader upon condition that the data acknowledge is enabled, and store the firmware loader into the storage system, wherein the host computer resends the firmware loader upon condition that an acknowledgement of the reception of the firmware loader has not been received from the portable electronic device within the waiting time; a device checking module operable to verify the received firmware loader; a device notifying module operable to obtain a start address of the firmware loader in the portable electronic device from the host computer; and a device disconnecting module operable to terminate the communication connection with the host computer.