CTXz / stm32f1-picopwner

Dump read-out protected STM32F1's with a Pi Pico - A Pi Pico implementation of @JohannesObermaier's, Marc Schink's and Kosma Moczek's Glitch and FPB attack to bypass RDP (read-out protection) level 1 on STM32F1 chips
166 stars 23 forks source link

OpenOCD version detection problem #30

Closed manter84 closed 3 months ago

manter84 commented 3 months ago

Hello. I have problem with OpenCD version detection : My version OpenCD: Open On-Chip Debugger 0.12.0+dev-00559-g04154af5d (2024-04-14-21:15) Licensed under GNU GPL v2 For bug reports, read http://openocd.org/doc/doxygen/bugs.html

But when i start dump.py i have error: Traceback (most recent call last): File "dump.py", line 356, in if not openocd_version_geq(MIN_OPENOCD_VERSION): File "dump.py", line 179, in openocd_version_geq current = get_openocd_version() File "dump.py", line 161, in get_openocd_version result = subprocess.run(["openocd", "-v"], capture_output=True, text=True) File "/usr/lib/python3.6/subprocess.py", line 423, in run with Popen(*popenargs, **kwargs) as process: TypeError: init() got an unexpected keyword argument 'capture_output'

How i can fix it?