Method and apparatus for near field communication
First Claim
Patent Images
1. A method of updating firmware of a near field communication (NFC) device, the method comprising:
- copying metadata, which is included in a firmware image file, from an application processor to the NFC device;
providing one of a certification success signal and a certification fail signal from the NFC device to the application processor after the NFC device verifies an integrity of the metadata; and
copying firmware data, which is included in the firmware image file, from the application processor to the NFC device when the application processor receives the certification success signal from the NFC device,wherein the firmware image file includes a data area, which includes the metadata and the firmware data, and a first digital signature for the data area,wherein copying the metadata from the application processor to the NFC device includes;
determining, by the application processor, whether the data area is changed after the first digital signature is generated based on the first digital signature and a public key;
transmitting the metadata from the application processor to the NFC device when the data area is unchanged after the first digital signature is generated;
wherein the firmware data is divided into a plurality of packets, and the metadata includes a plurality of cyclic redundancy check (CRC) values corresponding to the plurality of packets, respectively; and
wherein providing the firmware data from the application processor to the NFC device when the application processor receives the certification success signal from the NFC device includes;
serially transmitting the plurality of packets from the application processor to the NFC device;
upon receiving at the NFC device, one packet among the plurality of packets from the application processor, determining whether the one packet is damaged based on a CRC value corresponding to the one packet among the plurality of CRC values included in the metadata;
requesting the application processor to retransmit the one packet when the one packet is damaged; and
storing the one packet in a firmware storage unit included in the NFC device when the one packet is undamaged.
1 Assignment
0 Petitions
Accused Products
Abstract
A method of updating firmware of a near field communication (NFC) device includes copying metadata, which is included in a firmware image file, from an application processor to the NFC device. One of a certification success signal and a certification fail signal is provided from the NFC device to the application processor after the NFC device verifies an integrity of the metadata. Firmware data, which is included in the firmware image file, is copied from the application processor to the NFC device when the application processor receives the certification success signal from the NFC device.
-
Citations
16 Claims
-
1. A method of updating firmware of a near field communication (NFC) device, the method comprising:
-
copying metadata, which is included in a firmware image file, from an application processor to the NFC device; providing one of a certification success signal and a certification fail signal from the NFC device to the application processor after the NFC device verifies an integrity of the metadata; and copying firmware data, which is included in the firmware image file, from the application processor to the NFC device when the application processor receives the certification success signal from the NFC device, wherein the firmware image file includes a data area, which includes the metadata and the firmware data, and a first digital signature for the data area, wherein copying the metadata from the application processor to the NFC device includes; determining, by the application processor, whether the data area is changed after the first digital signature is generated based on the first digital signature and a public key; transmitting the metadata from the application processor to the NFC device when the data area is unchanged after the first digital signature is generated; wherein the firmware data is divided into a plurality of packets, and the metadata includes a plurality of cyclic redundancy check (CRC) values corresponding to the plurality of packets, respectively; and wherein providing the firmware data from the application processor to the NFC device when the application processor receives the certification success signal from the NFC device includes; serially transmitting the plurality of packets from the application processor to the NFC device; upon receiving at the NFC device, one packet among the plurality of packets from the application processor, determining whether the one packet is damaged based on a CRC value corresponding to the one packet among the plurality of CRC values included in the metadata; requesting the application processor to retransmit the one packet when the one packet is damaged; and storing the one packet in a firmware storage unit included in the NFC device when the one packet is undamaged. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
-
11. A method of operating an electronic system including an application processor, a near field communication (NFC) device and a communication unit, the method comprising:
-
downloading a firmware image file, which includes firmware data and metadata for the firmware data, using the communication unit; storing the firmware image file in a new firmware storage unit included in the application processor; copying the metadata from the application processor to the NFC device; providing one of a certification success signal and a certification fail signal from the NFC device to the application processor after the NFC device verifies an integrity of the metadata; copying the firmware data from the application processor to the NFC device when the application processor receives the certification success signal from the NFC device; and storing the firmware image file in a current firmware storage unit included in the application processor, wherein the firmware image file includes a data area, which includes the metadata and the firmware data, and a first digital signature for the data area, wherein copying the metadata from the application processor to the NFC device includes; determining, by the application processor, whether the data area is changed after the first digital signature is generated based on the first digital signature and a public key; transmitting the metadata from the application processor to the NFC device when the data area is unchanged after the first digital signature is generated wherein the firmware data is divided into a plurality of packets, and the metadata includes a plurality of cyclic redundancy check (CRC) values corresponding to the plurality of packets, respectively; and wherein providing the firmware data from the application processor to the NFC device when the application processor receives the certification success signal from the NFC device includes; serially transmitting the plurality of packets from the application processor to the NFC device; upon receiving at the NFC device, one packet among the plurality of packets from the application processor, determining whether the one packet is damaged based on a CRC value corresponding to the one packet among the plurality of CRC values included in the metadata; requesting the application processor to retransmit the one packet when the one packet is damaged; and storing the one packet in a firmware storage unit included in the NFC device when the one packet is undamaged.
-
-
12. A near field communication (NFC) system comprising:
-
an application processor (AP), including a new firmware storage unit (NFSU) and a current firmware storage unit (CFSU), the AP configured to receive a firmware image file (FIF) into the NFSU, the FIF comprising a meta-data and a firmware-data, the AP configured to copy the FIF from the NFSU to the CFSU upon validation of an attribute of the meta-data; and an NFC device in electrical communication with the AP, the NFC device configured to receive the meta-data from the AP, to determine the validation of the attribute of the meta-data, and to transmit a signal to the AP to indicate if a validation of the meta-data has occurred, wherein the FIF includes a data area, which includes the meta-data and the firmware-data, and a first digital signature for the data area, wherein the AP is configured to copy the meta-data from the AP to the NFC device by the AP being configured to determine, whether the data area is changed after the first digital signature is generated based on the first digital signature and a public key and the AP being configured to transmit the meta-data from the AP to the NFC device when the data area is unchanged after the first digital signature is generated; wherein the firmware-data is divided into a plurality of packets, and the meta-data includes a plurality of cyclic redundancy check (CRC) values corresponding to the plurality of packets, respectively; and wherein providing the firmware-data from the application processor to the NFC device when the application processor receives the certification success signal from the NFC device includes; serially transmitting the plurality of packets from the application processor to the NFC device; upon receiving at the NFC device, one packet among the plurality of packets from the application processor, determining whether the one packet is damaged based on a CRC value corresponding to the one packet among the plurality of CRC values included in the meta-data; requesting the application processor to retransmit the one packet when the one packet is damaged; and storing the one packet in a firmware storage unit included in the NFC device when the one packet is undamaged. - View Dependent Claims (13, 14, 15, 16)
-
Specification