<?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>LPC MicrocontrollersのトピックRe: Wire Ack Fault when debugging brand new OM40000 (LPC802 eval kit)</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Wire-Ack-Fault-when-debugging-brand-new-OM40000-LPC802-eval-kit/m-p/1157929#M42356</link>
    <description>&lt;P&gt;Hi Tom,&lt;/P&gt;
&lt;P&gt;I hope you are doing well!&amp;nbsp; Here is a first recommendation,&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&amp;nbsp;Disconnect the board from any power source.&lt;/LI&gt;
&lt;LI&gt;Press and hold ISP pin.&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;Re-connect the board and release ISP after one second approximately. Now the MCU shall be in ISP mode, this indicates that firmware previously flashed is halted.&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;While the MCU is in ISP mode, try to perform a mass erase, using any tool you want : using either ISP commands (using flash magic Tool ) or SWD commands (using MCUXpresso&amp;nbsp; GUI Flash tool or J-link commander)&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;Try to flash the firmware one more time.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;BR /&gt;I used to perform these steps when I get this kind of errors, sometimes a wrong clock configuration or any problem in the firmware leads to problems to set the MCU into debug mode.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Another general recommendations that you could follow are: clear. launch configurations (on MCUXpresso IDE) and create a new project workspace and try to flash the Blink example&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Please let me know your results.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Diego.&lt;/P&gt;</description>
    <pubDate>Wed, 23 Sep 2020 16:49:40 GMT</pubDate>
    <dc:creator>diego_charles</dc:creator>
    <dc:date>2020-09-23T16:49:40Z</dc:date>
    <item>
      <title>Wire Ack Fault when debugging brand new OM40000 (LPC802 eval kit)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Wire-Ack-Fault-when-debugging-brand-new-OM40000-LPC802-eval-kit/m-p/1157150#M42346</link>
      <description>&lt;P&gt;This morning I received a brand spankin' new eval board from Mouser: NXP P/N: OM40000 (LPC802 development board). The board powered up fine and the code it shipped with ran fine.&lt;/P&gt;&lt;P&gt;However, when I try to program and debug a simple "Hello World" or "Blinky" example onto the board, I get the following error: Exception. Reason: Unable to connect wire for probe index 1. Error: Wire Ack Fault - target connected?&lt;/P&gt;&lt;P&gt;When I click OK, I get another error: 02: Failed on connect. Could not connect to core. 31: No connection to chip's debug port. Debugging context: lpcxpresso802_led_blinky LinkServer Debug.&lt;/P&gt;&lt;P&gt;When I then click OK, more errors: 24^error,msg="Remote connection closed". Reason: Failed to execute MI command. See attached screen shot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the exact same errors when I try to program a standalone LPC802 using an LPC-Link2 (rev. A).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone shed some light on what's going on here and perhaps help me get unstuck?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Tue, 22 Sep 2020 19:37:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Wire-Ack-Fault-when-debugging-brand-new-OM40000-LPC802-eval-kit/m-p/1157150#M42346</guid>
      <dc:creator>tomchr</dc:creator>
      <dc:date>2020-09-22T19:37:53Z</dc:date>
    </item>
    <item>
      <title>Re: Wire Ack Fault when debugging brand new OM40000 (LPC802 eval kit)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Wire-Ack-Fault-when-debugging-brand-new-OM40000-LPC802-eval-kit/m-p/1157929#M42356</link>
      <description>&lt;P&gt;Hi Tom,&lt;/P&gt;
&lt;P&gt;I hope you are doing well!&amp;nbsp; Here is a first recommendation,&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;&amp;nbsp;Disconnect the board from any power source.&lt;/LI&gt;
&lt;LI&gt;Press and hold ISP pin.&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;Re-connect the board and release ISP after one second approximately. Now the MCU shall be in ISP mode, this indicates that firmware previously flashed is halted.&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;While the MCU is in ISP mode, try to perform a mass erase, using any tool you want : using either ISP commands (using flash magic Tool ) or SWD commands (using MCUXpresso&amp;nbsp; GUI Flash tool or J-link commander)&lt;/LI&gt;
&lt;LI&gt;&amp;nbsp;Try to flash the firmware one more time.&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;&lt;BR /&gt;I used to perform these steps when I get this kind of errors, sometimes a wrong clock configuration or any problem in the firmware leads to problems to set the MCU into debug mode.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Another general recommendations that you could follow are: clear. launch configurations (on MCUXpresso IDE) and create a new project workspace and try to flash the Blink example&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Please let me know your results.&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;BR,&lt;BR /&gt;Diego.&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 16:49:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Wire-Ack-Fault-when-debugging-brand-new-OM40000-LPC802-eval-kit/m-p/1157929#M42356</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-09-23T16:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Wire Ack Fault when debugging brand new OM40000 (LPC802 eval kit)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Wire-Ack-Fault-when-debugging-brand-new-OM40000-LPC802-eval-kit/m-p/1157963#M42357</link>
      <description>&lt;P&gt;Diego,&lt;/P&gt;&lt;P&gt;Fantastic! That worked.&lt;/P&gt;&lt;P&gt;It brings up another question, though: If I'm using these LPC8xx uCs in production, should I include a pushbutton for ISP in case programming fails? That seems a bit wasteful, both in parts cost and board area.&lt;/P&gt;&lt;P&gt;I would like to use one of the LPC8xx in a low-volume production (QTY 100 at a time). Splurging on a $1k Segger programmer is not currently in the cards. I was hoping to use the LPC-Link2 or one of your eval boards as a programmer. I can certainly switch to the LPC82x or LPC83x for this project. Both of these are supported by LPC-Link2. But will I still need the ISP button with such a setup?&lt;/P&gt;&lt;P&gt;Also: It seems the list of supported devices for the LPC-Link2 is in need of an update. At least it programs both the LPC844 and LPC845 just fine. &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks again for your help so far.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Wed, 23 Sep 2020 17:35:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Wire-Ack-Fault-when-debugging-brand-new-OM40000-LPC802-eval-kit/m-p/1157963#M42357</guid>
      <dc:creator>tomchr</dc:creator>
      <dc:date>2020-09-23T17:35:54Z</dc:date>
    </item>
    <item>
      <title>Re: Wire Ack Fault when debugging brand new OM40000 (LPC802 eval kit)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Wire-Ack-Fault-when-debugging-brand-new-OM40000-LPC802-eval-kit/m-p/1158151#M42359</link>
      <description>&lt;P&gt;Hi Tom,&lt;/P&gt;
&lt;P&gt;I am glad to know that the issue was solved.&lt;/P&gt;
&lt;P&gt;Regarding your previous comments:&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;It brings up another question, though: If I'm using these LPC8xx uCs in production, should I include a pushbutton for ISP in case programming fails? That seems a bit wasteful, both in parts cost and board area.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;To enter ISP mode you will need only to pull down the ISP pin during reset (to avoid undesired entraces to ISP,&amp;nbsp; we recommend to add an external pull up resistor on the pin, adding&amp;nbsp; robustness ) , therefore you could leave a connection in your design to pull down the pin , for example a pad or a jumper instead a push button.&lt;/P&gt;
&lt;P&gt;The main goal of setting the MCU in ISP mode, it is to execute ISP commands by a serial protocol like UART and I2C. In our&amp;nbsp;case doing this, was useful because this halted the normal firmware execution flow and we regained &amp;nbsp;&amp;nbsp;access the debug port of the MCU.&lt;/P&gt;
&lt;P&gt;I hope this helps,&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Diego.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;edit: adding details on a statement.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 15:53:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Wire-Ack-Fault-when-debugging-brand-new-OM40000-LPC802-eval-kit/m-p/1158151#M42359</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-09-24T15:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Wire Ack Fault when debugging brand new OM40000 (LPC802 eval kit)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Wire-Ack-Fault-when-debugging-brand-new-OM40000-LPC802-eval-kit/m-p/1158795#M42374</link>
      <description>&lt;P&gt;Do you have a sense of how frequently the uC gets stuck in Lala Land? If it's 1% of cases, no big deal. But if it's 99% of cases, I might as well add the mass erase to my programming procedure. I'm having my assembly house do the programming so getting the instructions right is key.&lt;/P&gt;&lt;P&gt;I think I'll just connect the power button of my device to the ISP pin. If the programming doesn't work the first time, hold the power button when the programmer is plugged in.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 16:29:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Wire-Ack-Fault-when-debugging-brand-new-OM40000-LPC802-eval-kit/m-p/1158795#M42374</guid>
      <dc:creator>tomchr</dc:creator>
      <dc:date>2020-09-24T16:29:29Z</dc:date>
    </item>
    <item>
      <title>Re: Wire Ack Fault when debugging brand new OM40000 (LPC802 eval kit)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Wire-Ack-Fault-when-debugging-brand-new-OM40000-LPC802-eval-kit/m-p/1158859#M42378</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hi Tom,&lt;/P&gt;&lt;P&gt;Thank you for your reply,&lt;/P&gt;&lt;P&gt;Providing&amp;nbsp;a number, it is not an easy task, this because the wide variety of factors to consider!&lt;/P&gt;&lt;P&gt;You should expect a good reliability within our products.&lt;/P&gt;&lt;P&gt;As a general recommendation, you must&amp;nbsp;ensure that the software it is not doing something that may alter the expected behavior of the MCU. This along&amp;nbsp;with a good&amp;nbsp;the hardware design and&amp;nbsp;being sure to meet the working specifications for the MCU , and the other parts that accompany your embedded system,&amp;nbsp; are key to success.&lt;/P&gt;&lt;P&gt;If you run into unexpected issues, please let us know to help!&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Diego&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 19:36:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Wire-Ack-Fault-when-debugging-brand-new-OM40000-LPC802-eval-kit/m-p/1158859#M42378</guid>
      <dc:creator>diego_charles</dc:creator>
      <dc:date>2020-09-24T19:36:59Z</dc:date>
    </item>
    <item>
      <title>Re: Wire Ack Fault when debugging brand new OM40000 (LPC802 eval kit)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Wire-Ack-Fault-when-debugging-brand-new-OM40000-LPC802-eval-kit/m-p/1158863#M42379</link>
      <description>&lt;P&gt;Understood. Thanks again for your help.&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 19:40:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Wire-Ack-Fault-when-debugging-brand-new-OM40000-LPC802-eval-kit/m-p/1158863#M42379</guid>
      <dc:creator>tomchr</dc:creator>
      <dc:date>2020-09-24T19:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: Wire Ack Fault when debugging brand new OM40000 (LPC802 eval kit)</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Wire-Ack-Fault-when-debugging-brand-new-OM40000-LPC802-eval-kit/m-p/1470449#M49094</link>
      <description>&lt;P&gt;I troubled in same problem, solved by this page, really thanks!!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Jun 2022 07:58:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Wire-Ack-Fault-when-debugging-brand-new-OM40000-LPC802-eval-kit/m-p/1470449#M49094</guid>
      <dc:creator>mj000</dc:creator>
      <dc:date>2022-06-08T07:58:24Z</dc:date>
    </item>
  </channel>
</rss>

