Hoping someone could assist with a problem I'm having. I recently purchased a J-link Ultra+ to replace the ST-LINK V2 I am using for a project. I am using True Studio.
I am connecting to the target CPU (STM32F746) via SWD, and I've been able to connect and program/debug the chip just fine using the ST-LINK programmer. However I cannot connect using the J-link device. I get the following output:
Display All
Could someone assist in working out what's different between the two?
Thanks!
I am connecting to the target CPU (STM32F746) via SWD, and I've been able to connect and program/debug the chip just fine using the ST-LINK programmer. However I cannot connect using the J-link device. I get the following output:
Source Code
- SEGGER J-Link GDB Server V6.22b Command Line Version
- JLinkARM.dll V6.22b (DLL compiled Dec 6 2017 17:02:06)
- Command line: -port 2331 -s -CPU Cortex-M -device STM32F746VG -endian little -speed 4000 -if swd -vd -rtos C:\Program Files (x86)\Atollic\TrueSTUDIO for ARM 8.0.0\Servers\J-Link_gdbserver\GDBServer\RTOSPlugin_FreeRTOS.dll -swoport 2332
- -----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: STM32F746VG
- Target interface: SWD
- Target interface speed: 4000kHz
- Target endian: little
- Connecting to J-Link...
- J-Link is connected.
- Firmware: J-Link Ultra V4 compiled Nov 28 2017 11:47:50
- Hardware: V4.00
- S/N: 504403398
- Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
- Checking target voltage...
- Target voltage: 3.31 V
- Listening on TCP/IP port 2331
- Connecting to target...ERROR: STM32: Connecting to CPU via connect under reset failed.
Could someone assist in working out what's different between the two?
Thanks!