S32K148 connection problem via JLink

cancel
Showing results for 
Search instead for 
Did you mean: 

S32K148 connection problem via JLink

925 Views
xu_wenming
Contributor II

Hello,

CONNECTION LOG

SEGGER J-Link Commander V6.64 (Compiled Mar 13 2020 15:56:13)
DLL version V6.64, compiled Mar 13 2020 15:55:42

Connecting to J-Link via USB...O.K.
Firmware: J-Link V10 compiled Jan 7 2020 16:51:47
Hardware version: V10.10
S/N: 600110430
License(s): RDI, FlashBP, FlashDL, JFlash, GDB
VTref=4.384V


Type "connect" to establish a target connection, '?' for help
J-Link>connect
Please specify device / core. <Default>: S32K148
Type '?' for selection dialog
Device>
Please specify target interface:
J) JTAG (Default)
S) SWD
T) cJTAG
TIF>S
Specify target interface speed [kHz]. <Default>: 4000 kHz
Speed>
Device "S32K148" selected.


Connecting to target via SWD
InitTarget() start
InitTarget()
Connect Under Reset
Communication error while accessing MDM-AP.
Connect Under Reset
InitTarget() end
InitTarget() start
InitTarget()
Connect Under Reset
Communication error while accessing MDM-AP.
Connect Under Reset
InitTarget() end
InitTarget() start
InitTarget()
Connect Under Reset
Communication error while accessing MDM-AP.
Connect Under Reset
InitTarget() end
InitTarget() start
InitTarget()
Connect Under Reset
Communication error while accessing MDM-AP.
Connect Under Reset
InitTarget() end
Cannot connect to target.

I successfully connected twice to same target board with same JLink, but most of times, it's failed. 

Please help me out. 

Best regards,

Matthew Xu

Tags (4)
0 Kudos
2 Replies

801 Views
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Matthew,

Is it your own custom board? 

If so, could you check the SWD connections?

32-bit Automotive General Purpose MCUs | NXP 

pastedImage_5.png

Have you tried the probe with other S32K1xx boards?

If this is an EVB board, can you tried with OpenSDA?

Thanks,

BR, Daniel 

0 Kudos

801 Views
xu_wenming
Contributor II

Hello Daniel,

It turns out there's a problem on connection between JLink and target board. 

Thanks anyway. 

Matthew Xu

0 Kudos