SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By repyct
#165651
Hi,
I'm currently working with a STM320518-Eval-Board. It has a STM32F0 MCU and buil-in STlink. Connecting through OpenOCD0.7 and STlink is
straight forward and working. The config I am using is listed below.
Code: Select all
#stlinkV2.cfg in source tree
#daemon configuration
 telnet_port 4444
 gdb_port 3333

source [find interface/stlink-v2.cfg]
source [find target/stm32f0x_stlink.cfg]
But when trying to connect the board through a Segger Jlink, I am a bit confused as there is no "target/stm32f0x.cfg" I'd like to use.
Code: Select all
#JLink.cfg in source tree
#daemon configuration
 telnet_port 4444
 gdb_port 3333

source [find interface/jlink.cfg]
source [find target/stm32f0x.cfg]  ## file stm32f0x.cfg not available in openocd target folder 
For other STM32 series, there is e.g. "target/stm32f1x.cfg" and "target/stm32f1x_stlink.cfg". I bought the Jlink for debugging custom made STM32F0 boards,
but now this device seems useless with STM32F0 devices.

Can someone please help me getting this working?