Hello,
I use Keil uVision 5 for STM32F103VE programming. I have JTAG: Segger J-Link Base v9.2, but I can not connect to the microcontroller. Since this is my first project, please help me solve the problem.
These are messages that uVision displays after selected "Start Debug Session":
Load "C:\\ARM\\Cwiczenia\\Agregat_2\\Objects\\agregat_2_test.axf"
Set JLink Project File to "C:\ARM\Cwiczenia\Agregat_2\JLinkSettings.ini"
* JLink Info: Device "STM32F103VE" selected.
JLink info:
------------
DLL: V6.32h, compiled Jul 5 2018 18:11:19
Firmware: J-Link V9 compiled Apr 20 2018 16:47:26
Hardware: V9.20
S/N : 59201744
Feature(s) : GDB
* JLink Info: TotalIRLen = 9, IRPrint = 0x0011
* JLink Info: JTAG chain detection found 2 devices:
* JLink Info: #0 Id: 0x3BA00477, IRLen: 04, CoreSight JTAG-DP
* JLink Info: #1 Id: 0x06414041, IRLen: 05, STM32 Boundary Scan
* JLink Info: STM32 (connect): Can not attach to CPU. Trying connect under reset.
* JLink Info: TotalIRLen = 9, IRPrint = 0x0011
* JLink Info: JTAG chain detection found 2 devices:
* JLink Info: #0 Id: 0x3BA00477, IRLen: 04, CoreSight JTAG-DP
* JLink Info: #1 Id: 0x06414041, IRLen: 05, STM32 Boundary Scan
* JLink Info: TotalIRLen = 9, IRPrint = 0x0011
* JLink Info: JTAG chain detection found 2 devices:
* JLink Info: #0 Id: 0x3BA00477, IRLen: 04, CoreSight JTAG-DP
* JLink Info: #1 Id: 0x06414041, IRLen: 05, STM32 Boundary Scan
* JLink Info: STM32 (connect): Can not attach to CPU. Trying connect under reset.
* JLink Info: TotalIRLen = 9, IRPrint = 0x0011
* JLink Info: JTAG chain detection found 2 devices:
* JLink Info: #0 Id: 0x3BA00477, IRLen: 04, CoreSight JTAG-DP
* JLink Info: #1 Id: 0x06414041, IRLen: 05, STM32 Boundary Scan
***JLink Error: STM32: Connecting to CPU via connect under reset failed.
Error: Flash Download failed - Target DLL has been cancelled
Flash Load finished at 10:08:51
I use Keil uVision 5 for STM32F103VE programming. I have JTAG: Segger J-Link Base v9.2, but I can not connect to the microcontroller. Since this is my first project, please help me solve the problem.
These are messages that uVision displays after selected "Start Debug Session":
Load "C:\\ARM\\Cwiczenia\\Agregat_2\\Objects\\agregat_2_test.axf"
Set JLink Project File to "C:\ARM\Cwiczenia\Agregat_2\JLinkSettings.ini"
* JLink Info: Device "STM32F103VE" selected.
JLink info:
------------
DLL: V6.32h, compiled Jul 5 2018 18:11:19
Firmware: J-Link V9 compiled Apr 20 2018 16:47:26
Hardware: V9.20
S/N : 59201744
Feature(s) : GDB
* JLink Info: TotalIRLen = 9, IRPrint = 0x0011
* JLink Info: JTAG chain detection found 2 devices:
* JLink Info: #0 Id: 0x3BA00477, IRLen: 04, CoreSight JTAG-DP
* JLink Info: #1 Id: 0x06414041, IRLen: 05, STM32 Boundary Scan
* JLink Info: STM32 (connect): Can not attach to CPU. Trying connect under reset.
* JLink Info: TotalIRLen = 9, IRPrint = 0x0011
* JLink Info: JTAG chain detection found 2 devices:
* JLink Info: #0 Id: 0x3BA00477, IRLen: 04, CoreSight JTAG-DP
* JLink Info: #1 Id: 0x06414041, IRLen: 05, STM32 Boundary Scan
* JLink Info: TotalIRLen = 9, IRPrint = 0x0011
* JLink Info: JTAG chain detection found 2 devices:
* JLink Info: #0 Id: 0x3BA00477, IRLen: 04, CoreSight JTAG-DP
* JLink Info: #1 Id: 0x06414041, IRLen: 05, STM32 Boundary Scan
* JLink Info: STM32 (connect): Can not attach to CPU. Trying connect under reset.
* JLink Info: TotalIRLen = 9, IRPrint = 0x0011
* JLink Info: JTAG chain detection found 2 devices:
* JLink Info: #0 Id: 0x3BA00477, IRLen: 04, CoreSight JTAG-DP
* JLink Info: #1 Id: 0x06414041, IRLen: 05, STM32 Boundary Scan
***JLink Error: STM32: Connecting to CPU via connect under reset failed.
Error: Flash Download failed - Target DLL has been cancelled
Flash Load finished at 10:08:51