Open Issues Need Help
View All on GitHubPython Library for device debugging/programming via J-Link
Python Library for device debugging/programming via J-Link
Python Library for device debugging/programming via J-Link
AI Summary: The `TestLibrary.test_initialize_windows` unit test is failing specifically on Arch Linux ARM 32-bit. This test is designed to simulate a Windows environment using various mocks, indicating the failure likely arises from an unexpected interaction between the mocking framework and the specific Linux architecture, rather than a direct bug in the Windows-specific code under test.
Python Library for device debugging/programming via J-Link
AI Summary: The task is to fix a bug in the `pylink` library where the `JLink.flash()` method raises the wrong exception (`JLinkEraseException`) when `JLINKARM_EndDownload()` returns an error code. The correct exception type needs to be determined and raised based on the specific error code returned by `JLINKARM_EndDownload()`. This involves examining the error codes (-1, -2, -3, -4) and mapping them to the appropriate exception types within the `pylink` library.
Python Library for device debugging/programming via J-Link