8 years, 2 months ago.  This question has been closed. Reason: Off Topic

J-link debugger setup with FRDM-K64F

Hi,

I get following error when I try to connect to FRDM-K64F from J-link. Any help in this regards please?

SEGGER J-Link GDB Server V5.10j Command Line Version

JLinkARM.dll V5.10j (DLL compiled Feb 2 2016 19:18:08)

-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: off Init regs on start: off Silent mode: off Single run mode: off 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: MK24FN1M0XXX12 Target interface: JTAG Target interface speed: 1000kHz Target endian: little

Connecting to J-Link... J-Link is connected. Firmware: J-Link V9 compiled Feb 2 2016 18:43:46 Hardware: V9.30 S/N: 269307388 OEM: SEGGER-EDU Feature(s): FlashBP, GDB Checking target voltage... Target voltage: 3.31 V Listening on TCP/IP port 2331 Connecting to target...ERROR: Could not connect to target. Target connection failed. GDBServer will be closed...Restoring target state and closing J-Link connection... Shutting down...

Question relating to:

The Freedom-K64F is an ultra-low-cost development platform for Kinetis K64, K63, and K24 MCUs.

did you change anything on the board? mbed interface might interfere with the target. Sometimes I put the mbed interface to bootloader mode to get it working.

posted by Martin Kojtal 10 Feb 2016

Now it works with Mac. the problem was with Ubuntu running on virtual machine. it was not finding Jlink connected to it. Now it works with eclipse installed on mac. Thank you.

posted by Ram Koppu 10 Feb 2016