cancel
Showing results for 
Search instead for 
Did you mean: 

Debug error

hbowe
Associate II

SEGGER J-Link GDB Server V6.44c Command Line Version

JLinkARM.dll V6.44c (DLL compiled Mar 22 2019 17:26:40)

Command line: -port 2331 -s -device STM32F042F4 -endian little -speed 1000 -vd

-----GDB Server start settings-----

GDBInit file:         none

GDB Server Listening port:   2331

SWO raw output listening port: 2332

Terminal I/O port:       2333

Accept remote connection:   localhost only

Generate logfile:       off

Verify download:        on

Init regs on start:      off

Silent mode:          off

Single run mode:        on

Target connection timeout:   0 ms

------J-Link related settings------

J-Link Host interface:     USB

J-Link script:         none

J-Link settings file:     none

------Target related settings------

Target device:         STM32F042F4

Target interface:       JTAG

Target interface speed:    1000kHz

Target endian:         little

Connecting to J-Link...

J-Link is connected.

Firmware: J-Link ARM V8 compiled Nov 28 2014 13:44:46

Hardware: V8.00

Feature(s): RDI,FlashDL,FlashBP,JFlash,GDB

Checking target voltage...

Target voltage: 3.29 V

Listening on TCP/IP port 2331

Connecting to target...ERROR: STM32: Connecting to CPU via connect under reset failed.

ERROR: Could not connect to target.

Target connection failed. GDBServer will be closed...Restoring target state and closing J-Link connection...

Shutting down...

Could not connect to target.

Please check power, connection and settings.0690X000009YxB7QAK.jpg

"F042"-my testing project:| . Everything is right with Keil:o

1 REPLY 1
hbowe
Associate II

I had solved this stupid problem.:|