This summary records my process of using J-LINK Plus in S32 Design Studio for S32 Platform, hoping to help people who use the same tool.
1.Download the latest package: https://www.segger.com/downloads/jlink/
2.Install the downloaded package and some note will show like this.
3.Open J-Link GDB Server V7.8 , if you current firmware version is too low, you will be prompted to upgrade to the latest firmware version.
At this point ,if you use the default configuration to debug the application, the following error will appear.
Modified the "Debug configurations" for S32 Design Studio platform V3.4
Change the highlighted part to the path below.
C:\Program Files (x86)\SEGGER\JLink\JLinkGDBServerCL.exe
C:\NXP\S32DS.3.4\S32DS\tools\gdb-arm\arm32-eabi\bin\arm-none-eabi-gdb.exe
Modified the "Debug configurations" for S32 Design Studio platform V3.5
Change the highlight part to the path below.
C:\Program Files (x86)\SEGGER\JLink\JLinkGDBServerCL.exe
C:\NXP\S32DS.3.5\S32DS\tools\gdb-arm\arm32-eabi\bin\arm-none-eabi-gdb.exe
For now, you may debug your project with SEGGER J-Link Plus Tools.
Hope it works for you!
Exactly what I needed, all detailed and correct. You saved me hours of frustration. THANK YOU!
Unfortunately this setup didn't wotk on my side. Error reported that it cannot open the port.
I am adding for reference the debugger setup that I sucessfuly used with reference to the GDB server and client that are part of S32DS v3.5 (Segger sw is not necessary to download).
Optionally might be added
“-jlinkscriptfile ${eclipse_home}../Drivers/Segger/JLinkScripts/S32K3xx/S32K311.jlinkscript” into Other options field.
I am not sure whether script is necessary or not. It seems that it works even without this script.
Note: There are no scripts directly for S32M276, but S32M276 contains S32K311 MCU die.
Best regards
RadekS