pavelrevak / pystlink

Python tool for flashing and debugging STM32 devices using ST-LINK/V2
MIT License
218 stars 59 forks source link

Issue running flash #24

Closed skorber closed 3 years ago

skorber commented 3 years ago

I am getting this error:

Parameter error: 'NoneType' object has no attribute 'bInterfaceNumber'

I am just running:

python3 pystlink.py flash:erase flash:verify:0x08000000:/home/automation/Downloads/ss2_firmware.bin

Note: I tried running via sudo and still same issue. I am running on Ubuntu 18.04.

skorber commented 3 years ago

Upgraded to Python 3.8 solved it