DS32 JLink debug fail

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

DS32 JLink debug fail

119 Views
jerry_chen_1984
Contributor I

My PCB  is  FRDM-S32K144

I download the install S32 Design Studio for ARM Version 2.2.

Create new project and use jlink port to debug.

But fail, Please help to fix this case.

Fail information is :

   

SEGGER J-Link GDB Server V7.96m Command Line Version

JLinkARM.dll V7.96m (DLL compiled Jun 19 2024 16:43:01)

Command line: -if swd -device s32k144 -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: s32k144
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 V11 compiled May 28 2024 15:36:02
Hardware: V11.00
S/N: 601012352
Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
Checking target voltage...
Target voltage: 3.26 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...
Could not connect to target.
Please check power, connection and settings.

     

0 Kudos
Reply
1 Reply

94 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi jerry,

Did you successfully download the program before?
Actually, the S32K144EVB has an OpenSDA debugger on board, so you can download the program without an external J-Link. The onboard OpenSDA can also be changed to J-Link.
Are you using the external 12V power supply of J16 (J107 1-2) or the USB cable power supply of J7 (J107 2-3)?

Please refer to the discussion here: S32K144 D2 RED LED is ON always


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "Mark Correct" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.
-------------------------------------------------------------------------------

0 Kudos
Reply