Releases: square/pylink
Releases · square/pylink
Release v2.0.0
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
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 aJLinkEraseException
, now raises a
JLinkFlashException()
as expected. - @omrisarig13: Fixed broken links in
README.md
.
Release v1.6.0
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
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
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
Added
- @hkpeprah: Added Power Trace APIs.
Release v1.3.0
Added
- @gtowers-dukosi: Added API method
set_script_file()
to specify a Script
File to be loaded.
Release v1.2.1
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
Changed
- @cpattenden-sq: Fixed bug in
flash()
where return value was being checked against avoid
function; would lead to exceptions being raised unexpectedly.
Release v1.1.0
Added
- @chanqueo: Added
use_tmpcpy
field to constructor forJLink
andLibrary
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
- @avi-jois: Removed dependency on
future
.