Patent ID: 8868796

Claim:
A method in an electronic device for updating firmware of a peripheral device, the method comprising: acquiring an app that includes instructions to be executed by the electronic device and one or more updated firmware images for the peripheral device, the instructions for execution by the electronic device including instructions which when executed cause the electronic device to display information related to functions of the peripheral device; upon determining that a version of the one or more updated firmware images is different from a version of a firmware image in the peripheral device, transmitting successive portions of one updated firmware image, from the one or more updated firmware images, that is targeted for storage in a memory block of the peripheral device that is different from a memory block used by the peripheral device for currently active firmware; for each updated firmware image portion successfully transmitted, receiving, as a condition for transmitting a next updated firmware image portion, an acknowledgement from the peripheral device that the updated firmware image portion was received by the peripheral device; and when all updated firmware image portions have been transmitted, transmitting to the peripheral device an indication of transmission completion.