Thank you muchly.
One big point is I didn't realise I could install from local archives.
As per article I did look at upgrading the ST-Link V2 to the Segger
firmware but on further investigation that's not possible, only on the
Discovery boards.
Indeed if I try as per:
https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/
I get:
Identifying ST-LINK variant...ERROR: Unsupported ST-LINK hardware variant
However I did upgrade the ST-Link V2 firmware to V2.J28.S7 and using the
driver 2.0.0
I can build fine, using a 'New' test example of 'Blinky'.
However, despite making sure OpenOCD is in the correct path, I get a
time-out when trying to debug after:
Debug: 368 313 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_mflash init
Debug: 369 313 command.c:143 script_debug(): command - ocd_mflash
ocd_mflash init
Debug: 371 313 mflash.c:1377 handle_mflash_init_command(): Initializing
mflash devices...
Debug: 372 313 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_nand init
Debug: 373 313 command.c:143 script_debug(): command - ocd_nand ocd_nand
init
Debug: 375 313 tcl.c:497 handle_nand_init_command(): Initializing NAND
devices...
Debug: 376 313 command.c:143 script_debug(): command - ocd_command
ocd_command type ocd_pld init
Debug: 377 313 command.c:143 script_debug(): command - ocd_pld ocd_pld init
Debug: 379 334 pld.c:205 handle_pld_init_command(): Initializing PLDs...
Info : 380 334 server.c:312 add_service(): Listening on port 3333 for
gdb connections
I'm using
-f interface/stlink-v2.cfg -f target/stm32f1x.cfg -d3 -l openocd.log
in the config options.
It seems to listen but gets nothing, yet the ARM tools including
arm-none-eabi-gdb.exe are in the right path or the project wouldn't build.