IP Library Granted Patent US 12,481,510
Granted Patent B2
US 12,481,510 · App. 17/848,298 · Granted Nov 25, 2025

Circuits and methods for controlling debugging firmware in integrated circuit devices

Inventor: Sen Li (Austin, TX)
Assignee: Altera Corporation
G06F9/445G06F21/604H04L9/3247H04L9/3263
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 12,481,510
App. No.
17/848,298
Granted
Nov 25, 2025
Kind
B2
Abstract

An integrated circuit device includes a storage circuit for storing a canceled value of a key identifier that is associated with a debug key used to sign debugging firmware. A security controller circuit is configurable to reactivate the key identifier to permit the debugging firmware to be loaded to the integrated circuit device to perform debugging functions by changing the canceled value of the key identifier stored in the first storage circuit to a reactivated value.

Claims (40)

1 . An integrated circuit device comprising:

a first storage circuit for storing a canceled value of a key identifier that is associated with a debug key used to sign debugging firmware; and

a security controller circuit configurable to reactivate the key identifier to permit the debugging firmware to be loaded to the integrated circuit device to perform debugging functions by changing the canceled value of the key identifier stored in the first storage circuit to a reactivated value.

2 . The integrated circuit device of claim 1 further comprising:

a second non-volatile storage circuit that stores the canceled value of the key identifier, wherein the security controller circuit is configurable to access the canceled value of the key identifier from the second non-volatile storage circuit and to store the canceled value of the key identifier in the first storage circuit.

3 . The integrated circuit device of claim 1 , wherein the security controller circuit is configurable to enable a device protection policy that protects data stored in the integrated circuit device while the debugging firmware is run in the integrated circuit device.

4 . The integrated circuit device of claim 1 , wherein the security control circuit is configurable to prevent the debugging firmware from being loaded into the integrated circuit device based on the canceled value of the key identifier stored in the first storage circuit.

5 . The integrated circuit device of claim 1 , wherein the security controller circuit is configurable to perform a certificate authentication procedure using a valid signed certificate having a device identity of the integrated circuit device to convert the integrated circuit device from a production device to a customer engineering device.

6 . The integrated circuit device of claim 5 , wherein the security controller circuit is configurable to load the debugging firmware to the integrated circuit device based on the key identifier having been reactivated and based on the integrated circuit device having been converted to the customer engineering device.

7 . The integrated circuit device of claim 1 , wherein the security controller circuit is configurable to allow the debugging firmware to run in the integrated circuit device based on the key identifier having been reactivated.

8 . The integrated circuit device of claim 1 further comprising:

a second storage circuit, wherein the security controller circuit is configurable to cancel a flag stored in the second storage circuit to identify the integrated circuit device as an engineering device, and wherein the security controller circuit is configurable to allow the debugging firmware to be loaded and run in the integrated circuit device based on the flag being cancelled.

9 . A method for controlling debugging firmware in an integrated circuit device, the method comprising:

preventing the debugging firmware from loading to the integrated circuit device based on a value of a key identifier stored in the integrated circuit device indicating that the key identifier has been deactivated, wherein the key identifier is assigned to a debug key used to sign the debugging firmware; and

reactivating the key identifier by changing the value of the key identifier stored in the integrated circuit device to permit the debugging firmware to be loaded to the integrated circuit device to perform debugging functions.

10 . The method of claim 9 further comprising:

accessing the value of the key identifier from a non-volatile storage circuit in the integrated circuit device; and

storing the value of the key identifier accessed from the non-volatile storage circuit in a volatile storage circuit in the integrated circuit device.

11 . The method of claim 9 further comprising:

using the debug key to verify a signature of the debugging firmware.

12 . The method of claim 9 further comprising:

operating a device protection policy that protects data stored in the integrated circuit device using a security controller circuit in the integrated circuit device while the debugging firmware is run in the integrated circuit device.

13 . The method of claim 9 further comprising:

performing a certificate authentication procedure using a valid signed certificate having a device identity of the integrated circuit device to convert the integrated circuit device from a production device to a customer engineering device.

14 . The method of claim 9 further comprising

canceling a flag stored in a storage circuit in the integrated circuit device to identify the integrated circuit device as an engineering device; and

allowing the debugging firmware to be loaded and run in the integrated circuit device based on the flag being cancelled.

15 . The method of claim 9 further comprising:

running the debugging firmware in the integrated circuit device based on the key identifier having been reactivated.

16 . A non-transitory computer-readable storage medium comprising instructions stored thereon for causing a computer to execute a method for controlling debugging firmware in an integrated circuit device, the method comprising:

accessing a value of a key identifier stored in the integrated circuit device indicating that the key identifier has been canceled, wherein the debugging firmware is signed with a debug key associated with the key identifier; and

reactivating the key identifier using a security controller circuit to permit the debugging firmware to run in the integrated circuit device by changing the value of the key identifier stored in the integrated circuit device.

17 . The non-transitory computer-readable storage medium of claim 16 , wherein the method further comprises,

performing a certificate authentication procedure using a valid signed certificate having a device identity of the integrated circuit device to convert the integrated circuit device from a production device to a customer engineering device.

18 . The non-transitory computer-readable storage medium of claim 16 , wherein the method further comprises:

loading the debugging firmware to the integrated circuit device based on the key identifier having been reactivated.

19 . The non-transitory computer-readable storage medium of claim 16 , wherein the method further comprises:

operating a device protection policy that protects data stored in the integrated circuit device using the security controller circuit while the debugging firmware is run in the integrated circuit device.

20 . The non-transitory computer-readable storage medium of claim 16 , wherein the method further comprises:

running the debugging firmware in the integrated circuit device based on the debug key identifier having been reactivated.

Assignments (3)
SECURITY INTEREST Recorded Sep 12, 2025
From: ALTERA CORPORATION
To: BARCLAYS BANK PLC, AS COLLATERAL AGENT
Reel/Frame 073431/0309 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jan 19, 2024
From: INTEL CORPORATION
To: ALTERA CORPORATION
Reel/Frame 066353/0886 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Jun 23, 2022
From: LI, SEN
To: INTEL CORPORATION
Reel/Frame 060297/0610 →