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.
| 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 | Firmware4.7.1+ Atira firmware1.2.0+ |
| 1.10.1 | 2026-11-18 | I3C vendor CCC writes up to 1024 bytes, Pending Read notification | Firmware4.7.1+ |
| 1.10.0 | 2026-11-10 | SMBus on the I3C port, I3C target IBI and Hot-Join requests, per-handle reply timeout | Firmware4.7.0+ |
| 1.9.0 | 2026-10-28 | Atira target flash from a CMSIS flash algorithm or a .pack, self-powered targets | Atira firmware1.1.0+ |
| 1.7.1 | 2026-10-22 | Reliability fixes, faster bulk reads | Firmware4.6.2+ |
| 1.7.0 | 2026-10-01 | Atira library (libdebugprobe) | Firmware4.6.0+ Atira firmware1.0+ |
| 1.6.0 | 2026-09-29 | I2C duty cycle, I2C clock stretching and SMBus reset on the I3C port | Firmware4.6.0+ |
| 1.5.1 | 2026-09-24 | Bulk error reason, target bus events in C, Python and Java | Firmware4.5.1+ |
1.11.0
Section titled “1.11.0”Released 2026-11-24.
Firmware4.7.1+ Atira firmware1.2.0+ PyCosmicSDK1.11.0
Carries everything in 1.10.1.
Highlights
Section titled “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.getDebugBackendInforeports the backend and its capabilities, andgetLastBackendErrorthe 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 codesDEBUGPROBE_BACKEND_*cover0x1E20to0x1E25. - On pyOCD and probe-rs,
targetFlashWriteuses the tool’s own flash algorithm. The.FLMcalls (targetFlashLoadAlgorithm,targetFlashLoadPackDevice, erase, program, verify) returnDEBUGPROBE_BACKEND_UNSUPPORTEDthere. - No mass erase at connect. pyOCD does not unlock or mass-erase a locked part, and
extraArgsthat 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 returnsDEBUGPROBE_DEBUG_SEQUENCE(0x1E0E). - Architecture-neutral debug calls: registers by the id
debugGetTargetInfolists, 64-bit addresses,debugResetTarget(DebugResetType)and breakpoints by id. They replace the 1.10 debug calls.
Behavior Changes
Section titled “Behavior Changes”| 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.
- An Atira call made before
connect()returnsSDK_ERROR_DISCONNECTinstead of crashing.
Known Limitations
Section titled “Known Limitations”- Atira SPI clock runs at the supported step at or below the request (20 MHz runs at 16 MHz).
1.10.1
Section titled “1.10.1”Released 2026-11-18.
Firmware4.7.1+ PyCosmicSDK1.10.1
Carries everything in 1.10.0.
Highlights
Section titled “Highlights”- I3C vendor CCC WRITE up to 1024 bytes.
i3cVendorCccWrite(C:CosmicSDK_I3cVendorCccWrite()) sends vendor CCCs0x61to0x7F(broadcast) and0xE0to0xFE(direct), past the 255-byte limit ofi3cCccTransfer. On firmware older than 4.7.1 it returnsSDK_ERROR_WRONG_REQUESTand nothing is sent. Python, Java and C# wrap it. - Pending Read notification.
NOTIF_I3C_PENDING_READwithNotification::i3cPendingRead()reports the firmware’s automatic read on a Pending Read IBI: target address, result and data. Enabled per target withpendingReadCapability, off by default. A0x061Aresult is a normal short read ended by the target. Needs firmware 4.7.0.
1.10.0
Section titled “1.10.0”Released 2026-11-10.
Firmware4.7.0+ PyCosmicSDK1.10.0
Carries everything in 1.9.0.
Highlights
Section titled “Highlights”- SMBus on the I3C port.
i3cSmbusBlockWrite,i3cSmbusBlockReadandi3cSmbusQuickCommand(C:CosmicSDK_I3cSmbus*).pecandmaxCountare required, and every transfer ends with STOP. A bad PEC returnsSDK_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 codes0x061Cto0x0621. - SMBus writes as an I3C target, for MCTP over SMBus. While
i3cTargetSetSmbusWritesis on,i3cLegacyI2cWritesent 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,i3cTargetInitandi3cTargetSetParametersreturnSDK_ERROR_WRONG_REQUESTfor this layout. - Any CCC from the blocking and C APIs.
i3cCccTransferandCosmicSDK_I3cCccTransfersend 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 returnsSDK_ERROR_WRONG_REQUESTand 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.-1waits 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:
debugAttachtakes 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, afterallowFastBauds(true).spiFlashReadFast()reads flash 16 KiB per USB transfer.
Behavior Changes
Section titled “Behavior Changes”- A SUCCESS reply shorter than the length it declares returns
SDK_ERROR_WRONG_RESPONSEinstead of a shorter result. Affectsi3cSdrRead,i3cHdrDdrRead,i3cLegacyI2cRead,spiTransferand 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
SerialPortlayout changed). C, Python, C# and Java are not affected.
i2cScanBusinto a stuck bus returns the firmware’sFW_I2C_TIMEOUT_CONTINUE_TRANSFERinstead 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
payloadLength0. - 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,i3cCccDISECBroadcastandi3cCccRSTACTBroadcastsend the same frame as the blocking API. - C#: the I2C, SPI and I3C target event handlers fire without an
OnNotificationhandler. - Atira: an Atira in bootloader mode is skipped when listing and opening devices.
- Atira: a target HardFault inside
callFunctionreturnsDEBUGPROBE_DEBUG_CALL_FAULTED(0x1E0B) instead of a timeout.
Known Limitations
Section titled “Known Limitations”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.
Highlights
Section titled “Highlights”- Atira target flash.
DebugProbeprograms 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,targetFlashVerifyand report calls; the C API mirrors them asDebugProbe_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.targetFlashListPackDeviceslists a pack’s devices and variants;targetFlashLoadPackDeviceloads 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 returnsDEBUGPROBE_TFLASH_PACK_NEEDS_CONFIRM. - Self-powered targets (Atira firmware 1.1).
getSignalVoltageCheckcompares the signal level with the target’s own supply on pin 1, andsignalVoltageUseExternalsets the signal level to that supply.FW_PIN1_OVERVOLTAGE(0x1F03) is new. - New result codes
0x1D01to0x1D0Efor target flash. - Measured: 128 KiB write and verify on an STM32H503RB, 10/10, about 11.5 s.
Behavior Changes
Section titled “Behavior Changes”FW_VOLTAGE_OUT_OF_RANGE,FW_EXTERNAL_VOLTAGE_DETECTEDandFW_PIN1_OVERVOLTAGEcome back by name instead ofSDK_ERROR_UNEXPECTED_RESPONSE.FW_RESOURCE_BUSYfromsetTargetPowerEnabled(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
Section titled “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.
Released 2026-10-22.
Firmware4.6.2+ PyCosmicSDK1.7.1
A 1.7.0 program runs against 1.7.1 without a rebuild.
Highlights
Section titled “Highlights”- Atira
connectCode()(C:DebugProbe_ConnectCode()) says why a connect failed: nothing opened, device info unreadable, orDEBUGPROBE_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
Section titled “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()andopen().
- 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.
Highlights
Section titled “Highlights”- Binho Atira support.
libdebugprobe(debugprobe.dllon Windows) installs besidelibcosmicsdk, with the C++ classdebugprobe::DebugProbe, the asyncDebugProbeAsyncand 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()andenterBootMode(). - Every Atira call returns a CosmicSDK
uint16_tresult code. New codes:FW_RESOURCE_BUSY(0x000E),FW_SWD_HOST_SESSION_ACTIVE(0x1F01) andFW_TEARDOWN_PENDING(0x1F02). - A process can link both
libcosmicsdkandlibdebugprobe. - Measured: 1 MiB SPI flash program over bulk at 100 KB/s, 4.6 times the HID path.
Behavior Changes
Section titled “Behavior Changes”connect()returns an error for Atira firmware older than 1.0.- The Linux udev rule adds the Atira (
1fc9:8347). Re-runscripts/install_udev_rules.shafter updating. - C++ code that constructs
CosmicDriver,UsbTransferProtocolorCommunicationManagerdirectly must be rebuilt. Code that usesCosmicSDK,CosmicAsyncSDKor the C API is not affected.
Known Limitations
Section titled “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.
Released 2026-09-29.
Firmware4.6.0+ PyCosmicSDK1.6.0
Highlights
Section titled “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.
Released 2026-09-24.
Firmware4.5.0+ Firmware4.5.1+ PyCosmicSDK1.5.1
Highlights
Section titled “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
Section titled “Behavior Changes”CosmicSDK_GetBulkCapabilities()returnsSDK_ERROR_TIMEOUTwhen the device never answered, andSUCCESSonly when it did. Firmware that predates the query reportsSDK_ERROR_TIMEOUT.- Java’s
Notificationrecord 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
CosmicSDKobject no longer risks a crash.
1.5.0 and Earlier
Section titled “1.5.0 and Earlier”See the full CosmicSDK changelog.

