Skip to content

Releases: square/pylink

Release v2.0.0

02 Sep 16:37
Compare
Choose a tag to compare

Changed

  • Python 2 is no longer supported.
  • @concatime: File paths are now encoded using os.fsencode() to support UTF-8 file paths.

Release v1.7.0

28 Aug 15:55
Compare
Choose a tag to compare

Added

  • @hkpeprah: Added JTAG APIs:
    • jtag_store_instruction - To send an instruction to the JTAG device.
    • jtag_store_data - To send data to the JTAG device (TDO).
    • jtag_get_device_info - To get information about a JTAG device on the scan chain.
    • jtag_read / jtag_read{8,16,32} - To read data from a JTAG device (from the input buffer / TDI).
    • jtag_sync_bits / jtag_sync_bytes - To force a flush of the output buffer.

Changed

  • @hkpeprah: CPU is not un-conditionally halted when trying to flash the target.
  • @mtnpke: Detailed log handler logs now strip extra trailing whitespace.

Fixed

  • @hkpeprah: Fixed a bug where .flash() raised a JLinkEraseException, now raises a
    JLinkFlashException() as expected.
  • @omrisarig13: Fixed broken links in README.md.

Release v1.6.0

05 Apr 16:03
Compare
Choose a tag to compare

Added

  • @tianxiaoMCU: Added APIs to write to the peripheral register of the connected
    target:
    • peripheral_write8()
    • peripheral_write16()
    • peripheral_write32()
    • peripheral_write64()

Release v1.5.1

29 Mar 02:30
Compare
Choose a tag to compare

Fixed

  • @karl-rainlabs: Fixed incorrect decorator around JTAG APIs. Previously, the APIs required a connection, but now can be used prior to connection.

Release v1.5.0

07 Mar 19:43
Compare
Choose a tag to compare

Changed

  • @bbrown1867: Temporary library copying is now determined dynamically based on the version of the SDK in use. Previously, the default behaviour would always copy the library, which would fail if custom devices and functions were in use via XML files in the same directory as the SDK.

Release v1.4.0

02 Jan 19:39
Compare
Choose a tag to compare

Added

Release v1.3.0

04 Sep 17:16
Compare
Choose a tag to compare

Added

  • @gtowers-dukosi: Added API method set_script_file() to specify a Script
    File to be loaded.

Release v1.2.1

12 Jul 17:53
Compare
Choose a tag to compare

Fixed

  • @FletcherD: Fixed a bug in load_library() on Linux where a 32-bit library
    was being incorrectly loaded on ARM64-based Linux machines.

Changed

  • @frogamic: Unit tests are now compatible with Python 3.12.

Release v1.2.0

28 Jul 16:04
Compare
Choose a tag to compare

Changed

  • @cpattenden-sq: Fixed bug in flash() where return value was being checked against a void function; would lead to exceptions being raised unexpectedly.

Release v1.1.0

09 May 15:59
Compare
Choose a tag to compare

Added

  • @chanqueo: Added use_tmpcpy field to constructor for JLink and Library instances to workaround temporary files not been cleaned up; a future patch will change the default behaviour based on the version of the SDK. By default, temporary files are used for the SDK binary.

Changed

  • @CurtisHx: Changed decorator on set_reset_strategy() from @connection_required to @open_required.

Removed