I'm using SEGGER j-link BASE Compact connected through CN11 on my NUCLEO-G071RB development kit.
I've successfully flashed and debugged my board many times but today flash verification failed and after that I can't connect to it anymore.
A similar problem happened once before on another unit and there I concluded that the flash was write protected through the option bytes and it wasn't possible to unlock it.
I'm afraid the same thing has happened again with this board.
Attached are the logs from JLinkExe in the case when this problem occurred as well as the working case.
After power cycling the board I can't even connect to it:
#########################
$ JLinkExe -device STM32G071RB -if swd -speed 4000 -autoconnect 1
SEGGER J-Link Commander V6.62a (Compiled Jan 31 2020 12:58:00)
DLL version V6.62a, compiled Jan 31 2020 12:57:49
Connecting to J-Link via USB...O.K.
Firmware: J-Link V10 compiled Jan 7 2020 16:51:47
Hardware version: V10.10
S/N: 820101846
License(s): GDB
VTref=3.335V
Device "STM32G071RB" selected.
Connecting to target via SWD
STM32 (connect): Can not attach to CPU. Trying connect under reset.
STM32 (connect): Can not attach to CPU. Trying connect under reset.
****** Error: STM32: Connecting to CPU via connect under reset failed.
STM32 (connect): Can not attach to CPU. Trying connect under reset.
STM32 (connect): Can not attach to CPU. Trying connect under reset.
****** Error: STM32: Connecting to CPU via connect under reset failed.
Cannot connect to target.
#########################
My operating system is Ubuntu 18.04
Thanks in advance!
I've successfully flashed and debugged my board many times but today flash verification failed and after that I can't connect to it anymore.
A similar problem happened once before on another unit and there I concluded that the flash was write protected through the option bytes and it wasn't possible to unlock it.
I'm afraid the same thing has happened again with this board.
Attached are the logs from JLinkExe in the case when this problem occurred as well as the working case.
After power cycling the board I can't even connect to it:
#########################
$ JLinkExe -device STM32G071RB -if swd -speed 4000 -autoconnect 1
SEGGER J-Link Commander V6.62a (Compiled Jan 31 2020 12:58:00)
DLL version V6.62a, compiled Jan 31 2020 12:57:49
Connecting to J-Link via USB...O.K.
Firmware: J-Link V10 compiled Jan 7 2020 16:51:47
Hardware version: V10.10
S/N: 820101846
License(s): GDB
VTref=3.335V
Device "STM32G071RB" selected.
Connecting to target via SWD
STM32 (connect): Can not attach to CPU. Trying connect under reset.
STM32 (connect): Can not attach to CPU. Trying connect under reset.
****** Error: STM32: Connecting to CPU via connect under reset failed.
STM32 (connect): Can not attach to CPU. Trying connect under reset.
STM32 (connect): Can not attach to CPU. Trying connect under reset.
****** Error: STM32: Connecting to CPU via connect under reset failed.
Cannot connect to target.
#########################
My operating system is Ubuntu 18.04
Thanks in advance!