Loading...
 
Skip to main content

System Workbench for STM32


Unable to set adapter speed

Hi,
On these STLink, i suppose there is no reset line or you didn't connect it.

Without reset, you can change the reset config in debug launch config to "software system reset" and it can work.
But if you use low power modes or SWD pins as GPIO, without reset connected to the stlink, you won't be able to connect to the target.

Rgds,
Laurent

Hi Laurent,
You're right, i'm trying to flash without reset line.

Finally, i have beaten my problem. That error occured due to bad st-link configuration.
I clicked "User Defined" configuration script in run config and manually changed it following way:

set CLOCK_FREQ 1800
reset_config none


I know it's trick to manually change config file, but It's works fine.
Thanks.

Best regards,
Alex

You could have done the same choosing "Software system reset" in reset mode combo.
This generates the "reset_config none" config.

I have checked it. It works great.
Thanks.