> Complete documentation index: [llms.txt](/llms.txt). Markdown versions of all pages are available by appending `.md` to page URLs.

# CosmicSDK Release Notes

> CosmicSDK release notes for the Binho Supernova, Pulsar and Atira, newest first, with the matching firmware for each release.

Release notes for **CosmicSDK**, the C, C++, C#, Java and WebAssembly library for the **Binho Supernova**, **Binho Pulsar** and **Binho Atira**, newest first. PyCosmicSDK embeds the CosmicSDK of the same major and minor version: see [PyCosmicSDK Release Notes](/releases/pycosmicsdk-release-notes/). For firmware changes, see [Host Adapter Firmware Release Notes](/releases/firmware-release-notes/). The Minimum Recommended Versions column lists the oldest version paired with each release; "+" means newer versions also work, and the latest of each is recommended.

| Version | Date | Summary | Minimum Recommended Versions |
| --- | --- | --- | --- |
| 1.11.0 | 2026-11-24 | Atira debug through pyOCD or probe-rs, CMSIS-Pack debug sequences for NXP MCX N and A, renamed debug calls | <span class="release-badge"><span>Firmware</span>4.7.1+</span> <span class="release-badge"><span>Atira firmware</span>1.2.0+</span> |
| 1.10.1 | 2026-11-18 | I3C vendor CCC writes up to 1024 bytes, Pending Read notification | <span class="release-badge"><span>Firmware</span>4.7.1+</span> |
| 1.10.0 | 2026-11-10 | SMBus on the I3C port, I3C target IBI and Hot-Join requests, per-handle reply timeout | <span class="release-badge"><span>Firmware</span>4.7.0+</span> |
| 1.9.0 | 2026-10-28 | Atira target flash from a CMSIS flash algorithm or a `.pack`, self-powered targets | <span class="release-badge"><span>Atira firmware</span>1.1.0+</span> |
| 1.7.1 | 2026-10-22 | Reliability fixes, faster bulk reads | <span class="release-badge"><span>Firmware</span>4.6.2+</span> |
| 1.7.0 | 2026-10-01 | Atira library (`libdebugprobe`) | <span class="release-badge"><span>Firmware</span>4.6.0+</span> <span class="release-badge"><span>Atira firmware</span>1.0+</span> |
| 1.6.0 | 2026-09-29 | I2C duty cycle, I2C clock stretching and SMBus reset on the I3C port | <span class="release-badge"><span>Firmware</span>4.6.0+</span> |
| 1.5.1 | 2026-09-24 | Bulk error reason, target bus events in C, Python and Java | <span class="release-badge"><span>Firmware</span>4.5.1+</span> |

## 1.11.0

Released 2026-11-24.

<span class="release-badge"><span>Firmware</span>4.7.1+</span> <span class="release-badge"><span>Atira firmware</span>1.2.0+</span> <span class="release-badge"><span>PyCosmicSDK</span>1.11.0</span>

Carries everything in 1.10.1.

### Highlights

* **Debug backends for the Atira.** `setDebugConfig(DebugConfig)` (C: `DebugProbe_SetDebugConfig`) selects what runs the debug and flash calls: the SDK's built-in backend (the default), pyOCD or probe-rs. The SDK starts the tool and drives it. `getDebugBackendInfo` reports the backend and its capabilities, and `getLastBackendError` the tool's own reason for the last failure.
* **pyOCD 0.46 or later and probe-rs 0.32 or later are required.** An older tool returns `DEBUGPROBE_BACKEND_VERSION` (`0x1E25`) at attach, before it touches the target. New codes `DEBUGPROBE_BACKEND_*` cover `0x1E20` to `0x1E25`.
* **On pyOCD and probe-rs, `targetFlashWrite` uses the tool's own flash algorithm.** The `.FLM` calls (`targetFlashLoadAlgorithm`, `targetFlashLoadPackDevice`, erase, program, verify) return `DEBUGPROBE_BACKEND_UNSUPPORTED` there.
* **No mass erase at connect.** pyOCD does not unlock or mass-erase a locked part, and `extraArgs` that would unlock or mass-erase return an error.
* **CMSIS-Pack debug sequences.** `debugSetPackDevice(pack, device)` (C: `DebugProbe_DebugSetPackDevice`) names the target part. The built-in backend then runs the part's attach, reset and reset-catch sequences, which NXP MCX N and A parts need to attach and flash. A sequence the SDK cannot run returns `DEBUGPROBE_DEBUG_SEQUENCE` (`0x1E0E`).
* **Architecture-neutral debug calls:** registers by the id `debugGetTargetInfo` lists, 64-bit addresses, `debugResetTarget(DebugResetType)` and breakpoints by id. They replace the 1.10 debug calls.

### Behavior Changes

:::caution
**1.11 removes the 1.10 debug calls, with no aliases.** C++ programs must be rebuilt against 1.11 because the `DebugProbe` class layout changed. In the C API the reset kinds are renumbered: a 1.10 value of 1 (core reset) is a pin reset in 1.11.

:::

| 1.10 (removed) | 1.11 | What changes |
| --- | --- | --- |
| `debugReset` / `DebugProbe_DebugReset` | `debugResetTarget` / `DebugProbe_DebugResetTarget` | New values: `DEBUGPROBE_RESET_TYPE_PIN` (1), `_SYSTEM` (2), `_CORE` (3). The state carries a 64-bit pc. |
| `debugGetState` | `debugGetTargetState` | 64-bit pc. |
| `debugRegRead` / `debugRegWrite` | `debugRegisterRead` / `debugRegisterWrite` (C: `..._ReadU64` / `..._WriteU64`) | Register by the id from `debugGetTargetInfo`. On the built-in backend the id is the DCRSR selector. |
| `debugMemRead` / `debugMemWrite` | `debugMemoryRead` / `debugMemoryWrite` | 64-bit address. |
| `debugBreakpointSet` / `debugBreakpointClear` | `debugBreakpointAdd` / `debugBreakpointRemove` | 32-bit ids. Add takes a type (Any, Hardware, Software) and returns the breakpoint it set. |
| `debugBreakpointList` (C: `DebugProbe_DebugBreakpointList`) | `debugBreakpointList` (C: `DebugProbe_DebugBreakpointListEntries`) | New entry type. The old C name is gone, so a stale declaration fails to link. |

In the C API, `DebugProbe_DebugAttachWithClock` renames one parameter to `clock_hz`. Other released C functions are unchanged.

### Fixes

* An Atira call made before `connect()` returns `SDK_ERROR_DISCONNECT` instead of crashing.

### Known Limitations

* Atira SPI clock runs at the supported step at or below the request (20 MHz runs at 16 MHz).

## 1.10.1

Released 2026-11-18.

<span class="release-badge"><span>Firmware</span>4.7.1+</span> <span class="release-badge"><span>PyCosmicSDK</span>1.10.1</span>

Carries everything in 1.10.0.

### Highlights

* **I3C vendor CCC WRITE up to 1024 bytes.** `i3cVendorCccWrite` (C: `CosmicSDK_I3cVendorCccWrite()`) sends vendor CCCs `0x61` to `0x7F` (broadcast) and `0xE0` to `0xFE` (direct), past the 255-byte limit of `i3cCccTransfer`. On firmware older than 4.7.1 it returns `SDK_ERROR_WRONG_REQUEST` and nothing is sent. Python, Java and C# wrap it.
* **Pending Read notification.** `NOTIF_I3C_PENDING_READ` with `Notification::i3cPendingRead()` reports the firmware's automatic read on a Pending Read IBI: target address, result and data. Enabled per target with `pendingReadCapability`, off by default. A `0x061A` result is a normal short read ended by the target. Needs firmware 4.7.0.

## 1.10.0

Released 2026-11-10.

<span class="release-badge"><span>Firmware</span>4.7.0+</span> <span class="release-badge"><span>PyCosmicSDK</span>1.10.0</span>

Carries everything in 1.9.0.

### Highlights

* **SMBus on the I3C port.** `i3cSmbusBlockWrite`, `i3cSmbusBlockRead` and `i3cSmbusQuickCommand` (C: `CosmicSDK_I3cSmbus*`). `pec` and `maxCount` are required, and every transfer ends with STOP. A bad PEC returns `SDK_ERROR_PEC_MISMATCH` (`0xE000`) with no data.
* **I3C target IBI and Hot-Join requests (Supernova).** `i3cTargetRequestIbi(mdb, payload)` raises an IBI with an MDB and up to 7 bytes; `i3cTargetRequestHotJoin()` raises a Hot-Join. The controller's answer arrives as a target bus event. New result codes `0x061C` to `0x0621`.
* **SMBus writes as an I3C target, for MCTP over SMBus.** While `i3cTargetSetSmbusWrites` is on, `i3cLegacyI2cWrite` sent as a target uses clock stretching and the target stays armed, so the endpoint's response arrives as a target bus event with no role switch.
* **Raw I3C target layout `MEMORY_RAW_1024_BYTES`.** No register address is taken from the bus, so an SMBus Block Write arrives whole. On firmware before 4.7.0, `i3cTargetInit` and `i3cTargetSetParameters` return `SDK_ERROR_WRONG_REQUEST` for this layout.
* **Any CCC from the blocking and C APIs.** `i3cCccTransfer` and `CosmicSDK_I3cCccTransfer` send a CCC by code. A CCC WRITE carries up to 255 bytes on firmware 4.7.0; on older firmware a WRITE over 64 bytes returns `SDK_ERROR_WRONG_REQUEST` and nothing is sent.
* **Per-handle reply timeout.** `setTimeout()` (C: `CosmicSDK_SetTimeout()`) changes how long each blocking call waits for a reply, from the next command on. `-1` waits without limit.
* **`getI3cConnectorStatus()`** reads the I3C LV/HV connector status and type (Supernova).
* **`Notification::resultCode()`** returns the result of any notification, so a NACKed IBI (`FW_IBI_REQUEST_REJECTED`) can be told from an accepted one.
* **Atira:** `debugAttach` takes an SWD clock (default 1 MHz). `targetSupplyOn(levelMv, result)` checks the target is unpowered, sets the level and switches supply and I/O on in one call. The UART bridge accepts 1, 1.5, 2 and 3 Mbaud, and 4 and 6 Mbaud with RTS/CTS, after `allowFastBauds(true)`. `spiFlashReadFast()` reads flash 16 KiB per USB transfer.

### Behavior Changes

:::caution
**On firmware 4.7.0, setting a target voltage on a port an external supply already powers returns `FW_EXTERNAL_VOLTAGE_DETECTED` (`0x0102`)** and the rail is left off. Scripts that treat any voltage-set error as fatal fail on a self-powered target. Use `*UseExternalVoltage()` on a self-powered target. See [Target Voltage](/guides/target-voltage/).

:::

* **A SUCCESS reply shorter than the length it declares returns `SDK_ERROR_WRONG_RESPONSE`** instead of a shorter result. Affects `i3cSdrRead`, `i3cHdrDdrRead`, `i3cLegacyI2cRead`, `spiTransfer` and the GETPID, GETCAPS, GETMXDS, GETXTIME and GETSTATUS decoders. Retry the call. A target that ends a read early is not affected.
* **`FW_I3C_TARGET_TRANSFER_LENGTH_CLAMPED` (`0x0623`):** an I3C target event with a truncated register address carries this result with no payload, instead of looking like a valid empty read. Needs firmware 4.7.0.
* **`FW_I3C_I2C_SCL_RISE_TOO_SLOW` (`0x0622`):** firmware 4.7.0 returns this when I2C clock stretching is enabled on the I3C port with no SCL pull-up. Fit an external 1–4.7 kΩ pull-up.
* **Zero-length transfers (SMBus quick command)** need firmware 4.7.0 on the I3C port. On older firmware they return an error and nothing is sent. The C API accepts a NULL buffer for a zero-length read.
* **C++ only:** rebuild against the 1.10 headers (the Atira `SerialPort` layout changed). C, Python, C# and Java are not affected.

### Fixes

* `i2cScanBus` into a stuck bus returns the firmware's `FW_I2C_TIMEOUT_CONTINUE_TRANSFER` instead of an SDK timeout.
* Two adapters opened from two threads in one process no longer leave one timing out on every request.
* Notifications of 256 bytes or more reach C, C#, Java and ctypes callers whole. Before, a 258-byte MCTP Block Write received as a target arrived with `payloadLength` 0.
* Large I3C bulk transfers at a slow rate no longer time out mid-transfer. The reply wait now includes the bus time (a 32 KB read at 100 kHz takes about 2.95 s).
* A reply left in the adapter by a process that timed out and exited is no longer taken as the next process's answer.
* With two adapters of one model and no serial given, `connect()` opens both USB interfaces on the same unit.
* Async `i3cCccENECBroadcast`, `i3cCccDISECBroadcast` and `i3cCccRSTACTBroadcast` send the same frame as the blocking API.
* C#: the I2C, SPI and I3C target event handlers fire without an `OnNotification` handler.
* Atira: an Atira in bootloader mode is skipped when listing and opening devices.
* Atira: a target HardFault inside `callFunction` returns `DEBUGPROBE_DEBUG_CALL_FAULTED` (`0x1E0B`) instead of a timeout.

### Known Limitations

Firmware 4.7.0 limitations apply; see [Host Adapter Firmware Release Notes](/releases/firmware-release-notes/). Two affect SDK calls:

* A 1024-byte I3C read can duplicate one byte and still return SUCCESS (about 0.1–0.5 % at 100 kHz). At 5 MHz use the 50 % duty cycle, or check the data with PEC or CRC.
* A write ended without STOP, then a read-from to a Supernova I3C target, is reliable up to 6.25 MHz push-pull.

## 1.9.0

Released 2026-10-28.

<span class="release-badge"><span>Atira firmware</span>1.1.0+</span>

Atira firmware 1.0 is the minimum. No change to the Supernova and Pulsar API.

### Highlights

* **Atira target flash.** `DebugProbe` programs a target's internal flash through the vendor's CMSIS flash algorithm (`.FLM`), with no external tool. `targetFlashLoadAlgorithm`, `targetFlashWrite` (erase, program and optional verify in one session), `targetFlashEraseRange`, `targetFlashEraseChip`, `targetFlashProgram`, `targetFlashVerify` and report calls; the C API mirrors them as `DebugProbe_TargetFlash*`.
* **Every flash operation resets and halts the target** before and after, and leaves it halted and attached. A progress callback cancels between pages by returning `false`.
* **Flash from a `.pack`.** `targetFlashListPackDevices` lists a pack's devices and variants; `targetFlashLoadPackDevice` loads one by name with the pack's RAM window. A part whose pack declares vendor connect steps loads only when the caller confirms those steps, otherwise it returns `DEBUGPROBE_TFLASH_PACK_NEEDS_CONFIRM`.
* **Self-powered targets (Atira firmware 1.1).** `getSignalVoltageCheck` compares the signal level with the target's own supply on pin 1, and `signalVoltageUseExternal` sets the signal level to that supply. `FW_PIN1_OVERVOLTAGE` (`0x1F03`) is new.
* New result codes `0x1D01` to `0x1D0E` for target flash.
* Measured: 128 KiB write and verify on an STM32H503RB, 10/10, about 11.5 s.

### Behavior Changes

* `FW_VOLTAGE_OUT_OF_RANGE`, `FW_EXTERNAL_VOLTAGE_DETECTED` and `FW_PIN1_OVERVOLTAGE` come back by name instead of `SDK_ERROR_UNEXPECTED_RESPONSE`.
* `FW_RESOURCE_BUSY` from `setTargetPowerEnabled(true)` means the target is self-powered. Do not retry.
* C++ only: rebuild against the 1.9 headers. The C API only gained functions.

### Known Limitations

* HEX, ELF and S-record images, multiple flash regions, core selection on multi-core parts, option bytes and readout protection are not supported.
* Target flash is verified on the STM32H503.

## 1.7.1

Released 2026-10-22.

<span class="release-badge"><span>Firmware</span>4.6.2+</span> <span class="release-badge"><span>PyCosmicSDK</span>1.7.1</span>

A 1.7.0 program runs against 1.7.1 without a rebuild.

### Highlights

* **Atira `connectCode()`** (C: `DebugProbe_ConnectCode()`) says why a connect failed: nothing opened, device info unreadable, or `DEBUGPROBE_FIRMWARE_TOO_OLD` (`0x1E0C`, Atira firmware before 1.0).
* **Faster bulk reads on firmware 4.6.2.** 3-byte SPI read at 8 MHz, median: Pulsar 1.90 ms to 0.75 ms, Supernova 5.1 ms to 2.0 ms.
* The Atira API is no longer labeled experimental and follows the same versioning rules as the rest of the SDK.

### Behavior Changes

* C++ programs built against the 1.7.0 headers get the notification-callback fix below only after a rebuild.
* Atira, outside Windows: after a failed USB write, every command returns an error until `close()` and `open()`.

### Fixes

* Large SPI and I2C bulk transfers at a slow clock no longer time out and leave the adapter busy. The reply wait now includes the bus time (a 32 KB SPI read at 100 kHz takes 2.62 s).
* A truncated UART RX or I3C IBI notification no longer makes the caller read past the buffer.
* Replacing the notification callback while notifications arrive no longer risks a crash.
* Atira: unplugging during traffic no longer aborts the host process (20/20 to 0/20).
* Atira: after a failed bulk SPI flash program, the last firmware status keeps the failure.
* Atira: a second handle in the same process no longer takes a stale reply as its answer.

## 1.7.0

Released 2026-10-01.

<span class="release-badge"><span>Firmware</span>4.6.0+</span> <span class="release-badge"><span>Atira firmware</span>1.0+</span>

Later Atira firmware also works. Carries everything in 1.6.0. Supernova and Pulsar code does not change.

### Highlights

* **Binho Atira support.** `libdebugprobe` (`debugprobe.dll` on Windows) installs beside `libcosmicsdk`, with the C++ class `debugprobe::DebugProbe`, the async `DebugProbeAsync` and a C API (`DebugProbe_*`). Calls are named like the host adapter calls.
* **SWD debug:** attach, detach, halt, run, step, reset, registers, memory, hardware breakpoints and `debugCallFunction`.
* **SPI controller** with the same argument lists as `CosmicSDK`, and an **SPI NOR flash library** (JEDEC/SFDP detection, erase, page program, on-device CRC-32 verify). `spiFlashProgramFast()` programs over the USB bulk interface.
* **Target power:** `powerSetOutput()` switches the target rail; `powerGetReading()` returns voltage, power and current (62.5 µA resolution).
* **Device calls:** `listDevices()`, `getDeviceInfo()`, `uartBridgePort()` and `enterBootMode()`.
* Every Atira call returns a CosmicSDK `uint16_t` result code. New codes: `FW_RESOURCE_BUSY` (`0x000E`), `FW_SWD_HOST_SESSION_ACTIVE` (`0x1F01`) and `FW_TEARDOWN_PENDING` (`0x1F02`).
* A process can link both `libcosmicsdk` and `libdebugprobe`.
* Measured: 1 MiB SPI flash program over bulk at 100 KB/s, 4.6 times the HID path.

### Behavior Changes

* `connect()` returns an error for Atira firmware older than 1.0.
* The Linux udev rule adds the Atira (`1fc9:8347`). Re-run `scripts/install_udev_rules.sh` after updating.
* C++ code that constructs `CosmicDriver`, `UsbTransferProtocol` or `CommunicationManager` directly must be rebuilt. Code that uses `CosmicSDK`, `CosmicAsyncSDK` or the C API is not affected.

### Known Limitations

* Target flash from an image is not part of 1.7.0. Use pyOCD with the Atira as a CMSIS-DAP device.
* On Windows, SPI flash programming uses the HID path.
* The UART bridge can hold the last byte of a reply until the next write (about 1 in 120 256-byte echoes at 115200 baud). The byte is late, not lost.

## 1.6.0

Released 2026-09-29.

<span class="release-badge"><span>Firmware</span>4.6.0+</span> <span class="release-badge"><span>PyCosmicSDK</span>1.6.0</span>

### Highlights

* **I2C SCL duty cycle.** Sets the SCL high and low split, which also makes the bus frequency exact.
* **I2C clock stretching on the I3C port**, for legacy I2C transfers to SMBus and MCTP targets that stretch SCL.
* **SMBus interface reset** (hold SCL low) and **SDA pull-up control** on the I3C port.

## 1.5.1

Released 2026-09-24.

<span class="release-badge"><span>Firmware</span>4.5.0+</span> <span class="release-badge"><span>Firmware</span>4.5.1+</span> <span class="release-badge"><span>PyCosmicSDK</span>1.5.1</span>

### Highlights

* **`getLastBulkError()`** (C: `CosmicSDK_GetLastBulkError()`) says why the bulk transport failed, for example that the vendor interface could not be claimed. Python, Java and C# wrap it.
* **`CosmicSDK_notificationAsI3cTargetBusEvent()`** decodes I3C target bus events from C. Python, Java and C# wrap it.

### Behavior Changes

* `CosmicSDK_GetBulkCapabilities()` returns `SDK_ERROR_TIMEOUT` when the device never answered, and `SUCCESS` only when it did. Firmware that predates the query reports `SDK_ERROR_TIMEOUT`.
* Java's `Notification` record gains three components. Code that constructs one directly must pass them.

### Fixes

* I2C and SPI target bus events can be parsed from Python and Java. Python callbacks raised `ctypes.ArgumentError`.
* `SDK_ERROR_BULK_UNAVAILABLE` (`0xC000`) has a name in the Python, Java and C# result-code tables.
* Destroying a `CosmicSDK` object no longer risks a crash.

## 1.5.0 and Earlier

See the full [CosmicSDK changelog](https://binhollc.github.io/CosmicSDK/info/changelog.html).