<?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: Debug Connection Failure in S32K</title>
    <link>https://community.nxp.com/t5/S32K/Debug-Connection-Failure/m-p/2009065#M43971</link>
    <description>&lt;P&gt;A Short Add on:&lt;/P&gt;&lt;P&gt;In the meanwhile the onboard debugger seems to run, but it shows an similar behaviour:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-12-06 114239.png" style="width: 524px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/314535i4C494DCE33CDEA37/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-12-06 114239.png" alt="Screenshot 2024-12-06 114239.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is the debugger configuration dialog:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-12-06 114138.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/314536i29D3EB563B8E87A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-12-06 114138.png" alt="Screenshot 2024-12-06 114138.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It would be great if you could provide a possibility to me to get the hardware up and running again.&lt;/P&gt;&lt;P&gt;Is there some possibility to erase the memory of the microcontroller?&lt;/P&gt;&lt;P&gt;Is there some possibility to restore default settings to the hardware?&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Dirk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Dec 2024 10:48:53 GMT</pubDate>
    <dc:creator>DirkG</dc:creator>
    <dc:date>2024-12-06T10:48:53Z</dc:date>
    <item>
      <title>Debug Connection Failure</title>
      <link>https://community.nxp.com/t5/S32K/Debug-Connection-Failure/m-p/2008237#M43930</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;i have two&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;S32K3X4EVB-T172 Boards.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;One of them is behaving fine, that means i'm able to connect to the board using Segger J-Link Ultra.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The other one does not allow a debugging connection. I'm using the same software setup and all jumpers are set exactly the same. Every time i want to connect to the board, the RESET_K3 (D3) is blinking. It's not possible to erase the memory using the Segger Tools.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;This behaviour started after flashing a software and debugging it. From this point in time i'm not able to connect again to the board or to ersase the memory.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Is there a possibility to reset the board? Perhaps by pressing a push button for a longer time?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Thanks in advance for your help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Dirk&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 13:24:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Debug-Connection-Failure/m-p/2008237#M43930</guid>
      <dc:creator>DirkG</dc:creator>
      <dc:date>2024-12-05T13:24:41Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Connection Failure</title>
      <link>https://community.nxp.com/t5/S32K/Debug-Connection-Failure/m-p/2008498#M43946</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/241013"&gt;@DirkG&lt;/a&gt;!&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;I have some questions to get to know more about your issue:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;Is it possible for you to share more details about the software you flashed and debugged before the behavior started showing?&lt;/LI&gt;
&lt;LI&gt;Have you seen the same behavior using the onboard debugger?&amp;nbsp;&lt;/LI&gt;
&lt;LI&gt;Additionally, could you please provide us with an image of your reset signal?&lt;/LI&gt;
&lt;LI&gt;Have you tried loading an example available for your board and RTD version? If not, could you try and tell us if you see the same behavior?&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;- RomanVR.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 19:53:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Debug-Connection-Failure/m-p/2008498#M43946</guid>
      <dc:creator>RomanVR</dc:creator>
      <dc:date>2024-12-05T19:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Connection Failure</title>
      <link>https://community.nxp.com/t5/S32K/Debug-Connection-Failure/m-p/2008536#M43949</link>
      <description>&lt;P&gt;Debug connection issues can often be linked to incorrect settings, hardware problems, or loose connections. Check if your debugger and target device are properly set up, ensure all drivers are installed, and confirm that the device is in debug mode. Also, double-check your cables and power connections.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Dec 2024 21:06:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Debug-Connection-Failure/m-p/2008536#M43949</guid>
      <dc:creator>StarryKnight04</dc:creator>
      <dc:date>2024-12-05T21:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Connection Failure</title>
      <link>https://community.nxp.com/t5/S32K/Debug-Connection-Failure/m-p/2008919#M43965</link>
      <description>Hello Fira,&lt;BR /&gt;&lt;BR /&gt;thanks a lot for your reply.&lt;BR /&gt;I can confirm that the debugger and the hardware setup is fine, due to the fact that I'm able to connect and debug the second board.&lt;BR /&gt;The issue occurred as soon as I debuged a software and caused an exception. From that point in time the hardware is not connectable any longer, also not to the Segger Tool like J-Flash Lite, to erase the memory.&lt;BR /&gt;Best Regards&lt;BR /&gt;Dirk</description>
      <pubDate>Fri, 06 Dec 2024 07:52:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Debug-Connection-Failure/m-p/2008919#M43965</guid>
      <dc:creator>DirkG</dc:creator>
      <dc:date>2024-12-06T07:52:03Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Connection Failure</title>
      <link>https://community.nxp.com/t5/S32K/Debug-Connection-Failure/m-p/2008935#M43967</link>
      <description>&lt;P&gt;Dear Roman,&lt;/P&gt;&lt;P&gt;many thanks for you fast response.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Is it possible for you to share more details about the software you flashed and debugged before the behavior started showing?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;of course, we tried to add one more CAN channel (CAN1) using the config tools. Afterwards we debugged the firmware and figured out the "Port_Init" causes an exception. But from that point in time, the hardware was not longer accessible to the debugger.&lt;/P&gt;&lt;P&gt;If you want, I can also provide the project.&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Have you seen the same behavior using the onboard debugger?&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;SPAN&gt;Right now im trying to get the onboard debugger working, but up to now the board is not recognised as soon as I connect it by USB. Do I miss some drivers? Or shall I try another USB Cable?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Additionally, could you please provide us with an image of your reset signal?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Do you speak about the firmware, which caused the malbehaviour? If yes, I can provide it.&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Have you tried loading an example available for your board and RTD version? If not, could you try and tell us if you see the same behavior?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;We started with an example provided by RTD. Right now, the board is in a state which does not accept flashing firmware to it. It also does not accept "erasing memory" by the Segger Tools. It also does not accept "attach to running target".&lt;/P&gt;&lt;P&gt;Can you please provide a possibility to me to get this board up and running again. Is there a possibility to do a "reset to default state" to be able again to flash firmware to it.&lt;/P&gt;&lt;P&gt;Right now it seems to me, that always the hardware I showered on, the "faulty firmware" on it causes an exception and due to that reason I'm not able to connect to the hardware and replace the firmware.&lt;/P&gt;&lt;P&gt;Your help is really appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Dirk&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 08:09:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Debug-Connection-Failure/m-p/2008935#M43967</guid>
      <dc:creator>DirkG</dc:creator>
      <dc:date>2024-12-06T08:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Connection Failure</title>
      <link>https://community.nxp.com/t5/S32K/Debug-Connection-Failure/m-p/2009065#M43971</link>
      <description>&lt;P&gt;A Short Add on:&lt;/P&gt;&lt;P&gt;In the meanwhile the onboard debugger seems to run, but it shows an similar behaviour:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-12-06 114239.png" style="width: 524px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/314535i4C494DCE33CDEA37/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-12-06 114239.png" alt="Screenshot 2024-12-06 114239.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Here is the debugger configuration dialog:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2024-12-06 114138.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/314536i29D3EB563B8E87A6/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot 2024-12-06 114138.png" alt="Screenshot 2024-12-06 114138.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It would be great if you could provide a possibility to me to get the hardware up and running again.&lt;/P&gt;&lt;P&gt;Is there some possibility to erase the memory of the microcontroller?&lt;/P&gt;&lt;P&gt;Is there some possibility to restore default settings to the hardware?&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Dirk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 10:48:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Debug-Connection-Failure/m-p/2009065#M43971</guid>
      <dc:creator>DirkG</dc:creator>
      <dc:date>2024-12-06T10:48:53Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Connection Failure</title>
      <link>https://community.nxp.com/t5/S32K/Debug-Connection-Failure/m-p/2009291#M43977</link>
      <description>&lt;P class="lia-align-justify"&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/241013"&gt;@DirkG&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;You could try a solution that worked for the S32K1 device family. To re-flash your MCU, keep the reset button pressed while trying to flash it with a blink example. It might fail and ask if you want to retry. When that happens, release the reset button and then try again to load the program under that prompt. After doing this, the program should load successfully and the board should recover.&lt;/P&gt;
&lt;P class="lia-align-justify"&gt;Also, it would be helpful if you could check the reset signal with an oscilloscope. Just measure the reset pin directly and share an image of what you see. We're expecting a signal similar to the one attached, with the reset toggling as shown.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RomanVR_0-1733507738200.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/314590i781921C985E106AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RomanVR_0-1733507738200.png" alt="RomanVR_0-1733507738200.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If possible, please share your project so we can test from our side as well.&lt;/P&gt;
&lt;P&gt;- RomanVR&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2024 17:56:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Debug-Connection-Failure/m-p/2009291#M43977</guid>
      <dc:creator>RomanVR</dc:creator>
      <dc:date>2024-12-06T17:56:20Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Connection Failure</title>
      <link>https://community.nxp.com/t5/S32K/Debug-Connection-Failure/m-p/2009497#M43993</link>
      <description>&lt;P&gt;Dear Roman,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the handling you described, reset button pressed and then repeat the flashing, did work!!!&lt;/P&gt;&lt;P&gt;The board is now up and running again.&lt;/P&gt;&lt;P&gt;Nevertheless, please find attached the "buggy project" as zip file, I just leave in everything, also the generated source code.&lt;/P&gt;&lt;P&gt;Please come back if you can figure out what happened.&lt;/P&gt;&lt;P&gt;Best Regards and many thanks for your support.&lt;/P&gt;&lt;P&gt;You really saved my day.&lt;/P&gt;&lt;P&gt;Dirk&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Dec 2024 15:00:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Debug-Connection-Failure/m-p/2009497#M43993</guid>
      <dc:creator>DirkG</dc:creator>
      <dc:date>2024-12-07T15:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Debug Connection Failure</title>
      <link>https://community.nxp.com/t5/S32K/Debug-Connection-Failure/m-p/2009903#M44019</link>
      <description>&lt;P&gt;Sorry, I forgot to upload the "buggy project".&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Dirk&lt;/P&gt;</description>
      <pubDate>Mon, 09 Dec 2024 09:07:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Debug-Connection-Failure/m-p/2009903#M44019</guid>
      <dc:creator>DirkG</dc:creator>
      <dc:date>2024-12-09T09:07:42Z</dc:date>
    </item>
  </channel>
</rss>

