pystlink icon indicating copy to clipboard operation
pystlink copied to clipboard

Python tool for flashing and debugging STM32 devices using ST-LINK/V2

Results 16 pystlink issues
Sort by recently updated
recently updated
newest added

Hi, I have added the following lines in the DEVICES array in stm32devices.py under 'part_no': 0xc60 for the STM32G0B1RET6 support and it seems that it is working for me. I...

As title,when I use flash erase command on STM32H745, it deosn't work as all

i got *** Operation timeout *** error after execute this command my MCU is STM32L073RZ ? PS D:\Projects\vantage-robotics\PC_App\utils\pystlink> python pystlink.py flash:verify:bin.bin DEVICE: ST-Link/V2-1 V2J37M27 SUPPLY: 2.07V CORE: CortexM0+ MCU: STM32L071xZ/STM32L072xZ/STM32L073xZ/STM32L081xZ/STM32L082xZ/STM32L083xZ...

STM32G0x devices are missed

I think I am missing something obvious. My ST-Link/V2-1 can be detected by the ST-Link Utility. What are the possible reasons I am having this issue?

running on stm32l151zDT6: sudo python3 pystlink.py -d returns: Connected to ST-Link/ V2, serial 38ff6a064d43323542092243 USB > f1 80 00 00 00 00 00 00 00 00 00 00 00 00...

I am making a connection with python using pyserial with a UART port. As I send the command using serial.write my output is received but my serial port does not...

I add a 100ms delay before unlock the flash,and try to unlock the flash again between eraseing and flashing.After that,it work well.

@UweBonnes make great work, but now I see that his patch don't work with STM32F0 (I don't make tests with other FP MCUs before merging) Currently is the code reverted...

Traceback (most recent call last): File "pystlink.py", line 4, in import lib.stlinkusb File "/home/zaidshakil/TU Berlin/Robotics/pystlink/lib/stlinkusb.py", line 1, in import usb.core ImportError: No module named 'usb' i keep getting this error,...