2019-01-20 08:49 AM
environment: Nucleo-G071RB, sw4stm32
when I click "Run", the following dialog shows up
-------------------
Error "OpenOCD child process termination" happens
Reason: wrong device detected, check the board connected.
-------------------
console is here
-------------------
Open On-Chip Debugger 0.10.0-dev-00015-gaaf1808 (2018-11-13-12:57)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
srst_only separate srst_nogate srst_open_drain connect_assert_srst
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 240 kHz
adapter_nsrst_delay: 100
Info : clock speed 240 kHz
Info : STLINK v2.1 JTAG v31 API v2 M21 VID 0x0483 PID 0x374B
Info : using stlink api v2
Info : Target voltage: 3.247800
Info : Stlink adapter speed set to 240 kHz
Info : STM32L053R8Tx.cpu: hardware has 4 breakpoints, 2 watchpoints
Info : Stlink adapter speed set to 240 kHz
adapter speed: 240 kHz
target halted due to debug-request, current mode: Thread
xPSR: 0xf1000000 pc: 0x08003bf8 msp: 0x20000890
STM32L0: Enabling HSI16
Info : Stlink adapter speed set to 4000 kHz
adapter speed: 4000 kHz
** Programming Started **
auto erase enabled
Warn : Cannot identify target as a STM32L family.
Error: auto_probe failed
** Programming Failed **
shutdown command invoked
-------------------
it is confusing that even though I use STMG071RB, the OpenOCD targets STM32L family. Please advise.
Thanks!
2019-01-20 11:33 AM