pavelrevak / pystlink

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

Would it be possible to extend this program to access STM8's? #10

Open AokiAhishatsu opened 6 years ago

AokiAhishatsu commented 6 years ago

Im getting this (first time): *** USB Error: [Errno 32] Pipe error *** and then this (every next time) *** USB Error: [Errno 110] Operation timed out ***

I really don't know where to start

markfink commented 5 years ago

same here. I updated the stlink programmer firmware... flashing stm8s is not supported (below)? can I talk to stm8s via SWIM?

$ ../pystlink/pystlink -v -c STM8S103F3 flash:erase:verify:0x08000000:./blink_led.ihx 
Successfully connected to ST-Link/V2
DEVICE: ST-Link/V2 V2J32S7
SUPPLY: 3.23V
COREID: 00000042
*** Not connected to CPU ***
DONE in 0.03s
AokiAhishatsu commented 5 years ago

I used this. Worked fine.

markfink commented 5 years ago

thanks @AokiAhishatsu I have seen that but I am looking for a python package