# US 2026/0064403 A1 · Protocol-aware hitless firmware update for programmable logic controllers

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2026/0064403 A1
- Document ID: US20260064403A1
- Status: Published application
- Kind: A1
- Application number: 19/385,429
- Filed: 2025-11-11
- Published: 2026-03-05
- Earliest claimed: 2025-11-11
- Assignees: Aivres Systems Inc.
- Applicants: Aivres Systems Inc.
- Inventors: Yuan-Chih LO
- Web page: https://patentgrep.com/patent/US20260064403A1

## CPC

- G06F 8/656: while running
- G05B 19/056: {Programming the PLC}
- G06F 8/65: Updates (security arrangements therefor G06F21/57)
- G06F 8/654: using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G05B: CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS (systems for controlling or regulating non-electric variables G05D; systems for regulating electric or magnetic variables G05F; control devices or systems insofar as characterised by mechanical features only G05G)

## Abstract

A programmable logic controller in a powered system performs a hitless firmware update coordinated with a management controller. The management controller stages updated firmware and asserts a freeze signal. In response, and before any I/O-state freeze, the programmable logic controller proactively drives each communication interface that it is actively mastering (e.g., I²C, SPI, SGPIO) to a protocol-defined idle state by completing any in-progress transaction, issuing an end-of-transfer condition, and pausing further transactions. The controller then freezes its I/O pin states for a bounded interval, receives a reload command, and switches execution to the staged firmware. After the reload, the controller unfreezes its I/O and resumes normal operation. This protocol-aware quiesce prevents mid-transaction bus lock and enables reliable remote firmware updates without removing system power.

## Claims

### Claim 1

A method for performing a hitless firmware update of a programmable logic controller in a powered system, comprising:
receiving, at the programmable logic controller, a freeze signal from a management controller requesting an Input/Output(I/O)-state freeze for an impending firmware reload of updated firmware stored in a memory accessible to the programmable logic controller; in response to the freeze signal and prior to the I/O-state freeze, driving each communication interface that the programmable logic controller is actively mastering to an idle state by completing any in-progress transaction and pausing initiation of subsequent transactions on the communication interface; upon determining that either each communication interface has reached the idle state or a guard-interval delay expires, freezing I/O pin states of the programmable logic controller for a bounded interval;
during the bounded interval, receiving, from the management controller, a reload command and, in response, switching execution from prior firmware to the updated firmware; and unfreezing the I/O pin states and continuing operation under the updated firmware.

### Claim 2 (depends on 1)

The method of claim 1, wherein the continuing operation comprises:
resuming, from the idle state, initiation of transactions on each communication interface whose initiation was paused.

### Claim 3 (depends on 1)

The method of claim 1, wherein completing the in-progress transaction comprises:
refraining from freezing one or more I/O pin states associated with each communication interface until the programmable logic controller has generated a protocol-specified end-of-transfer condition on the communication interface.

### Claim 4 (depends on 1)

The method of claim 1, wherein driving each communication interface to the idle state is performed concurrently across a plurality of communication interfaces.

### Claim 5 (depends on 1)

The method of claim 1, wherein the guard-interval delay being configurable.

### Claim 6 (depends on 1)

The method of claim 1, wherein the bounded interval during which the I/O pin states are frozen is configurable.

### Claim 7 (depends on 1)

The method of claim 1, wherein the management controller comprises a baseboard management controller.

### Claim 8 (depends on 1)

The method of claim 1, wherein the memory comprises a configuration flash memory storing a firmware image for the programmable logic controller.

### Claim 9 (depends on 1)

The method of claim 1, wherein the communication interface comprises an I²C bus, and driving the communication interface to the idle state comprises:
completing a current data byte and generating a STOP condition and pausing further transactions by inhibiting assertion of a subsequent START condition.

### Claim 10 (depends on 1)

The method of claim 1, wherein the communication interface comprises a Serial Peripheral Interface (SPI), and driving the communication interface to the idle state comprises:
completing a current frame boundary and de-asserting a chip-select signal, and pausing further transactions by inhibiting re-assertion of the chip-select signal.

### Claim 11 (depends on 1)

The method of claim 1, wherein the communication interface comprises Serial General-Purpose Input/Output (SGPIO), and driving the interface to the idle state comprises:
completing a current shift/update cycle, and pausing further transactions by inhibiting issuance of a next LOAD (latch) strobe.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
identifying, in response to the freeze signal, each communication interface that is actively mastered by sampling state indicators of a respective protocol-controller state machine in the programmable logic controller.

### Claim 13 (depends on 1)

The method of claim 1, wherein continuing operation under the updated firmware comprises:
automatically resuming periodic polling or streaming schedules that were paused prior to the freezing of the I/O pin states.

### Claim 14 (depends on 1)

The method of claim 1, wherein staging the updated firmware comprises background programming of the memory while the programmable logic controller continues to perform control functions in the powered system.

### Claim 15 (depends on 1)

The method of claim 1, wherein the guard-interval delay is set by the management controller via a writable register of the programmable logic controller, and
the guard-interval delay is determined based at least on:
a bus clock rate, and a minimum number of clock cycles to complete a protocol-specified end-of-transfer, and a configurable safety margin.

### Claim 16

A system comprising:
a management controller; a memory storing updated firmware for a programmable logic controller while the system remains powered; and
the programmable logic controller operatively coupled to the management controller and the memory and to a plurality of communication interfaces, the programmable logic controller comprising control logic configured to:
receive, from the management controller, a freeze signal requesting I/O-state freeze for an impending firmware reload;
in response to the freeze signal and prior to the I/O-state freeze, drive each communication interface that the programmable logic controller is actively mastering to an idle state by completing any in-progress transaction on the communication interface and pausing initiation of subsequent transactions;
upon determining that either each communication interface has reached the idle state or a guard-interval delay expires, freeze I/O pin states of the programmable logic controller for a bounded interval; during the bounded interval, receive, from the management controller, a reload command and, in response, switch execution from prior firmware to the updated firmware; and unfreeze the I/O pin states and continue operation under the updated firmware.

### Claim 17 (depends on 16)

The system of claim 16, wherein the programmable logic controller comprises:
one or more writable configuration registers that store the guard-interval delay set by the management controller.

### Claim 18 (depends on 16)

The system of claim 16, wherein at least one of the plurality of communication interfaces comprises an Inter-Integrated Circuit (I²C) bus and
the control logic is further configured to complete a current data byte and generate a STOP condition, and to pause further transactions by inhibiting assertion of a subsequent START condition.

### Claim 19

A non-transitory computer-readable medium storing instructions which, when executed by control logic of a programmable logic controller in a powered system, cause the programmable logic controller to:
receive a freeze signal from a management controller requesting I/O-state freeze for an impending firmware reload;
prior to the I/O-state freeze, drive a communication interface that the programmable logic controller is actively mastering to an idle state by completing any in-progress transaction on the communication interface and pausing initiation of subsequent transactions; upon determining that either the communication interface has reached the idle state or a guard-interval delay expires, freeze I/O pin states for a bounded interval; during the bounded interval, receive a reload command from the management controller and, in response, switch execution from prior firmware to updated firmware stored in a memory accessible to the programmable logic controller; and unfreeze the I/O pin states and continue operation under the updated firmware.

### Claim 20 (depends on 19)

The non-transitory computer-readable medium of claim 19, wherein the instructions further cause the programmable logic controller, for an Inter-Integrated Circuit (I²C) communication interface, to:
complete a current data byte and generate a STOP condition; and
pause further transactions by inhibiting assertion of a subsequent START condition as part of driving the I²C communication interface to the idle state.
