<?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: Cannot enter debug | NHS3100 | changed PIO0_11 in NFC</title>
    <link>https://community.nxp.com/t5/NFC/Cannot-enter-debug-NHS3100-changed-PIO0-11/m-p/1420550#M9224</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, PIO0_11 and SWDIO are multiplexed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To erase flash, you can use flash magic tool, or MCUXpresso GUI Flash tool.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
    <pubDate>Mon, 28 Feb 2022 11:59:47 GMT</pubDate>
    <dc:creator>danielchen</dc:creator>
    <dc:date>2022-02-28T11:59:47Z</dc:date>
    <item>
      <title>Cannot enter debug | NHS3100 | changed PIO0_11</title>
      <link>https://community.nxp.com/t5/NFC/Cannot-enter-debug-NHS3100-changed-PIO0-11/m-p/1414151#M9194</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am recently started using NHS3100&amp;nbsp; demo for a project. I was trying to get familiar with. I tried many examples and they worked fine. While trying to work with current driving mode I used pin PIO0_11 as FUNC0 output and after that I couldn't access debug mode nor program the card. I assume that changing pin11 changed the SWDIO.&lt;/P&gt;&lt;P&gt;Is there a way I can erase the flash ? I didn't make any waiting time before changing the pin so all the waiting is happening after. I don't know if there is a different boot mode or somthing.&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 16 Feb 2022 06:01:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Cannot-enter-debug-NHS3100-changed-PIO0-11/m-p/1414151#M9194</guid>
      <dc:creator>RedaAIT</dc:creator>
      <dc:date>2022-02-16T06:01:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot enter debug | NHS3100 | changed PIO0_11</title>
      <link>https://community.nxp.com/t5/NFC/Cannot-enter-debug-NHS3100-changed-PIO0-11/m-p/1420550#M9224</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, PIO0_11 and SWDIO are multiplexed.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To erase flash, you can use flash magic tool, or MCUXpresso GUI Flash tool.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 11:59:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Cannot-enter-debug-NHS3100-changed-PIO0-11/m-p/1420550#M9224</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2022-02-28T11:59:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot enter debug | NHS3100 | changed PIO0_11</title>
      <link>https://community.nxp.com/t5/NFC/Cannot-enter-debug-NHS3100-changed-PIO0-11/m-p/1422475#M9230</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;There are different ways to recover depending on the firmware currently present in the flash memory. If there is sufficient time after leaving the bootloader and re-assigning the function of one of the debug pins, you will be able to halt the core and reflash.&lt;/P&gt;
&lt;P&gt;There is some documentation available about this in the SDK under &lt;EM&gt;&amp;lt;SDK&amp;gt;/docs/firmware.html &amp;gt; SW Debug Considerations&lt;/EM&gt;.&lt;/P&gt;
&lt;P&gt;The demo applications show different ways to help you avoid bricking your IC:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;The &lt;EM&gt;Hello world&lt;/EM&gt; application, blinky, has added a wait time before starting to execute, by calling &lt;FONT face="courier new,courier"&gt;Chip_Clock_System_BusyWait_ms&lt;/FONT&gt; (since SDK v12.5)&lt;/LI&gt;
&lt;LI&gt;The &lt;EM&gt;temperature logger&lt;/EM&gt; application, tlogger, has added in it's reset handler a check, and block execution while the WAKEUP pin is low, by using this line of code: &lt;FONT face="courier new,courier"&gt;while (!(NSS_GPIO-&amp;gt;DATA[1 &amp;lt;&amp;lt; 0]));&lt;/FONT&gt;. You can push and hold the WAKEUP button, press RESET, then grab a new debug session.&lt;/LI&gt;
&lt;LI&gt;The &lt;EM&gt;msg&lt;/EM&gt; module has a special message &lt;FONT face="courier new,courier"&gt;MSG_ID_PREPAREDEBUG&lt;/FONT&gt;, to correct the pin configuration of the debug pins, and enter an infinite loop.This allows you to connect and debug a running session (use &lt;EM&gt;attach only&lt;/EM&gt; in your debug configuration, i.e. no reset and reflash before halting the core)&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;In general, all these measures show how to increase the window within which it is possible for a debugger to connect to the core. As said by Daniel, Flash Magic can be used to revive an IC. It is much faster than MCUXpresso and requires a much shorter break-in time window. You can also use a J-Link Base debugger and the corresponding command line interface.&lt;/P&gt;
&lt;P&gt;It is possible all your tries will fail. Replacing the IC is then your unfortunate last solution. Be sure to add some kind of (potential) delay at the startup before experimenting, to avoid these problems in the future.&lt;/P&gt;
&lt;P&gt;Kind regards,&lt;BR /&gt;Dries.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Mar 2022 07:24:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Cannot-enter-debug-NHS3100-changed-PIO0-11/m-p/1422475#M9230</guid>
      <dc:creator>driesmoors</dc:creator>
      <dc:date>2022-03-03T07:24:52Z</dc:date>
    </item>
  </channel>
</rss>

