<?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: Failed on chip setup: Ep(04). Cannot halt processor. in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Failed-on-chip-setup-Ep-04-Cannot-halt-processor/m-p/1047753#M40623</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiangjun,&lt;/P&gt;&lt;P&gt;What do you mean ?&amp;nbsp;&lt;BR /&gt;the LPC-link2 led comes on and flashes, But i cannot upload code without getting the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Cannot halt processor message.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Is the issue with the code i am uploading ? Because i have tried to upload several different examples.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Leo&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Aug 2020 08:53:57 GMT</pubDate>
    <dc:creator>leo94</dc:creator>
    <dc:date>2020-08-20T08:53:57Z</dc:date>
    <item>
      <title>Failed on chip setup: Ep(04). Cannot halt processor.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Failed-on-chip-setup-Ep-04-Cannot-halt-processor/m-p/1047749#M40619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using LPC-link 2 2ith NHS3152TEMOADK: NHS3152 General Starter Kit, with LPCXpresso IDE.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When debugging blinky example, or any other example, i get:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;LPCXpresso RedlinkMulti Driver v8.2 (Sep 5 2016 10:12:38 - crt_emu_cm_redlink build 725)&lt;BR /&gt;Found chip XML file in C:/Users/leo/Documents/LPCXpresso_8.2.2_650/workspace/app_example_blinky/Debug/Generic-M0plus.xml&lt;BR /&gt;Probe Firmware: LPC-LINK2 CMSIS-DAP V5.173 (NXP Semiconductors)&lt;BR /&gt;Serial Number: I3FUNVCT&lt;BR /&gt;VID:PID: 1FC9:0090&lt;BR /&gt;USB Path: \\?\hid#vid_1fc9&amp;amp;pid_0090&amp;amp;mi_00#7&amp;amp;2bf3e870&amp;amp;0&amp;amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030}&lt;BR /&gt;&lt;STRONG&gt;Cannot halt processor&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;Cannot halt processor&lt;/STRONG&gt;&lt;BR /&gt;Emu(0): Connected&amp;amp;Reset. DpID: 0BC11477. CpuID: 410CC600. Info: &amp;lt;None&amp;gt;&lt;BR /&gt;Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.&lt;BR /&gt;Cannot halt processor&lt;BR /&gt;Failed on chip setup: Ep(04). Cannot halt processor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I solve this? how do i reset it so that it works again ?&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2020 09:00:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Failed-on-chip-setup-Ep-04-Cannot-halt-processor/m-p/1047749#M40619</guid>
      <dc:creator>leo94</dc:creator>
      <dc:date>2020-08-19T09:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: Failed on chip setup: Ep(04). Cannot halt processor.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Failed-on-chip-setup-Ep-04-Cannot-halt-processor/m-p/1047750#M40620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried using the ISP reset over debug, and got:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ni: LPCXpresso RedlinkMulti Driver v8.2 (Sep 5 2016 10:12:38 - crt_emu_cm_redlink.exe build 725)&lt;BR /&gt;Pc: ( 0) Reading remote configuration&lt;BR /&gt;Nc: Found chip XML file in C:/Users/leo/Documents/LPCXpresso_8.2.2_650/workspace/app_example_dp_i2c/Debug_SLAVE/Generic-M0plus.xml&lt;BR /&gt;Pc: ( 5) Remote configuration complete&lt;BR /&gt;Wc: ============= SCRIPT: ISPResetConnect.scp =============&lt;BR /&gt;Wc: Reset to ISP&lt;BR /&gt;Wc: ============= END SCRIPT ==============================&lt;BR /&gt;Xe:&lt;BR /&gt;Nc: Probe Firmware: LPC-LINK2 CMSIS-DAP V5.173 (NXP Semiconductors)&lt;BR /&gt;Nc: Serial Number: I3FUNVCT&lt;BR /&gt;Nc: VID:PID: 1FC9:0090&lt;BR /&gt;Nc: USB Path: \\?\hid#vid_1fc9&amp;amp;pid_0090&amp;amp;mi_00#7&amp;amp;2bf3e870&amp;amp;0&amp;amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030}&lt;BR /&gt;Pc: ( 30) Emulator Connected&lt;BR /&gt;Xw:&lt;BR /&gt;Wc: Cannot halt processor&lt;BR /&gt;Wc: Cannot halt processor&lt;BR /&gt;Pc: ( 40) No Halt&lt;BR /&gt;Pc: ( 50) CPU ID&lt;BR /&gt;Nc: Emu(0): Connected&amp;amp;Reset. DpID: 0BC11477. CpuID: 410CC600. Info: &amp;lt;None&amp;gt;&lt;BR /&gt;Nc: Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.&lt;BR /&gt;Wc: Cannot halt processor&lt;BR /&gt;Ed:03: Failed on chip setup: Ep(04). Cannot halt processor.&lt;BR /&gt;Pc: ( 65) Chip Setup Complete&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2020 09:22:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Failed-on-chip-setup-Ep-04-Cannot-halt-processor/m-p/1047750#M40620</guid>
      <dc:creator>leo94</dc:creator>
      <dc:date>2020-08-19T09:22:53Z</dc:date>
    </item>
    <item>
      <title>Re: Failed on chip setup: Ep(04). Cannot halt processor.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Failed-on-chip-setup-Ep-04-Cannot-halt-processor/m-p/1047751#M40621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;not sure if this is useful, but after i run the flash i get this from&amp;nbsp;&lt;SPAN&gt;RedlinkServer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[Started server]&lt;BR /&gt;[Connected on port 3025]&lt;BR /&gt;redlink&amp;gt;ProbeList&lt;BR /&gt;Index = 1&lt;BR /&gt;Manufacturer = NXP Semiconductors&lt;BR /&gt;Description = LPC-LINK2 CMSIS-DAP V5.173&lt;BR /&gt;Serial Number = I3FUNVCT&lt;BR /&gt;VID:PID = 1FC9:0090&lt;BR /&gt;Path = \\?\hid#vid_1fc9&amp;amp;pid_0090&amp;amp;mi_00#7&amp;amp;2bf3e870&amp;amp;0&amp;amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030}&lt;BR /&gt;redlink&amp;gt;ProbeStatus&lt;BR /&gt;Index = 1&lt;BR /&gt;Manufacturer = NXP Semiconductors&lt;BR /&gt;Description = LPC-LINK2 CMSIS-DAP V5.173&lt;BR /&gt;Serial Number = I3FUNVCT&lt;BR /&gt;VID:PID = 1FC9:0090&lt;BR /&gt;Path = \\?\hid#vid_1fc9&amp;amp;pid_0090&amp;amp;mi_00#7&amp;amp;2bf3e870&amp;amp;0&amp;amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030}&lt;BR /&gt;IsOpen = FALSE&lt;BR /&gt;WireInitialized = FALSE&lt;BR /&gt;WireProtocol = JTAG&lt;BR /&gt;CoresConfigured = FALSE&lt;BR /&gt;PacketSize = 1024&lt;BR /&gt;Reference Count = 0&lt;BR /&gt;HasSWV = FALSE&lt;BR /&gt;HasETM = FALSE&lt;BR /&gt;HasJTAG = TRUE&lt;BR /&gt;HasSWD = TRUE&lt;BR /&gt;Probe Type = CMSIS-DAP&lt;BR /&gt;Probe Reference Count = 0&lt;BR /&gt;redlink&amp;gt;ProbeStatus&lt;BR /&gt;Index = 1&lt;BR /&gt;Manufacturer = NXP Semiconductors&lt;BR /&gt;Description = LPC-LINK2 CMSIS-DAP V5.173&lt;BR /&gt;Serial Number = I3FUNVCT&lt;BR /&gt;VID:PID = 1FC9:0090&lt;BR /&gt;Path = \\?\hid#vid_1fc9&amp;amp;pid_0090&amp;amp;mi_00#7&amp;amp;2bf3e870&amp;amp;0&amp;amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030}&lt;BR /&gt;IsOpen = FALSE&lt;BR /&gt;WireInitialized = FALSE&lt;BR /&gt;WireProtocol = JTAG&lt;BR /&gt;CoresConfigured = FALSE&lt;BR /&gt;PacketSize = 1024&lt;BR /&gt;Reference Count = 0&lt;BR /&gt;HasSWV = FALSE&lt;BR /&gt;HasETM = FALSE&lt;BR /&gt;HasJTAG = TRUE&lt;BR /&gt;HasSWD = TRUE&lt;BR /&gt;Probe Type = CMSIS-DAP&lt;BR /&gt;Probe Reference Count = 0&lt;BR /&gt;redlink&amp;gt;quit&lt;BR /&gt;[Closed]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Aug 2020 09:40:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Failed-on-chip-setup-Ep-04-Cannot-halt-processor/m-p/1047751#M40621</guid>
      <dc:creator>leo94</dc:creator>
      <dc:date>2020-08-19T09:40:53Z</dc:date>
    </item>
    <item>
      <title>Re: Failed on chip setup: Ep(04). Cannot halt processor.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Failed-on-chip-setup-Ep-04-Cannot-halt-processor/m-p/1047752#M40622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Leo,&lt;/P&gt;&lt;P&gt;It appears that the LPC-Link2 and MCUXpresso debugger work fine, right?&lt;/P&gt;&lt;P&gt;BR&lt;/P&gt;&lt;P&gt;XiangJun Rong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2020 07:42:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Failed-on-chip-setup-Ep-04-Cannot-halt-processor/m-p/1047752#M40622</guid>
      <dc:creator>xiangjun_rong</dc:creator>
      <dc:date>2020-08-20T07:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Failed on chip setup: Ep(04). Cannot halt processor.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Failed-on-chip-setup-Ep-04-Cannot-halt-processor/m-p/1047753#M40623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Xiangjun,&lt;/P&gt;&lt;P&gt;What do you mean ?&amp;nbsp;&lt;BR /&gt;the LPC-link2 led comes on and flashes, But i cannot upload code without getting the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Cannot halt processor message.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Is the issue with the code i am uploading ? Because i have tried to upload several different examples.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Best,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Leo&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Aug 2020 08:53:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Failed-on-chip-setup-Ep-04-Cannot-halt-processor/m-p/1047753#M40623</guid>
      <dc:creator>leo94</dc:creator>
      <dc:date>2020-08-20T08:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Failed on chip setup: Ep(04). Cannot halt processor.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Failed-on-chip-setup-Ep-04-Cannot-halt-processor/m-p/1047754#M40624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Leo,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your problem does not look&amp;nbsp;obvious, let me probe a bit:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Do you know which program is currently flashed inside the NHS3152 IC?&lt;/LI&gt;&lt;LI&gt;Did you fit a jumper over JP2 on the LPC-Link2 board? This provides power to the board through the SWD lines.&lt;/LI&gt;&lt;LI&gt;Can you check with a scope that communication is happening over the SWD lines?&lt;/LI&gt;&lt;LI&gt;Do you have battery inserted in the coin cell holder of the demo board?&amp;nbsp;Can&amp;nbsp;you check the battery voltage?&lt;/LI&gt;&lt;LI&gt;You can force the image currently running in the IC to remain awake (not shutting down, not going to deep power down)&amp;nbsp;or to immediately become active again by bringing the IC in an NFC field, e.g. an unlocked Android phone. Be sure to know the optimal location on the back of your phone. Can you try to connect a few times with this setup?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;BR /&gt;Dries.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Aug 2020 07:01:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Failed-on-chip-setup-Ep-04-Cannot-halt-processor/m-p/1047754#M40624</guid>
      <dc:creator>driesmoors</dc:creator>
      <dc:date>2020-08-21T07:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: Failed on chip setup: Ep(04). Cannot halt processor.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Failed-on-chip-setup-Ep-04-Cannot-halt-processor/m-p/1134374#M42131</link>
      <description>&lt;P&gt;Hi Dries,&amp;nbsp;&lt;/P&gt;&lt;P&gt;The chip is running again now, i have attached answeres to the questions anyhow cause maybe you can point me to the issue.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Do you know which program is currently flashed inside the NHS3152 IC?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;Since it is working again and &lt;STRONG&gt;nhs31xx/example.ndef&lt;/STRONG&gt; is on it without reflashing it. I gather this was always on it.&amp;nbsp;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Did you fit a jumper over JP2 on the LPC-Link2 board? This provides power to the board through the SWD lines.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The LPC-Link2 board already came with a jumper over JP2. I haven't removed them.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Can you check with a scope that communication is happening over the SWD lines?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;The following are Scope results:&amp;nbsp;&lt;/P&gt;&lt;P&gt;NO NFC field: VDD and P11 have 90mv&lt;/P&gt;&lt;P&gt;WITH NFC:&amp;nbsp;P7, P0,P9 1.8 V&lt;/P&gt;&lt;P&gt;NO NFC;&amp;nbsp;LPC-link powered via USB:&amp;nbsp; VDD 3.3V, P10 3.3, P11 3V&lt;/P&gt;&lt;P&gt;NFC and LPC-link powered via USB: i must have reset it whilst doing this, because all of a sudden it started to take me to nxp.com/etc..&amp;nbsp;&lt;/P&gt;&lt;P&gt;after this it starting to run nhs31xx/example.ndef&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Do you have battery inserted in the coin cell holder of the demo board?&amp;nbsp;Can&amp;nbsp;you check the battery voltage?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;I do, it's working.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the reset procedure i accidentaly found that i could reuse in the future?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Leo&lt;/P&gt;</description>
      <pubDate>Wed, 02 Sep 2020 15:04:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Failed-on-chip-setup-Ep-04-Cannot-halt-processor/m-p/1134374#M42131</guid>
      <dc:creator>leo94</dc:creator>
      <dc:date>2020-09-02T15:04:29Z</dc:date>
    </item>
    <item>
      <title>Re: Failed on chip setup: Ep(04). Cannot halt processor.</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Failed-on-chip-setup-Ep-04-Cannot-halt-processor/m-p/1149698#M42155</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The example application&amp;nbsp;&lt;FONT face="courier new,courier"&gt;app_example_dp_ndeft2t&lt;/FONT&gt; doesn't use Power-off or Deep Power Down modes, so once it is running, the debug interface should be readily available too.&lt;/P&gt;
&lt;P&gt;With a battery inserted, &lt;SPAN&gt;without an NFC field,&amp;nbsp;&lt;/SPAN&gt;measuring 90mv between V&lt;SPAN&gt;DD and P11 indicates a problem with your battery connection..&lt;/SPAN&gt;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;SPAN&gt;Battery is empty&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Battery is inversely inserted&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;Diode D2 is missing&lt;/SPAN&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;SPAN&gt;...&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;With a plenished battery inserted, you should be able to measure ~3.4V between VDD and GND contact points.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Without a battery, when an NFC field is present, the whole IC will be powered by the NFC field, giving ~1.8V, as you also have measured.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is good to read it's working now. I would definitely check on your battery, and play with the blinky demo&amp;nbsp;&lt;FONT face="courier new,courier"&gt;app_demo_dp_blinky&lt;/FONT&gt; to learn the easiest - least painful - way to reliably connect and debug using this board.&lt;/P&gt;
&lt;P&gt;Good luck!&lt;BR /&gt;Best,&lt;BR /&gt;Dries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 07 Sep 2020 11:42:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Failed-on-chip-setup-Ep-04-Cannot-halt-processor/m-p/1149698#M42155</guid>
      <dc:creator>driesmoors</dc:creator>
      <dc:date>2020-09-07T11:42:06Z</dc:date>
    </item>
  </channel>
</rss>

