Skip to content

Releases: mbed-ce/cy_serial_bridge

v0.4.1

25 Mar 18:08

Choose a tag to compare


[0.4.1] - 2026-03-25

Fixed

  • Fix DEFAULT_VID and DEFAULT_PID constants no longer being exported from init.py

Release v0.4.0

25 Mar 17:58

Choose a tag to compare


[0.4.0] - 2026-03-25

Added

  • ConfigurationBlock learned some new attributes: uart_type, vbus_is_3v3, is_self_powered
  • CyMfgrIface.change_type() now allows configuring the UART type when modifying a device, rather than always setting it to 6 wire
    • The old behavior was causing bugs in my application due to the flow control pins being used by the serial bridge when they were not connected in HW
  • OpenMode now includes the UART type. The existing OpenMode.UART now sets 2 wire mode, while a new OpenMode.USART constant allows opening it in 4-wire mode

Changed

  • CyScbContext.scan_for_device() no longer needs the open mode as an argument (this was not really being used and didn't make sense)

Release v0.3.2

28 Apr 23:52

Choose a tag to compare


[0.3.2] - 2024-04-28

Fixed

  • Added udev rule for CY7C65211A default PID
  • Fixed scanning/reconfiguring devices in UART_CDC mode with no serial number (warning is printed instead of crashing)
  • Fixed default_frequency missing from ConfigurationBlock string conversion
  • Config block version 2 (observed on CY7C65211A) is now permitted for the driver, and seems to work OK

Release v0.3.1

19 Mar 17:30

Choose a tag to compare


[0.3.1] - 2024-03-19

Fixed

  • Work around tiangolo/typer#463 by explicitly declaring a dependency on Click >=8.0
  • Fix minimum Python version dependency

Release v0.3.0

19 Mar 06:43

Choose a tag to compare


[0.3.0] - 2024-03-18

First (hopefully) stable release!

Added

  • SPI and UART APIs are now documented
  • Added new cy_serial_cli serial-term command which opens a miniterm instance on the SCB device
  • Added new cy_serial_cli spi-transaction command which allows doing SPI transactions from the command line
  • README now contains a section about MacOS usage.

Changed

  • Scanning for and opening devices is now done using a CyScbContext object rather than using global functions. This allows one process to open multiple serial bridge devices.

Fixed

  • Check has been added for the issue that causes changing the type of a UART_CDC device to fail on MacOS. Cannot completely fix the issue but can at least notify the user and ask them to rerun the command with sudo.

Release v0.2.0

03 Mar 23:03

Choose a tag to compare


[0.2.0] - 2024-03-03

I2C and CLI update!

Added

  • I2C API is now documented
  • Added new cy_serial_cli i2c-write and cy_serial_cli i2c-read commands, which allow doing simple I2C transactions directly from the command line

Changed

  • CLI now uses typer instead of argparse. Besides making it look cooler, this improves type safety and adds some much more understandable exception handlers for the CLI.

Release v0.1.0

25 Feb 20:51

Choose a tag to compare


[0.1.0] - 2024-02-25

Initial release.

Added

  • Support for I2C controller, SPI controller, and UART CDC mode via a pure Python driver.
  • Support for changing the VID, PID, and serial number of a device
  • Support for changing the type of a device
  • Device scanning
  • open_device() functiion which automatically changes the type of a device as needed