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

# PyCosmicSDK Release Notes

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

Release notes for **PyCosmicSDK** (`pycosmicsdk` on PyPI), the Python package for the **Binho Supernova**, **Binho Pulsar** and **Binho Atira**, newest first. Each release embeds the CosmicSDK of the same major and minor version: see [CosmicSDK Release Notes](/releases/cosmicsdk-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-27 | Atira debug through pyOCD or probe-rs, 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, short I3C reads returned by default, Linux ARM64 and Intel macOS wheels | <span class="release-badge"><span>Firmware</span>4.7.0+</span> |
| 1.9.1 | 2026-10-30 | Documentation only | <span class="release-badge"><span>Atira firmware</span>1.1.0+</span> |
| 1.9.0 | 2026-10-30 | Atira target flash, Atira firmware 1.1 power controls | <span class="release-badge"><span>Atira firmware</span>1.1.0+</span> |
| 1.7.1 | 2026-10-23 | Reliability fixes, faster bulk reads | <span class="release-badge"><span>Firmware</span>4.6.2+</span> |
| 1.7.0 | 2026-10-19 | Atira support | <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-25 | First public release | <span class="release-badge"><span>Firmware</span>4.5.1+</span> |

:::note
PyCosmicSDK needs Python 3.10 or later. Wheels are published for CPython 3.10 to 3.14 on Windows (64-bit), Linux (x86-64 and ARM64) and macOS (Apple silicon and Intel, 10.15 or later). Install with `pip install pycosmicsdk`.

:::

## 1.11.0

Released 2026-11-27.

<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>CosmicSDK</span>1.11.0</span>

Later Atira firmware also works.

### Highlights

* **Debug backends on `DebugProbe.debug()` and `AsyncDebugProbe.debug()`.** The session runs on the SDK's built-in backend, pyOCD or probe-rs, chosen with `set_config(DebugConfig)`. `backend_info()` reports the backend and its capabilities, and `last_backend_error()` the tool's own reason for a failure.
* New calls: `target_info()`, `target_state()`, `reset_target(DebugResetType)`, `read_register_bytes()` / `write_register_bytes()`, `add_breakpoint(address, DebugBreakpointType)`, `remove_breakpoint()` and `remove_all_breakpoints()`. Addresses are 64-bit.
* pyOCD 0.46 or later and probe-rs 0.32 or later are required. `attach()` raises `DEBUGPROBE_BACKEND_VERSION` for an older tool.

### Behavior Changes

:::caution
**The 1.10 debug names are removed.** Update debug code with the table below. The same renames apply to the async classes.

:::

| 1.10 | 1.11 | Note |
| --- | --- | --- |
| `DebugTarget.state()` | `target_state()` | |
| `reset(DebugResetKind)` | `reset_target(DebugResetType)` | `SYSTEM` and `CORE` have new values. The default is the backend's own reset. |
| `set_breakpoint(address)` | `add_breakpoint(address)` | Returns a `DebugBreakpointEntry`; use its `.id`. |
| `clear_breakpoint(id)` | `remove_breakpoint(id)` | |
| `breakpoints()` | `breakpoints()` | Lists `DebugBreakpointEntry`. |
| `read_register(id)`, `write_register(id, value)` | Same names | The id comes from `target_info()`. On pyOCD and probe-rs it differs from the DCRSR number beyond r0 to r15. |

`DebugResetKind` and `DebugBreakpoint` are removed.

## 1.10.1

Released 2026-11-18.

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

Firmware 4.7.0 also works, except for the vendor CCC write.

### Highlights

* **`I3cCcc.vendor_write(ccc, address, data, *, def_byte, flags)`** and its async twin send a vendor CCC (`0x61` to `0x7F`, `0xE0` to `0xFE`) WRITE of up to 1024 bytes. On firmware older than 4.7.1 it raises `CapabilityError` and nothing is sent.
* **`I3cPendingReadNotification`.** With `I3cTargetConfiguration(pending_read_capability=True)` on a target, firmware 4.7.0 and later read it on a Pending Read IBI and report `address`, `payload`, `result` and `short`. A read the target ended early is `short=True`, not an error. Off by default. Example: `examples/blocking_api/i3c/pending_read.py`.

## 1.10.0

Released 2026-11-10.

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

Carries everything in 1.9.0 and 1.9.1.

### Highlights

* **SMBus on the I3C port.** `I3cController.smbus_block_write`, `smbus_block_read` and `smbus_quick_command`, with async twins. PEC is checked; a mismatch raises `SmbusPecError`. `pec`, `max_count` and `read` have no default, and every call ends with STOP. A quick command needs firmware 4.7.0.
* **I3C target IBI and Hot-Join requests (Supernova).** `I3cTarget.request_ibi(mdb, payload)` (MDB plus up to 7 bytes) and `request_hot_join()`. The controller's answer arrives as an `I3cTargetBusEvent` of kind `IBI` or `HOT_JOIN`.
* **SMBus writes as an I3C target, for MCTP over SMBus.** While `I3cTarget.enable_smbus_writes()` is on, `legacy_i2c_write` uses clock stretching and the adapter stays an armed target, so the reply arrives as a target bus event with no role switch.
* **`I3cTargetMemoryLayout.MEMORY_RAW_1024_BYTES`:** a target layout that takes no register address, so an SMBus Block Write arrives whole. Needs firmware 4.7.0; on older firmware `initialize()` raises.
* **Blocking raw CCC:** `I3cCcc.transfer(ccc, address, direction, ...)`, same as the async version. A WRITE carries up to 255 bytes on firmware 4.7.0.
* **`Device.set_timeout(ms)`** changes the reply timeout of an open handle, for example for a 32 KB bulk read at 100 kHz.
* **`engine_busy_timeout=<seconds>`** on the I3C private transfers re-sends a call while the firmware answers `FW_I3C_ENGINE_BUSY`. Default `0` sends once.
* **`I3cIbiNotification.result` and `.accepted`** tell a NACKed IBI from an accepted one. `I3cTargetBusEvent.result` says how each target event ended.
* **New wheels** for Linux ARM64 and macOS Intel (10.15 or later).
* New examples: NVMe-MI over MCTP over SMBus, target IBI and Hot-Join, Atira flash from a CMSIS `.pack`. The examples ship as a zip on the [documentation site](https://binhollc.github.io/pycosmicsdk/).

### Behavior Changes

:::caution
**On firmware 4.7.0, setting a target voltage on a port an external supply already powers raises `FW_EXTERNAL_VOLTAGE_DETECTED` (`0x0102`)** and the rail is left off. Use `use_external_voltage()` on a self-powered target. See [Target Voltage](/guides/target-voltage/).

:::

* **`allow_short=True` is the default on I3C reads.** A read the target ended early returns its bytes instead of raising `I3cError`; compare `len()` with the requested length. Pass `allow_short=False` for the 1.9.x behavior.
* **A reply that lost bytes in transit raises `SDK_ERROR_WRONG_RESPONSE`** instead of returning a shorter result, on `sdr_read`, `hdr_ddr_read`, `legacy_i2c_read`, `SpiController.transfer` and the GETPID, GETCAPS, GETMXDS, GETXTIME and GETSTATUS CCCs. Retry the call.
* **Zero-length I2C and I3C transfers are address-only probes** (SMBus quick command). On the I3C port they need firmware 4.7.0; on older firmware they raise `CapabilityError` and nothing is sent.
* New status codes: `FW_I3C_TARGET_TRANSFER_LENGTH_CLAMPED` (`0x0623`), `FW_I3C_I2C_SCL_RISE_TOO_SLOW` (`0x0622`, fit an external 1–4.7 kΩ SCL pull-up) and `SDK_ERROR_PEC_MISMATCH` (`0xE000`).

### Fixes

* `list_devices()` and `Device.open(model=...)` raise `OSError` when USB enumeration cannot run (for example when the process is out of file descriptors), instead of reporting no adapter attached.
* `I2cController.scan()` into a stuck bus reports `FW_I2C_TIMEOUT_CONTINUE_TRANSFER` instead of timing out, on blocking and async.
* `Gpio` calls no longer raise for a pin configured by an earlier session.
* `reboot()` says the reset may have happened when the USB write fails, instead of saying the request never left the host.
* `StatusCode` compares equal to an int.
* `pulsarsdk` shim: a Pulsar unplugged mid-command reports `UNEXPECTED_DISCONNECTION`, and `close()` answers `OPEN_CONNECTION_REQUIRED`.
* `list_debug_probes()` and `DebugProbe.open()` skip an Atira in its bootloader.
* The I3C examples run on a bus the target already powers, and the I2C examples state which bytes they overwrite at address `0x50`.

### 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.1

Released 2026-10-30.

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

Documentation only: the PyPI page covers the Atira (`DebugProbe`, a power and target flash example, and the udev rule for `1fc9:8347`). Same code as 1.9.0.

## 1.9.0

Released 2026-10-30.

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

### Highlights

* **Atira target flash.** `DebugProbe.target_flash()` and `AsyncDebugProbe.target_flash()` program the target's own flash through a CMSIS flash algorithm (`.FLM`): `load_algorithm`, `info`, `erase`, `erase_chip`, `program`, `verify`, `write` and `last_report`. The progress callback cancels by returning `False`.
* **Flash from a CMSIS-Pack.** `TargetFlash.list_pack_devices(pack)` lists devices with variants, flash range and whether each can be flashed; `load_pack_device(pack, device, confirmed_connect_steps=...)` loads one.
* A verify mismatch in `write(verify=True)` raises `TargetFlashVerifyError` with `first_mismatch`. `TargetFlashReport.erased_addr` and `erased_bytes` give the range actually erased.
* **Atira firmware 1.1 power controls** on `DebugProbe.power()`: signal voltage level and enable, target power enable, `signal_voltage_check()` and `signal_voltage_use_external()`. `set_output` / `output` stay for firmware 1.0.x. New code `StatusCode.FW_PIN1_OVERVOLTAGE` (`0x1F03`).

## 1.7.1

Released 2026-10-23.

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

### Highlights

* **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.
* Examples that run on either model take `PYCOSMICSDK_EXAMPLES_SERIAL=<serial>` to choose the adapter.

### Fixes

* On Linux, `open()` finds the adapter when another library that bundles its own hidapi is loaded first.
* SPI and I2C bulk transfers at a slow clock no longer time out (a 32 KB SPI read at 100 kHz takes 2.62 s).
* Truncated UART RX and I3C IBI notifications no longer read past the buffer, and replacing the notification callback while notifications arrive no longer races.
* Unplugging an Atira during traffic no longer aborts the process.
* `Device.set_usb_config()` leaves the handle open on success. The new configuration applies on the next reset; `reboot()` applies it now.

## 1.7.0

Released 2026-10-19.

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

Later Atira firmware also works.

### Highlights

* **Binho Atira support.** `DebugProbe`, `AsyncDebugProbe` and `list_debug_probes()` cover device control, target power, SWD debug (attach, halt, step, registers, memory, breakpoints, `debug_call_function`), the SPI controller and SPI NOR flash (detect, read, erase, program, bulk program, verify, CRC).
* `DebugError` is raised for the Atira debug codes (`0x1Exx`), with the code's name.
* New codes: `StatusCode.FW_RESOURCE_BUSY`, `FW_SWD_HOST_SESSION_ACTIVE` and `FW_TEARDOWN_PENDING`.
* An Atira, a Supernova and a Pulsar can be open in one process.

## 1.6.0

Released 2026-09-29.

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

### Highlights

* **I2C SCL duty cycle.** `I2cController.set_duty_cycle(high_pct)` sets the SCL high:low split (0, or 20 to 80 in steps of 10), which also makes the bus frequency exact. A ratio the firmware does not accept raises `I2cDutyCycleRefusedError` with the settings the bus keeps.
* **I2C clock stretching on the I3C port.** `I3cController.enable_i2c_clock_stretching()` lets `legacy_i2c_write` / `legacy_i2c_read` wait for a target that stretches SCL (SMBus, MCTP). While it is on, other I3C calls raise `I3cError` naming the call that turns it off.
* **SMBus interface reset and SDA pull-up.** `I3cController.hold_scl_low(duration_us)` holds SCL low for 1 µs to 1 s. `set_sda_pull_up(I3cSdaPullUp.AUTO | OFF | ON)` sets the 1 kΩ SDA pull-up used while clock stretching is on. SCL has no on-board pull-up.
* All have async twins. Firmware 4.5.x raises `FirmwareError` for these calls.

## 1.5.1

Released 2026-09-25.

<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>CosmicSDK</span>1.5.1</span>

First public release on PyPI; the version follows the embedded CosmicSDK.

### Highlights

* **Blocking `Device` and asyncio `AsyncDevice`** for the Supernova and Pulsar: I2C, SPI, UART, GPIO, and I3C on the Supernova with all 38 CCCs, SDR, legacy I2C and HDR-DDR transfers.
* **I2C, SPI and I3C target mode.** The adapter answers an external controller from a memory arena; I2C adds EEPROM and register maps, SPI adds a flash model.
* **Transfers up to 32 KB** over the adapter's USB bulk endpoints: I2C and SPI up to 32,768 bytes on the Supernova and 16,384 on the Pulsar, I3C SDR up to 32,767 bytes. Read the ceiling from `max_transfer_bytes`. A payload over the ceiling raises `ValidationError`; nothing is split.
* **`list_devices()`** lists attached adapters without opening them, with an optional `model=` filter. `Device.open()` takes `serial=`, `path=` or `model=`.
* **Legacy compatibility shims** under `pycosmicsdk.legacy`: `supernovasdk`, `supernovacontroller` and `pulsarsdk`, for code written against the older packages.
* **`pycosmicsdk.testing`** fakes an adapter so scripts can be tested with no hardware.
* **Clear errors for the wrong firmware.** `open()` raises `UnsupportedFirmwareError` for an adapter on firmware 3.x, and `DeviceInBootloaderError` for an adapter waiting in its bootloader. Every error carries a one-sentence description of its status code.

### Known Limitations

* HDR-DDR transfers are limited to 1024 bytes.
* Only one target protocol can be armed at a time. `release()` frees the role in session.
* A Supernova Rev B cannot act as an SPI target, and its GPIO pin 3 cannot raise interrupts. Both raise `CapabilityError`.

## 1.5.0 and Earlier

PyCosmicSDK 1.5.1 is the first public release. For the full changelog, see the [PyCosmicSDK documentation](https://binhollc.github.io/pycosmicsdk/) and the [release history on PyPI](https://pypi.org/project/pycosmicsdk/#history).