Skip to content

Improve firmware update reliability across instrument models - #160

Open
suribabu-ganti wants to merge 2 commits into
release/v0.24.0from
fix/TSP-2009-Improvements-to-firmware-update-completion-messages
Open

suribabu-ganti wants to merge 2 commits into
release/v0.24.0from
fix/TSP-2009-Improvements-to-firmware-update-completion-messages

Conversation

@suribabu-ganti

Copy link
Copy Markdown
Contributor

Improve firmware update handling for non-MP instruments that reboot and close the existing connection after the firmware transfer.

  • Removed blocking-mode switches from KI2600, TTI, and KI3700 firmware transfers. These models now use the existing nonblocking retry path, avoiding the 1-second blocking socket timeout that caused frequent 10060 os errors.
  • Skip post-flash TSP error queries for non-MP instruments because their existing connection is expected to be unavailable during reboot.
  • Preserve post-flash error diagnostics for MP5103 mainframes and modules.
  • Align REPL and standalone update behavior and completion messages.
  • Preserve real firmware-transfer and endflash errors.

This reduces false failures caused by expected reboot disconnects and improves reliability when KI2600, KI3700, or TTI instruments temporarily stop accepting firmware data.

Closes: TSP-2009
TSP-1644

- Keep non-MP firmware transfers nonblocking to avoid 1-second blocking write timeouts during instrument backpressure.
- Skip post-flash error queries for instruments that reboot and close the existing connection.
- Preserve post-flash diagnostics for MP5103 mainframes and modules.
- Align REPL and standalone update behavior and completion messages.
- Preserve real firmware-transfer and endflash errors.

This reduces false failures caused by expected reboot disconnects and improves reliability when KI2600, KI3700, or TTI instruments temporarily stop accepting firmware data.
@suribabu-ganti
suribabu-ganti requested a review from a team as a code owner October 1, 2026 13:38
@github-actions

github-actions Bot commented Oct 1, 2026 •

Copy link
Copy Markdown

Code Coverage

Package Line Rate Health
kic-discover.src 0% ❌
kic-lib.src.protocol 26% ❌
kic-discover.src.ethernet 0% ❌
kic-debug.src.debugger 0% ❌
kic-lib.src.interface 43% ➖
instrument-repl.src.resources 100% ✔
kic-debug.src 0% ❌
kic-discover.src.instrument_discovery 0% ❌
kic-lib.src.instrument 37% ➖
kic-debug-visa.src.debugger 0% ❌
kic-debug-visa.src 0% ❌
instrument-repl.src 28% ❌
kic-debug.src.resources 100% ✔
kic-lib.src.model 71% ✔
kic.src 0% ❌
kic-debug-visa.src.resources 100% ✔
Summary 40% (3551 / 8947) ➖

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants