I am reinstalling System Workbench on a new machine and I am attempting to get the debug tools to work again and I am running into some issues. I am connecting to a STM32F030R8T6 over an ST-LINK firmware V2J27M15.
On my previous machine I used a local config file in my project to connect to the chip. It looked like this:
- This is an preamp_bd board with a single STM32F030R8Tx chip.
- Generated by System Workbench for STM32
set WORKAREASIZE 0x2000
transport select "hla_swd"
- use hardware reset, connect under reset
reset_config srst_only srst_nogate
This script works fine on my old machine. I did need to go into the stm32f0x.cfg and bump the speed down from 1000 khz to 480 khz but this was the only change I needed to make.
On my new machine it does not work. The error I get is from GDB saying:
Failed to execute MI command:
-target-select remote localhost:3333
So I went to look at the console output from openocd and it is so odd, the console is BLANK. Its like openocd never ran?
I dug in a little bit and found that if i modify the debug configuration to not use a configuration file for openocd but rather use Manual spec then I do get console output from openocd but it fails and reports wrong device detected. I am pretty sure I need the custom script here to connect.
Does anyone have any hints for me. Am I correct the openocd is just not running with the local script?
Thanks in advance,