How to use JLink with STM32CubeIDE v1.3.0
Hi, I saw the release document of STM32CubeIDE v1.3.0 that says supported use the JLink debugger. So I try to use JLink with STM32CubeIDE v1.3.0 on my pc (the os is Debian 9 ). But I saw the console has some error. It's shows cann't detect the MPU core. Below is the debug message
SEGGER J-Link GDB Server V6.62 Command Line Version
JLinkARM.dll V6.62 (DLL compiled Jan 24 2020 16:34:42)
Command line: -port 2331 -s -device STM32MP157CACx -endian little -speed 4000 -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: yes
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: STM32MP157CACx
Target interface: JTAG
Target interface speed: 4000kHz
Target endian: little
Connecting to J-Link...
J-Link is connected.
Failed to set device (STM32MP157CACx). Unknown device selected?ERROR : Failed to set device.
Firmware: J-Link V9 compiled Dec 13 2019 11:14:50
Hardware: V9.60
S/N: 55623165
Feature(s): GDB, RDI, FlashBP, FlashDL, JFlash, RDDI
Checking target voltage...
Target voltage: 3.39 V
Listening on TCP/IP port 2331
Connecting to target...
ERROR: No CPU core or target device has been selected. Please make sure at least the core J-Link shall connect to, is selected.
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.