<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: C40_Ip Flash Drive example DEBUG in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/C40-Ip-Flash-Drive-example-DEBUG/m-p/2042007#M13073</link>
    <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/241477"&gt;@karmegancjk&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;1.Theses error are related to each other, if you have another active debugging session on S32DS or the J-Link GDB Server application open, the system throws these errors, please verify that the port number (2331) is not already used, if so, you can change it, terminate the session in S32DS or kill the process number in the Windows Command line.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IsaulO_1-1739304046511.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/323474i888B5D25561442D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IsaulO_1-1739304046511.png" alt="IsaulO_1-1739304046511.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IsaulO_2-1739304055613.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/323475i67C2CAAE2C5EF340/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IsaulO_2-1739304055613.png" alt="IsaulO_2-1739304055613.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2.No special considerations are required for these RTD Example Projects, you should be able to work with these examples without problems.&lt;/P&gt;
&lt;P&gt;3.Have you encountered this issue with another RTD example? we can't replicate the issue, but it could be related with the startup in 0x00402420.&lt;/P&gt;
&lt;P&gt;BR.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Feb 2025 00:16:08 GMT</pubDate>
    <dc:creator>IsaulO</dc:creator>
    <dc:date>2025-02-12T00:16:08Z</dc:date>
    <item>
      <title>C40_Ip Flash Drive example DEBUG</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/C40-Ip-Flash-Drive-example-DEBUG/m-p/2038533#M13049</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;1. I am working on the C40_Ip example driver. When I go to debug, it does not enter debug mode.&lt;/P&gt;&lt;P&gt;Hardware: S32K344 (MR-CANHUBK344)&lt;/P&gt;&lt;P&gt;IDE : S32DS 3.5.14&lt;/P&gt;&lt;P&gt;Debug TOOL: J-link (Hardware v9.0)&lt;/P&gt;&lt;P&gt;RTD Version: S32K3_RTD_4_0_0_D2311&lt;/P&gt;&lt;P&gt;Here I attached the screenshots of the console output while debugging the C40_Ip example&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 10:35:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/C40-Ip-Flash-Drive-example-DEBUG/m-p/2038533#M13049</guid>
      <dc:creator>karmegancjk</dc:creator>
      <dc:date>2025-02-05T10:35:34Z</dc:date>
    </item>
    <item>
      <title>Re: C40_Ip Flash Drive example DEBUG</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/C40-Ip-Flash-Drive-example-DEBUG/m-p/2039460#M13057</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/241477"&gt;@karmegancjk&lt;/a&gt;&amp;nbsp;@,&lt;/P&gt;
&lt;P&gt;Please verify that the configurations and paths of the executables are correct. You can refer the following link for guidance:&lt;BR /&gt;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/S32-Design-Studio-for-S32-Platform-V3-4-V3-5-SEGGER-J-LINK-Plus/ta-p/1635798" target="_blank" rel="noopener"&gt;S32 Design Studio for S32 Platform V3.4/V3.5 + SEGGER J-LINK Plus&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Additionally, this issue could be related to the host PC, have you tried changing the port number?&lt;BR /&gt;You can check if any other application is using gdb server's port. To do this you can run the following command in the Windows command line: netstat -ano&lt;/P&gt;
&lt;P&gt;Let me know if this helps or if you need further assistance.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR,&lt;BR /&gt;IsaulO.&lt;/P&gt;</description>
      <pubDate>Thu, 06 Feb 2025 17:34:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/C40-Ip-Flash-Drive-example-DEBUG/m-p/2039460#M13057</guid>
      <dc:creator>IsaulO</dc:creator>
      <dc:date>2025-02-06T17:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: C40_Ip Flash Drive example DEBUG</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/C40-Ip-Flash-Drive-example-DEBUG/m-p/2040031#M13060</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for the update. I have verified that the debugger configurations and paths of the executables are correct.&lt;/P&gt;&lt;P&gt;1. The GDB server upgrade and configured the setting&amp;nbsp; &amp;nbsp;as per&amp;nbsp;&lt;SPAN&gt;the following link(&lt;A href="https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/S32-Design-Studio-for-S32-Platform-V3-4-V3-5-SEGGER-J-LINK-Plus/ta-p/1635798" target="_blank" rel="noopener"&gt;https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/S32-Design-Studio-for-S32-Platform-V3-4-V3-5-SEGGER-J-LINK-Plus/ta-p/1635798&lt;/A&gt;)however i am getting errors ,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;those errors are&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "&lt;STRONG&gt;Failed to open listener port 2331&lt;/STRONG&gt;",&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "&lt;STRONG&gt;J-link GDB server failed&lt;/STRONG&gt; "&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;2.is there any points to consider while working on Flash memory&amp;nbsp; for Flash driver development&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;3. while entering debug&amp;nbsp; system stay in only&amp;nbsp; "&lt;STRONG&gt;Starting target CPU&lt;/STRONG&gt;"&amp;nbsp; debugger not move on the next step.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;SEGGER J-Link GDB Server V7.96l Command Line Version&lt;/P&gt;&lt;P&gt;JLinkARM.dll V7.96l (DLL compiled Jun 12 2024 18:55:26)&lt;/P&gt;&lt;P&gt;Command line: -if jtag -device S32K344 -endian little -speed 1000 -port 2331 -swoport 2332 -telnetport 2333 -vd -ir -localhostonly 1 -singlerun -strict -timeout 0 -nogui&lt;BR /&gt;-----GDB Server start settings-----&lt;BR /&gt;GDBInit file: none&lt;BR /&gt;GDB Server Listening port: 2331&lt;BR /&gt;SWO raw output listening port: 2332&lt;BR /&gt;Terminal I/O port: 2333&lt;BR /&gt;Accept remote connection: localhost only&lt;BR /&gt;Generate logfile: off&lt;BR /&gt;Verify download: on&lt;BR /&gt;Init regs on start: on&lt;BR /&gt;Silent mode: off&lt;BR /&gt;Single run mode: on&lt;BR /&gt;Target connection timeout: 0 ms&lt;BR /&gt;------J-Link related settings------&lt;BR /&gt;J-Link Host interface: USB&lt;BR /&gt;J-Link script: none&lt;BR /&gt;J-Link settings file: none&lt;BR /&gt;------Target related settings------&lt;BR /&gt;Target device: S32K344&lt;BR /&gt;Target device parameters: none&lt;BR /&gt;Target interface: JTAG&lt;BR /&gt;Target interface speed: 1000kHz&lt;BR /&gt;Target endian: little&lt;/P&gt;&lt;P&gt;Connecting to J-Link...&lt;BR /&gt;J-Link is connected.&lt;BR /&gt;Firmware: J-Link V9 compiled Dec 13 2022 11:14:50&lt;BR /&gt;Hardware: V9.70&lt;BR /&gt;S/N: 69744905&lt;BR /&gt;Feature(s): RDI, GDB, FlashDL, FlashBP, JFlash&lt;BR /&gt;Checking target voltage...&lt;BR /&gt;Target voltage: 3.30 V&lt;BR /&gt;Listening on TCP/IP port 2331&lt;BR /&gt;Connecting to target...&lt;/P&gt;&lt;P&gt;J-Link found 1 JTAG device, Total IRLen = 8&lt;BR /&gt;JTAG ID: 0x0996001D (Cortex-M7)&lt;BR /&gt;Initializing CPU registers...Connected to target&lt;BR /&gt;Waiting for GDB connection...Connected to 127.0.0.1&lt;BR /&gt;GDB client (conn. 820) requested target.xml from GDB Server&lt;BR /&gt;Reading common registers: Read register 'r0' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r1' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r2' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r3' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r4' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r5' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r6' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r7' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r8' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r9' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r10' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r11' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r12' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'sp' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'lr' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'pc' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'xpsr' (4 bytes) from hardware: 0x00000001&lt;BR /&gt;Read 4 bytes @ address 0x00000000 (Data = 0x00000000)&lt;BR /&gt;Read 2 bytes @ address 0x00000000 (Data = 0x0000)&lt;BR /&gt;Received monitor command: speed 1000&lt;BR /&gt;Target interface speed set to 1000 kHz&lt;BR /&gt;Received monitor command: clrbp&lt;BR /&gt;Received monitor command: reset&lt;BR /&gt;Resetting target&lt;BR /&gt;Received monitor command: halt&lt;BR /&gt;Halting target CPU...&lt;BR /&gt;...Target halted (PC = 0x00402420)&lt;BR /&gt;Received monitor command: regs&lt;BR /&gt;R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000&lt;BR /&gt;R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000&lt;BR /&gt;R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000&lt;BR /&gt;R12= 00000000, R13= 20020000, MSP= 20020000, PSP= 00000000&lt;BR /&gt;R14(LR) = FFFFFFFF, R15(PC) = 00402420&lt;BR /&gt;XPSR 01000000, APSR 00000000, EPSR 01000000, IPSR 00000000&lt;BR /&gt;CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00&lt;/P&gt;&lt;P&gt;Security extension regs:&lt;BR /&gt;MSP_S = 00000000, MSPLIM_S = 00000000&lt;BR /&gt;PSP_S = 00000000, PSPLIM_S = 00000000&lt;BR /&gt;MSP_NS = 20020000, MSPLIM_NS = 00000000&lt;BR /&gt;PSP_NS = 00000000, PSPLIM_NS = 00000000&lt;BR /&gt;CONTROL_S 00, FAULTMASK_S 00, BASEPRI_S 00, PRIMASK_S 00&lt;BR /&gt;CONTROL_NS 00, FAULTMASK_NS 00, BASEPRI_NS 00, PRIMASK_NS 00&lt;/P&gt;&lt;P&gt;Reading common registers: Read register 'r0' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r1' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r2' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r3' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r4' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r5' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r6' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r7' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r8' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r9' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r10' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r11' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r12' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'sp' (4 bytes) from hardware: 0x00000220&lt;BR /&gt;Read register 'lr' (4 bytes) from hardware: 0xFFFFFFFF&lt;BR /&gt;Read register 'pc' (4 bytes) from hardware: 0x20244000&lt;BR /&gt;Read register 'xpsr' (4 bytes) from hardware: 0x00000001&lt;BR /&gt;Received monitor command: speed auto&lt;BR /&gt;Select auto target interface speed (4000 kHz)&lt;BR /&gt;Received monitor command: flash breakpoints 1&lt;BR /&gt;Flash breakpoints enabled&lt;BR /&gt;Received monitor command: semihosting enable&lt;BR /&gt;Semi-hosting enabled (Handle on breakpoint instruction hit)&lt;BR /&gt;Received monitor command: semihosting IOClient 1&lt;BR /&gt;Semihosting I/O set to TELNET Client&lt;BR /&gt;Read 4 bytes @ address 0x00402420 (Data = 0xF04FB672)&lt;BR /&gt;Read 2 bytes @ address 0x00402420 (Data = 0xB672)&lt;BR /&gt;Downloading 16272 bytes @ address 0x00400000 - Verified OK&lt;BR /&gt;Downloading 16224 bytes @ address 0x00403F90 - Verified OK&lt;BR /&gt;Downloading 4316 bytes @ address 0x00407EF0 - Verified OK&lt;BR /&gt;Downloading 164 bytes @ address 0x00408FCC - Verified OK&lt;BR /&gt;Downloading 4 bytes @ address 0x00409070 - Verified OK&lt;BR /&gt;Received monitor command: clrbp&lt;BR /&gt;Received monitor command: reset&lt;BR /&gt;Comparing flash [....................] Done.&lt;BR /&gt;Resetting target&lt;BR /&gt;Received monitor command: halt&lt;BR /&gt;Halting target CPU...&lt;BR /&gt;...Target halted (PC = 0x00402420)&lt;BR /&gt;Received monitor command: regs&lt;BR /&gt;R0 = 00000000, R1 = 00000000, R2 = 00000000, R3 = 00000000&lt;BR /&gt;R4 = 00000000, R5 = 00000000, R6 = 00000000, R7 = 00000000&lt;BR /&gt;R8 = 00000000, R9 = 00000000, R10= 00000000, R11= 00000000&lt;BR /&gt;R12= 00000000, R13= 20020000, MSP= 20020000, PSP= 00000000&lt;BR /&gt;R14(LR) = FFFFFFFF, R15(PC) = 00402420&lt;BR /&gt;XPSR 01000000, APSR 00000000, EPSR 01000000, IPSR 00000000&lt;BR /&gt;CFBP 00000000, CONTROL 00, FAULTMASK 00, BASEPRI 00, PRIMASK 00&lt;/P&gt;&lt;P&gt;Security extension regs:&lt;BR /&gt;MSP_S = 00000000, MSPLIM_S = 00000000&lt;BR /&gt;PSP_S = 00000000, PSPLIM_S = 00000000&lt;BR /&gt;MSP_NS = 20020000, MSPLIM_NS = 00000000&lt;BR /&gt;PSP_NS = 00000000, PSPLIM_NS = 00000000&lt;BR /&gt;CONTROL_S 00, FAULTMASK_S 00, BASEPRI_S 00, PRIMASK_S 00&lt;BR /&gt;CONTROL_NS 00, FAULTMASK_NS 00, BASEPRI_NS 00, PRIMASK_NS 00&lt;/P&gt;&lt;P&gt;Reading common registers: Read register 'r0' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r1' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r2' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r3' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r4' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r5' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r6' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r7' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r8' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r9' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r10' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r11' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'r12' (4 bytes) from hardware: 0x00000000&lt;BR /&gt;Read register 'sp' (4 bytes) from hardware: 0x00000220&lt;BR /&gt;Read register 'lr' (4 bytes) from hardware: 0xFFFFFFFF&lt;BR /&gt;Read register 'pc' (4 bytes) from hardware: 0x20244000&lt;BR /&gt;Read register 'xpsr' (4 bytes) from hardware: 0x00000001&lt;BR /&gt;Starting target CPU...&lt;/P&gt;&lt;P&gt;here i attached the screenshots for your reference ,how to solve this issue.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 14:17:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/C40-Ip-Flash-Drive-example-DEBUG/m-p/2040031#M13060</guid>
      <dc:creator>karmegancjk</dc:creator>
      <dc:date>2025-02-07T14:17:38Z</dc:date>
    </item>
    <item>
      <title>Re: C40_Ip Flash Drive example DEBUG</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/C40-Ip-Flash-Drive-example-DEBUG/m-p/2042007#M13073</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/241477"&gt;@karmegancjk&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;1.Theses error are related to each other, if you have another active debugging session on S32DS or the J-Link GDB Server application open, the system throws these errors, please verify that the port number (2331) is not already used, if so, you can change it, terminate the session in S32DS or kill the process number in the Windows Command line.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IsaulO_1-1739304046511.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/323474i888B5D25561442D1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IsaulO_1-1739304046511.png" alt="IsaulO_1-1739304046511.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IsaulO_2-1739304055613.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/323475i67C2CAAE2C5EF340/image-size/medium?v=v2&amp;amp;px=400" role="button" title="IsaulO_2-1739304055613.png" alt="IsaulO_2-1739304055613.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;2.No special considerations are required for these RTD Example Projects, you should be able to work with these examples without problems.&lt;/P&gt;
&lt;P&gt;3.Have you encountered this issue with another RTD example? we can't replicate the issue, but it could be related with the startup in 0x00402420.&lt;/P&gt;
&lt;P&gt;BR.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2025 00:16:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/C40-Ip-Flash-Drive-example-DEBUG/m-p/2042007#M13073</guid>
      <dc:creator>IsaulO</dc:creator>
      <dc:date>2025-02-12T00:16:08Z</dc:date>
    </item>
  </channel>
</rss>

