Python Library for device debugging/programming via J-Link

arm debugging firmware
1 Open Issue Need Help Last updated: Jul 24, 2025

Open Issues Need Help

View All on GitHub

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.

Complexity: 3/5
bug help wanted good first issue beginner

Python Library for device debugging/programming via J-Link

Python
#arm#debugging#firmware