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
Hello Matthew,
Is it your own custom board?
If so, could you check the SWD connections?
32-bit Automotive General Purpose MCUs | NXP
Have you tried the probe with other S32K1xx boards?
If this is an EVB board, can you tried with OpenSDA?
Thanks,
BR, Daniel
Hello Daniel,
It turns out there's a problem on connection between JLink and target board.
Thanks anyway.
Matthew Xu