I have opened my S32G Goldbox and connected my SEGGER J-Link, and have created a simple hello world example in S32 Studio, however I don't seem to be able to connect to the J-Link. First of all is it possible to use a SEGGER J-Link with this board and if so, are there any switches that need to be changed on the board?
This is the output:
Command line: -if swd -device Cortex-M7 -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: Cortex-M7
Target interface: SWD
Target interface speed: 1000kHz
Target endian: little
Connecting to J-Link...
J-Link is connected.
Firmware: J-Link V11 compiled May 2 2022 08:59:57
Hardware: V11.00
S/N: 261004119
OEM: SEGGER-EDU
Feature(s): FlashBP, GDB
Checking target voltage...
Target voltage: 3.32 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...
Solved! Go to Solution.
Hi,
As you are implying, there is no support for J-Link (at this moment) for S32G devices.
We do apologize for the inconvenience.
Please, let us know.
ok thanks
Hi,
Could you tell us which board/RTD/IDE are you using?
We don't see any information related to J-Link itself. Also, we don't see any information regarding SWD (it seems you are trying to link to the device through this protocol) in the reference manual. Have you tried using JTAG instead of SWD? To which connector you are connecting your device?
Please, let us know.
The board is the S32G-VNP_GLDBOX and I have opened it and connected my SEGGER J-Link to the 20pin J-Link socket on the board. I have used the S32 Design Studio to create a hello world example for the S32G274A using the first Cortex-M7 device.
If I select JTAG or SWD, it connects correctly to my SEGGER J-Link, but still reports the following:
J-Link GDB Server failed:
Could not connect to target. Please check if target is powered and if ribbon cable is plugged properly.
This is why I was thinking that maybe the SEGGER J-Link is not supported or maybe some switches need to be set. I have searched the web and can't find any information on how to use the J-Link.
Hi,
As you are implying, there is no support for J-Link (at this moment) for S32G devices.
We do apologize for the inconvenience.
Please, let us know.
Hi,
Does Gold box support Lauterbach for debugging A53 and M7? I see there are 2 ports for Jtag 1. SJA1110 JTAG Port and S32G JTAG Port. Please share the details.
Thanks,
Bala