Firmware update method and apparatus for a MCU of a vehicle

US12423430B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-12423430-B2
Application numberUS-202318237128-A
CountryUS
Kind codeB2
Filing dateAug 23, 2023
Priority dateAug 24, 2022
Publication dateSep 23, 2025
Grant dateSep 23, 2025

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A firmware update method includes requesting a hardware security module (HSM) to store version information of a current firmware stored in a flash memory and storing, by the HSM, the version information of the current firmware. The firmware update method also includes erasing the flash memory when the version information of the current firmware is stored by the HSM and writing new downloaded firmware to the flash memory; verifying an integrity of the new firmware. The firmware update method further includes requesting the HSM to sense downgrade of the new firmware when the integrity is verified. The firmware update method additionally includes determining, by the HSM, whether the firmware is downgraded by comparing the stored version information and the version information of the new firmware. The firmware update method also includes confirming a reprogramming success when it is determined that the firmware is not downgraded by the HSM.

First claim

Opening claim text (preview).

What is claimed is: 1. A firmware update method, comprising: requesting a hardware security module (HSM) to store version information of a current firmware stored in a flash memory; storing, by the HSM, the version information of the current firmware; erasing the flash memory when the version information of the current firmware is stored by the HSM; writing new downloaded firmware to the flash memory; requesting the HSM to sense downgrade of the new firmware when the integrity of the new firmware is verified; based on comparison, by the HSM, of the stored version information and the version information of the new firmware, terminating the firmware update by the HSM as part of confirming a reprogramming success when the firmware is not downgraded by the HSM, and based on comparison, by the HSM, of the stored version information and the version information of the new firmware, erasing the flash memory and generating a negative response code (NRC) as part of confirming a reprogramming failure when the firmware is downgraded by the HSM. 2. The firmware update method of claim 1 , further comprising: erasing the flash memory when the integrity is not verified. 3. The firmware update method of claim 1 , wherein storing the version information of the current firmware by the HSM comprises storing the version information of the current firmware in a secure storage. 4. The firmware update method of claim 1 , further comprising: prior to storing the version information of the current firmware by the HSM, verifying, by the HSM, validity of the version information of the current firmware. 5. The firmware update method of claim 4 , wherein: the version information includes a version value, a salt value, a message authentication code (MAC), and a pre-shared key (PSK) index, and verifying the validity of the version information comprises verifying the validity by using PSKs corresponding to the version value, the salt value, the MAC, and the PSK index. 6. The firmware update method of claim 1 , further comprising: prior to determining whether the firmware is downgraded by the HSM, verifying, by the HSM, the validity of version information of the new firmware. 7. The firmware update method of claim 6 , wherein: the version information includes a version value, a salt value, a message authentication code (MAC), and a pre-shared key (PSK) index, and verifying the validity of the version information comprises verifying the validity by using PSKs corresponding to the version value, the salt value, the MAC, and the PSK index. 8. A firmware update apparatus, comprising: a host core configured to perform firmware update of a flash memory; the flash memory and a hardware security module (HSM), wherein: the host core is configured to request the HSM to store version information of current firmware stored in the flash memory when requesting the firmware update, the HSM is configured to store the version information of the current firmware in response to the request of the host core, the host core is configured to, when the version information of the current firmware is stored by the HSM, erase the flash memory, write new firmware downloaded to the flash memory, and request the HSM to sense downgrade of the new firmware when the integrity is verified, based on comparison of the stored version information and the version information of the new firmware, the host core is configured to terminate the firmware update by the HSM as part of confirming a reprogramming success when the firmware is not downgraded by the HSM, and based on comparison, by the HSM, of the stored version information and the version information of the new firmware, the host core is configured to erase the flash memory and generate a negative response code (NRC) as part of confirming a reprogramming failure when the firmware is downgraded by the HSM. 9. The firmware update apparatus of claim 8 , wherein the host core is configured to, when the integrity is not verified, erase the flash memory. 10. The firmware update apparatus of claim 8 , wherein the HSM is configured to store the version information of the current firmware in a secure storage. 11. The firmware update apparatus of claim 8 , wherein the HSM is configured to, prior to storing the version information of the current firmware, verify validity of the version information of the current firmware. 12. The firmware update apparatus of claim 11 , wherein: the version information includes a version, a salt value, a message authentication code (MAC), and a pre-shared key (PSK) index, and the HSM is configured to verify the validity of the version information by using PSKs corresponding to the version, the salt value, the MAC, and the PSK index. 13. The firmware update apparatus of claim 8 , wherein the HSM is configured to, prior to determining whether the firmware is downgraded, verify validity of version information of the new firmware. 14. The firmware update apparatus of claim 13 , wherein: the version information includes a version, a salt value, a message authentication code (MAC), and a pre-shared key (PSK) index, and the HSM is configured to verify the validity of the version information by using PSKs corresponding to the version, the salt value, the MAC, and the PSK index. 15. The firmware update apparatus of claim 8 , wherein the host core is configured to eras the flash memory without requesting the HSM to store the version information of the current firmware stored in the flash memory when reprogramming is unsuccessful in previous firmware update when the firmware update is requested.

Assignees

Inventors

Classifications

  • Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use · CPC title

  • involving keyed hash functions, e.g. message authentication codes [MACs], CBC-MAC or HMAC · CPC title

  • Certifying or maintaining trusted computer platforms, e.g. secure boots or power-downs, version controls, system software checks, secure updates or assessing vulnerabilities · CPC title

  • Version control (security arrangements therefor G06F21/57); Configuration management · CPC title

  • Hash functions, e.g. MD5, SHA, HMAC or f9 MAC · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US12423430B2 cover?
A firmware update method includes requesting a hardware security module (HSM) to store version information of a current firmware stored in a flash memory and storing, by the HSM, the version information of the current firmware. The firmware update method also includes erasing the flash memory when the version information of the current firmware is stored by the HSM and writing new downloaded fi…
Who is the assignee on this patent?
Hyundai Autoever Corp, Hyundai Motor Corp
What technology area does this patent fall under?
Primary CPC classification G06F21/572. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Sep 23 2025 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 7 related publications on this page (citations in our corpus or others sharing the same primary CPC).