jeanthom / stlink-tool

Firmware uploader for ST-Link
63 stars 24 forks source link

ST-LinkV2/1 #9

Open UweBonnes opened 5 years ago

UweBonnes commented 5 years ago

Hello Jean,

I patched stlink-tool to use the ST-LinkV2/1 PID -#define STLINK_PID 0x3748 +#define STLINK_PID 0x374b Connected to a fresh connected ST-LinkV2.1 (*) the program reposts USB transfer failure in stlink_read_infos(), however the call seem valid when I compare to what I do in blackmagic/src/platforms/pc-stlinkv2/stlinkv2 to retrieve info. Any idea of what is going wrong?

UweBonnes commented 5 years ago

Stlinkv2 uses EP1 for write.