Method, Apparatus, and Communication Device for Updating Firmware
First Claim
1. A method for updating firmware, applied to a communication device having a secure data interface through which the communication device having the secure data interface performs data communication with a mobile terminal, wherein the communication device having the secure data interface comprises a secure data memory and a Flash memory, and the secure data memory stores a command swap file, wherein the secure data memory is a memory accessed by the mobile terminal through the secure data interface, the Flash memory is a memory storing the firmware in the communication device having the secure data interface, the method comprising:
- obtaining an update start command from the command swap file, wherein the update start command is written by the mobile terminal to the command swap file;
reading, from the secure data memory, a firmware update file storing update data after the update start command is obtained, wherein the firmware update file is downloaded by the mobile terminal and written by the mobile terminal to the secure data memory, and the update data comprises program codes for updating the firmware of the communication device having the secure data interface; and
writing the firmware update file to the Flash memory.
3 Assignments
0 Petitions
Accused Products
Abstract
A method, an apparatus, a device, and a mobile terminal for updating firmware. The method for updating firmware includes obtaining an update start command; after the update start command is obtained, reading a firmware update file from a secure data memory; and writing the firmware update file to a Flash memory. When a Secure Digital (SD) interface does not support a Secure Digital Input and Output (SDIO) function, a mobile terminal and a communication device having an SD interface can only read data in the secure data memory in units of files. In this application, special files are defined in the secure data memory to store an update start command and update data in different files. Therefore, the communication device having the SD interface can obtain the update start command from a command swap file, and obtain a firmware update file in a firmware update process to perform an update.
15 Citations
19 Claims
-
1. A method for updating firmware, applied to a communication device having a secure data interface through which the communication device having the secure data interface performs data communication with a mobile terminal, wherein the communication device having the secure data interface comprises a secure data memory and a Flash memory, and the secure data memory stores a command swap file, wherein the secure data memory is a memory accessed by the mobile terminal through the secure data interface, the Flash memory is a memory storing the firmware in the communication device having the secure data interface, the method comprising:
-
obtaining an update start command from the command swap file, wherein the update start command is written by the mobile terminal to the command swap file; reading, from the secure data memory, a firmware update file storing update data after the update start command is obtained, wherein the firmware update file is downloaded by the mobile terminal and written by the mobile terminal to the secure data memory, and the update data comprises program codes for updating the firmware of the communication device having the secure data interface; and writing the firmware update file to the Flash memory. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A method for updating firmware, applied to a mobile terminal which performs data communication through a secure digital interface with a communication device having a secure data interface, wherein the communication device having the secure data interface comprises a secure data memory and a Flash memory, and the secure data memory stores a command swap file, wherein the secure data memory is a memory accessed by the mobile terminal through the secure data interface, the Flash memory is a memory storing the firmware in the communication device having the secure data interface, the method comprising:
-
downloading a firmware update file storing update data; writing the firmware update file to the secure data memory; and writing an update start command in the mobile terminal to the command swap file such that the communication device having the secure data interface obtains the update start command to perform firmware update after the firmware update file is written to the secure data memory completely. - View Dependent Claims (9, 10, 11)
-
-
12. An apparatus for updating firmware, applied to a communication device having a secure data interface through which the communication device having the secure data interface performs data communication with a mobile terminal, wherein the communication device having the secure data interface comprises a secure data memory and a Flash memory, and the secure data memory stores a command swap file, wherein the secure data memory is a memory accessed by the mobile terminal through the secure data interface, the Flash memory is a memory storing the firmware in the communication device having the secure data interface, the apparatus comprising:
a computer processor configured to; obtain an update start command from the command swap file, wherein the update start command is written by the mobile terminal to the command swap file; read, from the secure data memory, a firmware update file storing update data after the update start command is obtained, wherein the firmware update file is downloaded by the mobile terminal and written by the mobile terminal to the secure data memory, and the update data comprises program codes for updating the firmware of the communication device having the secure data interface; and write the firmware update file to the Flash memory. - View Dependent Claims (13, 14, 15, 16, 17, 18)
-
19-23. -23. (canceled)
Specification