Skip to content
binho.io (opens in a new tab)Contact Us

CosmicSDK Release Notes

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. For firmware changes, see Host Adapter 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.

VersionDateSummaryMinimum Recommended Versions
1.11.02026-11-24Atira debug through pyOCD or probe-rs, CMSIS-Pack debug sequences for NXP MCX N and A, renamed debug callsFirmware4.7.1+ Atira firmware1.2.0+
1.10.12026-11-18I3C vendor CCC writes up to 1024 bytes, Pending Read notificationFirmware4.7.1+
1.10.02026-11-10SMBus on the I3C port, I3C target IBI and Hot-Join requests, per-handle reply timeoutFirmware4.7.0+
1.9.02026-10-28Atira target flash from a CMSIS flash algorithm or a .pack, self-powered targetsAtira firmware1.1.0+
1.7.12026-10-22Reliability fixes, faster bulk readsFirmware4.6.2+
1.7.02026-10-01Atira library (libdebugprobe)Firmware4.6.0+ Atira firmware1.0+
1.6.02026-09-29I2C duty cycle, I2C clock stretching and SMBus reset on the I3C portFirmware4.6.0+
1.5.12026-09-24Bulk error reason, target bus events in C, Python and JavaFirmware4.5.1+

Released 2026-11-24.

Firmware4.7.1+ Atira firmware1.2.0+ PyCosmicSDK1.11.0

Carries everything in 1.10.1.

  • 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.
1.10 (removed)1.11What changes
debugReset / DebugProbe_DebugResetdebugResetTarget / DebugProbe_DebugResetTargetNew values: DEBUGPROBE_RESET_TYPE_PIN (1), _SYSTEM (2), _CORE (3). The state carries a 64-bit pc.
debugGetStatedebugGetTargetState64-bit pc.
debugRegRead / debugRegWritedebugRegisterRead / debugRegisterWrite (C: ..._ReadU64 / ..._WriteU64)Register by the id from debugGetTargetInfo. On the built-in backend the id is the DCRSR selector.
debugMemRead / debugMemWritedebugMemoryRead / debugMemoryWrite64-bit address.
debugBreakpointSet / debugBreakpointCleardebugBreakpointAdd / debugBreakpointRemove32-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.

  • An Atira call made before connect() returns SDK_ERROR_DISCONNECT instead of crashing.
  • Atira SPI clock runs at the supported step at or below the request (20 MHz runs at 16 MHz).

Released 2026-11-18.

Firmware4.7.1+ PyCosmicSDK1.10.1

Carries everything in 1.10.0.

  • 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.

Released 2026-11-10.

Firmware4.7.0+ PyCosmicSDK1.10.0

Carries everything in 1.9.0.

  • 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.
  • 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.
  • 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.

Firmware 4.7.0 limitations apply; see Host Adapter 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.

Released 2026-10-28.

Atira firmware1.1.0+

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

  • 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.
  • 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.
  • 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.

Released 2026-10-22.

Firmware4.6.2+ PyCosmicSDK1.7.1

A 1.7.0 program runs against 1.7.1 without a rebuild.

  • 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.
  • 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().
  • 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.

Released 2026-10-01.

Firmware4.6.0+ Atira firmware1.0+

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

  • 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.
  • 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.
  • 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.

Released 2026-09-29.

Firmware4.6.0+ PyCosmicSDK1.6.0

  • 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.

Released 2026-09-24.

Firmware4.5.0+ Firmware4.5.1+ PyCosmicSDK1.5.1

  • 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.
  • 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.
  • 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.

See the full CosmicSDK changelog.