Skip to content

STLink upload does not work with STLink clones #168

@kiranshila

Description

@kiranshila

Alright so me and @coyt have tried this and verified the problem. We both are using ST-Link V2 clones from Amazon and haven't had success uploading. We get errors that end in some variation of
Error: timed out while waiting for target halted

We have uploaded binaries using the official STM32CubeProgrammer utility with the fake device successfully.

We have tried editing the stlink.cfg in the OpenOCD scripts folder to account for the different PID/VID pair, but we get the same error.

I just got an official STLink V2-1 in the mail today and it works fine from PIO.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions