Could not connect to target S32K311.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Could not connect to target S32K311.

695 Views
Niukk
Contributor I

I have encountered a difficult problem that I can't connect with custom board via Jlink.

Error Info as below.

JLinkARM.dll V7.92o (DLL compiled Nov 8 2023 15:46:12)

Command line: -if swd -device S32K311 -endian little -speed 1000 -port 2331 -swoport 2332 -telnetport 2333 -vd -ir -localhostonly 1 -singlerun -strict -timeout 0 -nogui
-----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: on
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: S32K311
Target device parameters: none
Target interface: SWD
Target interface speed: 1000kHz
Target endian: little

Connecting to J-Link...
J-Link is connected.
Firmware: J-Link V9 compiled May 7 2021 16:26:12
Hardware: V9.60
S/N: 69611937
Feature(s): GDB, RDI, FlashBP, FlashDL, JFlash
Checking target voltage...
Target voltage: 3.29 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...

 

Can you have some idea about the problem?

#S32K311

0 Kudos
Reply
2 Replies

676 Views
petervlna
NXP TechSupport
NXP TechSupport

Hello,

were you able to connect to this board before? Or you are trying to bring it alive for fist time?

Did you follow the HW design guide while the custom board was made?

Did anyone from NXP did HW review of your board?

Best regards,

Peter

0 Kudos
Reply

672 Views
Niukk
Contributor I

Of course I can connect to the board before error happens.I deleted the Port->PortConfigSet->UntouchedPortPin by mistake as be below.I guess that the SWD interface was disabled.

0 Kudos
Reply