After update openocd is incomplete
Hi Chris,
I just say that if you program code (low power mode or SWD pins used as GPIO in your appli for example), you will need a reset for the stlink to communicate. If the stlink doesn’t reset the mcu, it might not enter SWD mode.
I doubt that stlink utility works with the “connect under reset” mode on these boards without reset connected to the stlink.
Unfortunately, it seems there is also an issue on SW4STM32 latest version (1.14.0) for “use local script” cfg file.
If the cfg is in project workspace, it won’t be executed. That is the case for custom board created during a new project.
The workaround is either to copy the cfg elsewhere or to use the “manual spec” mode for the cfg.
And for the boards that don’t have reset line connected from STlink like yours, you can add the -c “reset_config none” in openocd options in debug config launch (debugger tab).
Rgds,
Laurent