pyswd icon indicating copy to clipboard operation
pyswd copied to clipboard

Python SWD Debugging library for ST-Link/V2

Results 6 pyswd issues
Sort by recently updated
recently updated
newest added

![image](https://github.com/cortexm/pyswd/assets/1329592/27c06851-e5f3-41bc-bea7-c244413ec861) STM32H5 microcontrollers have two different debug access ports, with AP0 being connected only to DBGMCU block. Currently `pyswd` cannot handle these MCUs at all. This PR adds support for...

`CortexM(sdw.Swd()).get_idcode()` gets the Stlinks IDCODE(or some other value from it) rather than the target IDCODE. To get the target IDCODE you must use: `sdw.Swd().get_mem32(0xE0042000)` Consider changing the function name? example...

I have noticed that some stlinkv2 versions do not work as expected I use the following python code: ``` import swd dev = swd.Swd() print(dev.get_version().str) print(dev.get_target_voltage()) print(dev.get_idcode()) cm = swd.CortexM(dev)...

Hello, the [Pipy version](https://pypi.org/project/pyswd) is still stuck at version 1.0.0 which was released 2 years ago. Create another release to make available the [bug fixes](https://github.com/cortexm/pyswd/commit/242a0650738997725c1f9ca4f13fec9abbc6d259#diff-a604669636c2a483ba1b4fa12d1b2d2bb6211bec474a0a64b4701789260d8d20L168) in usb.py as they are...

Hi Pavel, I just installed swd and wrote a small program to start with. But it does not find my ST-Link V3 nor a STM32-Nucleo board. I found issue #15...

https://github.com/cortexm/pyswd/blob/1fc3d8510d9c830db2585c34a6aee8322a2e163b/swd/stlink/__init__.py#L42 on slow commands (for example EEPROM write) it can raise error, although it is not an error, in that cases, just wait until it will be OK

bug