<?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: PN7642 unable to connect debug after programming and power cycle in NFC</title>
    <link>https://community.nxp.com/t5/NFC/PN7642-unable-to-connect-debug-after-programming-and-power-cycle/m-p/1786343#M11155</link>
    <description>&lt;P&gt;Hi Fabian, thanks for the response.&lt;/P&gt;&lt;P&gt;We are currentrly using the lpuart_polling sdk example to keep it simple.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using jlink commander and with our board connect works but halt and reset it is not able to do. This also works fine on the devkit. I put the commander output below.&lt;/P&gt;&lt;P&gt;Can you share how to get the PN7642 into ISP mode? I only found mention of it in the datasheet but no details.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SEGGER J-Link Commander V7.94a (Compiled Dec 6 2023 16:07:38)&lt;BR /&gt;DLL version V7.94a, compiled Dec 6 2023 16:06:16&lt;/P&gt;&lt;P&gt;Connecting to J-Link via USB...O.K.&lt;BR /&gt;Firmware: J-Link V9 compiled May 7 2021 16:26:12&lt;BR /&gt;Hardware version: V9.20&lt;BR /&gt;J-Link uptime (since boot): N/A (Not supported by this model)&lt;BR /&gt;S/N: 59200407&lt;BR /&gt;License(s): GDB&lt;BR /&gt;VTref=3.290V&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Type "connect" to establish a target connection, '?' for help&lt;BR /&gt;J-Link&amp;gt;connect&lt;BR /&gt;Please specify device / core. &amp;lt;Default&amp;gt;: PN7642&lt;BR /&gt;Type '?' for selection dialog&lt;BR /&gt;Device&amp;gt;&lt;BR /&gt;Please specify target interface:&lt;BR /&gt;J) JTAG (Default)&lt;BR /&gt;S) SWD&lt;BR /&gt;T) cJTAG&lt;BR /&gt;TIF&amp;gt;s&lt;BR /&gt;Specify target interface speed [kHz]. &amp;lt;Default&amp;gt;: 4000 kHz&lt;BR /&gt;Speed&amp;gt;&lt;BR /&gt;Device "PN7642" selected.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Connecting to target via SWD&lt;BR /&gt;Found SW-DP with ID 0x6BA02477&lt;BR /&gt;DPIDR: 0x6BA02477&lt;BR /&gt;CoreSight SoC-400 or earlier&lt;BR /&gt;Scanning AP map to find all available APs&lt;BR /&gt;AP[1]: Stopped AP scan as end of AP map seems to be reached&lt;BR /&gt;AP[0]: AHB-AP (IDR: 0x84770001)&lt;BR /&gt;Iterating through AP map to find AHB-AP to use&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FE000&lt;BR /&gt;CPUID register: 0x410FD214. Implementer code: 0x41 (ARM)&lt;BR /&gt;Feature set: Mainline&lt;BR /&gt;Cache: No cache&lt;BR /&gt;Found Cortex-M33 r0p4, Little endian.&lt;BR /&gt;Cortex-M (ARMv8-M and later): The connected J-Link (S/N 59200407) uses an old firmware module that does not handle I/D-cache correctly. Proper debugging functionality cannot be guaranteed if cache is enabled&lt;BR /&gt;FPUnit: 8 code (BP) slots and 0 literal slots&lt;BR /&gt;Security extension: implemented&lt;BR /&gt;Secure debug: disabled&lt;BR /&gt;CoreSight components:&lt;BR /&gt;ROMTbl[0] @ E00FE000&lt;BR /&gt;[0][0]: E00FF000 CID B105100D PID 000BB4C9 ROM Table&lt;BR /&gt;ROMTbl[1] @ E00FF000&lt;BR /&gt;[1][0]: E000E000 CID B105900D PID 000BBD21 DEVARCH 47702A04 DEVTYPE 00 Cortex-M33&lt;BR /&gt;[1][1]: E0001000 CID B105900D PID 000BBD21 DEVARCH 47701A02 DEVTYPE 00 DWT&lt;BR /&gt;[1][2]: E0002000 CID B105900D PID 000BBD21 DEVARCH 47701A03 DEVTYPE 00 FPB&lt;BR /&gt;[1][3]: E0000000 CID B105900D PID 000BBD21 DEVARCH 47701A01 DEVTYPE 43 ITM&lt;BR /&gt;[1][5]: E0041000 CID B105900D PID 002BBD21 DEVARCH 47724A13 DEVTYPE 13 ETM&lt;BR /&gt;[1][6]: E0042000 CID B105900D PID 000BBD21 DEVARCH 47701A14 DEVTYPE 14 CSS600-CTI&lt;BR /&gt;[0][1]: E0045000 CID B105900D PID 004BB907 DEVARCH 00000000 DEVTYPE 21 ETB&lt;BR /&gt;[0][2]: E0045000 CID B105900D PID 004BB907 DEVARCH 00000000 DEVTYPE 21 ETB&lt;BR /&gt;[0][3]: E0044000 CID B105900D PID 002BB909 DEVARCH 00000000 DEVTYPE 22 ATBR (?)&lt;BR /&gt;[0][4]: E0046000 CID B105900D PID 005BB906 DEVARCH 00000000 DEVTYPE 14 CTI (?)&lt;BR /&gt;Memory zones:&lt;BR /&gt;Zone: "Default" Description: Default access mode&lt;BR /&gt;Cortex-M33 identified.&lt;BR /&gt;J-Link&amp;gt;halt&lt;BR /&gt;CPU could not be halted&lt;BR /&gt;J-Link&amp;gt;reset&lt;BR /&gt;Reset delay: 0 ms&lt;BR /&gt;Reset type NORMAL: Resets core &amp;amp; peripherals via SYSRESETREQ &amp;amp; VECTRESET bit.&lt;BR /&gt;Reset: ARMv8M core with Security Extension enabled detected.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via AIRCR.SYSRESETREQ.&lt;BR /&gt;Core did not halt after reset, halting it manually.&lt;BR /&gt;Reset: Core did not halt after reset, trying to disable WDT.&lt;BR /&gt;Reset: ARMv8M core with Security Extension enabled detected.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via AIRCR.SYSRESETREQ.&lt;BR /&gt;Core did not halt after reset, halting it manually.&lt;BR /&gt;Reset: CPU did not halt after reset.&lt;BR /&gt;Reset: Using fallback: Reset pin.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via reset pin&lt;BR /&gt;Reset: VC_CORERESET did not halt CPU. (Debug logic also reset by reset pin?).&lt;BR /&gt;Reset: Reconnecting and manually halting CPU.&lt;BR /&gt;Found SW-DP with ID 0x6BA02477&lt;BR /&gt;DPIDR: 0x6BA02477&lt;BR /&gt;CoreSight SoC-400 or earlier&lt;BR /&gt;AP map detection skipped. Manually configured AP map found.&lt;BR /&gt;AP[0]: AHB-AP (IDR: Not set)&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FE000&lt;BR /&gt;CPUID register: 0x410FD214. Implementer code: 0x41 (ARM)&lt;BR /&gt;Feature set: Mainline&lt;BR /&gt;Cache: No cache&lt;BR /&gt;Found Cortex-M33 r0p4, Little endian.&lt;BR /&gt;CPU could not be halted&lt;BR /&gt;Reset: Core did not halt after reset, trying to disable WDT.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via reset pin&lt;BR /&gt;Reset: VC_CORERESET did not halt CPU. (Debug logic also reset by reset pin?).&lt;BR /&gt;Reset: Reconnecting and manually halting CPU.&lt;BR /&gt;Found SW-DP with ID 0x6BA02477&lt;BR /&gt;DPIDR: 0x6BA02477&lt;BR /&gt;CoreSight SoC-400 or earlier&lt;BR /&gt;AP map detection skipped. Manually configured AP map found.&lt;BR /&gt;AP[0]: AHB-AP (IDR: Not set)&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FE000&lt;BR /&gt;CPUID register: 0x410FD214. Implementer code: 0x41 (ARM)&lt;BR /&gt;Feature set: Mainline&lt;BR /&gt;Cache: No cache&lt;BR /&gt;Found Cortex-M33 r0p4, Little endian.&lt;BR /&gt;CPU could not be halted&lt;BR /&gt;Reset: Failed. Toggling reset pin and trying reset strategy again.&lt;BR /&gt;Failed to attach to CPU. Trying connect under reset.&lt;BR /&gt;Found SW-DP with ID 0x6BA02477&lt;BR /&gt;SWD speed too high. Reduced from 4000 kHz to 2700 kHz for stability&lt;BR /&gt;DPIDR: 0x6BA02477&lt;BR /&gt;CoreSight SoC-400 or earlier&lt;BR /&gt;AP map detection skipped. Manually configured AP map found.&lt;BR /&gt;AP[0]: AHB-AP (IDR: Not set)&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FE000&lt;BR /&gt;CPUID register: 0x410FD214. Implementer code: 0x41 (ARM)&lt;BR /&gt;Feature set: Mainline&lt;BR /&gt;Cache: No cache&lt;BR /&gt;Found Cortex-M33 r0p4, Little endian.&lt;BR /&gt;Reset: ARMv8M core with Security Extension enabled detected.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via AIRCR.SYSRESETREQ.&lt;BR /&gt;Core did not halt after reset, halting it manually.&lt;BR /&gt;Reset: Core did not halt after reset, trying to disable WDT.&lt;BR /&gt;Reset: ARMv8M core with Security Extension enabled detected.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via AIRCR.SYSRESETREQ.&lt;BR /&gt;Core did not halt after reset, halting it manually.&lt;BR /&gt;Reset: CPU did not halt after reset.&lt;BR /&gt;Reset: Using fallback: Reset pin.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via reset pin&lt;BR /&gt;Reset: VC_CORERESET did not halt CPU. (Debug logic also reset by reset pin?).&lt;BR /&gt;Reset: Reconnecting and manually halting CPU.&lt;BR /&gt;Found SW-DP with ID 0x6BA02477&lt;BR /&gt;DPIDR: 0x6BA02477&lt;BR /&gt;CoreSight SoC-400 or earlier&lt;BR /&gt;AP map detection skipped. Manually configured AP map found.&lt;BR /&gt;AP[0]: AHB-AP (IDR: Not set)&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FE000&lt;BR /&gt;CPUID register: 0x410FD214. Implementer code: 0x41 (ARM)&lt;BR /&gt;Feature set: Mainline&lt;BR /&gt;Cache: No cache&lt;BR /&gt;Found Cortex-M33 r0p4, Little endian.&lt;BR /&gt;CPU could not be halted&lt;BR /&gt;Reset: Core did not halt after reset, trying to disable WDT.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via reset pin&lt;BR /&gt;Reset: VC_CORERESET did not halt CPU. (Debug logic also reset by reset pin?).&lt;BR /&gt;Reset: Reconnecting and manually halting CPU.&lt;BR /&gt;Found SW-DP with ID 0x6BA02477&lt;BR /&gt;DPIDR: 0x6BA02477&lt;BR /&gt;CoreSight SoC-400 or earlier&lt;BR /&gt;AP map detection skipped. Manually configured AP map found.&lt;BR /&gt;AP[0]: AHB-AP (IDR: Not set)&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FE000&lt;BR /&gt;CPUID register: 0x410FD214. Implementer code: 0x41 (ARM)&lt;BR /&gt;Feature set: Mainline&lt;BR /&gt;Cache: No cache&lt;BR /&gt;Found Cortex-M33 r0p4, Little endian.&lt;BR /&gt;CPU could not be halted&lt;BR /&gt;CPU could not be halted&lt;/P&gt;&lt;P&gt;****** Error: Failed to halt CPU.&lt;/P&gt;</description>
    <pubDate>Wed, 10 Jan 2024 19:31:02 GMT</pubDate>
    <dc:creator>clittle</dc:creator>
    <dc:date>2024-01-10T19:31:02Z</dc:date>
    <item>
      <title>PN7642 unable to connect debug after programming and power cycle</title>
      <link>https://community.nxp.com/t5/NFC/PN7642-unable-to-connect-debug-after-programming-and-power-cycle/m-p/1785508#M11139</link>
      <description>&lt;P&gt;We are using the PN7642 on a design. We can connect and debug the MCU on first use, but then on subsequent powerup we can no longer connect the debugger to the MCU. We are using a JLink which appears to identify the processor but cannot halt it.&lt;/P&gt;&lt;P&gt;We have tried multiple prototype boards and multiple jlinks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any next steps? Debug log below:&lt;/P&gt;&lt;P&gt;===================&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;Connecting to J-Link...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;J-Link is connected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Device "PN7642" selected.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Firmware: J-Link V11 compiled Dec 4 2023 10:22:45&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Hardware: V11.00&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;S/N: 601018409&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Checking target voltage...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Target voltage: 3.30 V&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Listening on TCP/IP port 2339&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Connecting to target...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Found SW-DP with ID 0x6BA02477&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;DPIDR: 0x6BA02477&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CoreSight SoC-400 or earlier&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Scanning AP map to find all available APs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;AP[1]: Stopped AP scan as end of AP map seems to be reached&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;AP[0]: AHB-AP (IDR: 0x84770001)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Iterating through AP map to find AHB-AP to use&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;AP[0]: Core found&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;AP[0]: AHB-AP ROM base: 0xE00FE000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CPUID register: 0x410FD214. Implementer code: 0x41 (ARM)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Feature set: Mainline&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Cache: No cache&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Found Cortex-M33 r0p4, Little endian.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;FPUnit: 8 code (BP) slots and 0 literal slots&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Security extension: implemented&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Secure debug: disabled&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CoreSight components:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ROMTbl[0] @ E00FE000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[0][0]: E00FF000 CID B105100D PID 000BB4C9 ROM Table&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ROMTbl[1] @ E00FF000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[1][0]: E000E000 CID B105900D PID 000BBD21 DEVARCH 47702A04 DEVTYPE 00 Cortex-M33&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[1][1]: E0001000 CID B105900D PID 000BBD21 DEVARCH 47701A02 DEVTYPE 00 DWT&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[1][2]: E0002000 CID B105900D PID 000BBD21 DEVARCH 47701A03 DEVTYPE 00 FPB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[1][3]: E0000000 CID B105900D PID 000BBD21 DEVARCH 47701A01 DEVTYPE 43 ITM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[1][5]: E0041000 CID B105900D PID 002BBD21 DEVARCH 47724A13 DEVTYPE 13 ETM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[1][6]: E0042000 CID B105900D PID 000BBD21 DEVARCH 47701A14 DEVTYPE 14 CSS600-CTI&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[0][1]: E0045000 CID B105900D PID 004BB907 DEVARCH 00000000 DEVTYPE 21 ETB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[0][2]: E0045000 CID B105900D PID 004BB907 DEVARCH 00000000 DEVTYPE 21 ETB&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[0][3]: E0044000 CID B105900D PID 002BB909 DEVARCH 00000000 DEVTYPE 22 ATBR (?)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;[0][4]: E0046000 CID B105900D PID 005BB906 DEVARCH 00000000 DEVTYPE 14 CTI (?)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Halting core...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CPU could not be halted&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Halting target device failed. Trying again with reset&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ResetTarget() start&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;ResetTarget: Halting CPU&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CPU could not be halted&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Target is not halted!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;CPU could not be halted&lt;/SPAN&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 09 Jan 2024 20:38:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7642-unable-to-connect-debug-after-programming-and-power-cycle/m-p/1785508#M11139</guid>
      <dc:creator>clittle</dc:creator>
      <dc:date>2024-01-09T20:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: PN7642 unable to connect debug after programming and power cycle</title>
      <link>https://community.nxp.com/t5/NFC/PN7642-unable-to-connect-debug-after-programming-and-power-cycle/m-p/1786249#M11152</link>
      <description>&lt;P&gt;Hello sir,&lt;BR /&gt;This is Fabian, I have been assigned to support your case.&lt;BR /&gt;Is it possible that the J-Link isn't able to halt the M33 due to the application? Have you tried to send the HALT directly from the J-Link commander? Also, is possible to put the chip in ISP mode to check if the J-Link can flash it?&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 18:05:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7642-unable-to-connect-debug-after-programming-and-power-cycle/m-p/1786249#M11152</guid>
      <dc:creator>Fabian_R</dc:creator>
      <dc:date>2024-01-10T18:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: PN7642 unable to connect debug after programming and power cycle</title>
      <link>https://community.nxp.com/t5/NFC/PN7642-unable-to-connect-debug-after-programming-and-power-cycle/m-p/1786343#M11155</link>
      <description>&lt;P&gt;Hi Fabian, thanks for the response.&lt;/P&gt;&lt;P&gt;We are currentrly using the lpuart_polling sdk example to keep it simple.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried using jlink commander and with our board connect works but halt and reset it is not able to do. This also works fine on the devkit. I put the commander output below.&lt;/P&gt;&lt;P&gt;Can you share how to get the PN7642 into ISP mode? I only found mention of it in the datasheet but no details.&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;SEGGER J-Link Commander V7.94a (Compiled Dec 6 2023 16:07:38)&lt;BR /&gt;DLL version V7.94a, compiled Dec 6 2023 16:06:16&lt;/P&gt;&lt;P&gt;Connecting to J-Link via USB...O.K.&lt;BR /&gt;Firmware: J-Link V9 compiled May 7 2021 16:26:12&lt;BR /&gt;Hardware version: V9.20&lt;BR /&gt;J-Link uptime (since boot): N/A (Not supported by this model)&lt;BR /&gt;S/N: 59200407&lt;BR /&gt;License(s): GDB&lt;BR /&gt;VTref=3.290V&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Type "connect" to establish a target connection, '?' for help&lt;BR /&gt;J-Link&amp;gt;connect&lt;BR /&gt;Please specify device / core. &amp;lt;Default&amp;gt;: PN7642&lt;BR /&gt;Type '?' for selection dialog&lt;BR /&gt;Device&amp;gt;&lt;BR /&gt;Please specify target interface:&lt;BR /&gt;J) JTAG (Default)&lt;BR /&gt;S) SWD&lt;BR /&gt;T) cJTAG&lt;BR /&gt;TIF&amp;gt;s&lt;BR /&gt;Specify target interface speed [kHz]. &amp;lt;Default&amp;gt;: 4000 kHz&lt;BR /&gt;Speed&amp;gt;&lt;BR /&gt;Device "PN7642" selected.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Connecting to target via SWD&lt;BR /&gt;Found SW-DP with ID 0x6BA02477&lt;BR /&gt;DPIDR: 0x6BA02477&lt;BR /&gt;CoreSight SoC-400 or earlier&lt;BR /&gt;Scanning AP map to find all available APs&lt;BR /&gt;AP[1]: Stopped AP scan as end of AP map seems to be reached&lt;BR /&gt;AP[0]: AHB-AP (IDR: 0x84770001)&lt;BR /&gt;Iterating through AP map to find AHB-AP to use&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FE000&lt;BR /&gt;CPUID register: 0x410FD214. Implementer code: 0x41 (ARM)&lt;BR /&gt;Feature set: Mainline&lt;BR /&gt;Cache: No cache&lt;BR /&gt;Found Cortex-M33 r0p4, Little endian.&lt;BR /&gt;Cortex-M (ARMv8-M and later): The connected J-Link (S/N 59200407) uses an old firmware module that does not handle I/D-cache correctly. Proper debugging functionality cannot be guaranteed if cache is enabled&lt;BR /&gt;FPUnit: 8 code (BP) slots and 0 literal slots&lt;BR /&gt;Security extension: implemented&lt;BR /&gt;Secure debug: disabled&lt;BR /&gt;CoreSight components:&lt;BR /&gt;ROMTbl[0] @ E00FE000&lt;BR /&gt;[0][0]: E00FF000 CID B105100D PID 000BB4C9 ROM Table&lt;BR /&gt;ROMTbl[1] @ E00FF000&lt;BR /&gt;[1][0]: E000E000 CID B105900D PID 000BBD21 DEVARCH 47702A04 DEVTYPE 00 Cortex-M33&lt;BR /&gt;[1][1]: E0001000 CID B105900D PID 000BBD21 DEVARCH 47701A02 DEVTYPE 00 DWT&lt;BR /&gt;[1][2]: E0002000 CID B105900D PID 000BBD21 DEVARCH 47701A03 DEVTYPE 00 FPB&lt;BR /&gt;[1][3]: E0000000 CID B105900D PID 000BBD21 DEVARCH 47701A01 DEVTYPE 43 ITM&lt;BR /&gt;[1][5]: E0041000 CID B105900D PID 002BBD21 DEVARCH 47724A13 DEVTYPE 13 ETM&lt;BR /&gt;[1][6]: E0042000 CID B105900D PID 000BBD21 DEVARCH 47701A14 DEVTYPE 14 CSS600-CTI&lt;BR /&gt;[0][1]: E0045000 CID B105900D PID 004BB907 DEVARCH 00000000 DEVTYPE 21 ETB&lt;BR /&gt;[0][2]: E0045000 CID B105900D PID 004BB907 DEVARCH 00000000 DEVTYPE 21 ETB&lt;BR /&gt;[0][3]: E0044000 CID B105900D PID 002BB909 DEVARCH 00000000 DEVTYPE 22 ATBR (?)&lt;BR /&gt;[0][4]: E0046000 CID B105900D PID 005BB906 DEVARCH 00000000 DEVTYPE 14 CTI (?)&lt;BR /&gt;Memory zones:&lt;BR /&gt;Zone: "Default" Description: Default access mode&lt;BR /&gt;Cortex-M33 identified.&lt;BR /&gt;J-Link&amp;gt;halt&lt;BR /&gt;CPU could not be halted&lt;BR /&gt;J-Link&amp;gt;reset&lt;BR /&gt;Reset delay: 0 ms&lt;BR /&gt;Reset type NORMAL: Resets core &amp;amp; peripherals via SYSRESETREQ &amp;amp; VECTRESET bit.&lt;BR /&gt;Reset: ARMv8M core with Security Extension enabled detected.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via AIRCR.SYSRESETREQ.&lt;BR /&gt;Core did not halt after reset, halting it manually.&lt;BR /&gt;Reset: Core did not halt after reset, trying to disable WDT.&lt;BR /&gt;Reset: ARMv8M core with Security Extension enabled detected.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via AIRCR.SYSRESETREQ.&lt;BR /&gt;Core did not halt after reset, halting it manually.&lt;BR /&gt;Reset: CPU did not halt after reset.&lt;BR /&gt;Reset: Using fallback: Reset pin.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via reset pin&lt;BR /&gt;Reset: VC_CORERESET did not halt CPU. (Debug logic also reset by reset pin?).&lt;BR /&gt;Reset: Reconnecting and manually halting CPU.&lt;BR /&gt;Found SW-DP with ID 0x6BA02477&lt;BR /&gt;DPIDR: 0x6BA02477&lt;BR /&gt;CoreSight SoC-400 or earlier&lt;BR /&gt;AP map detection skipped. Manually configured AP map found.&lt;BR /&gt;AP[0]: AHB-AP (IDR: Not set)&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FE000&lt;BR /&gt;CPUID register: 0x410FD214. Implementer code: 0x41 (ARM)&lt;BR /&gt;Feature set: Mainline&lt;BR /&gt;Cache: No cache&lt;BR /&gt;Found Cortex-M33 r0p4, Little endian.&lt;BR /&gt;CPU could not be halted&lt;BR /&gt;Reset: Core did not halt after reset, trying to disable WDT.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via reset pin&lt;BR /&gt;Reset: VC_CORERESET did not halt CPU. (Debug logic also reset by reset pin?).&lt;BR /&gt;Reset: Reconnecting and manually halting CPU.&lt;BR /&gt;Found SW-DP with ID 0x6BA02477&lt;BR /&gt;DPIDR: 0x6BA02477&lt;BR /&gt;CoreSight SoC-400 or earlier&lt;BR /&gt;AP map detection skipped. Manually configured AP map found.&lt;BR /&gt;AP[0]: AHB-AP (IDR: Not set)&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FE000&lt;BR /&gt;CPUID register: 0x410FD214. Implementer code: 0x41 (ARM)&lt;BR /&gt;Feature set: Mainline&lt;BR /&gt;Cache: No cache&lt;BR /&gt;Found Cortex-M33 r0p4, Little endian.&lt;BR /&gt;CPU could not be halted&lt;BR /&gt;Reset: Failed. Toggling reset pin and trying reset strategy again.&lt;BR /&gt;Failed to attach to CPU. Trying connect under reset.&lt;BR /&gt;Found SW-DP with ID 0x6BA02477&lt;BR /&gt;SWD speed too high. Reduced from 4000 kHz to 2700 kHz for stability&lt;BR /&gt;DPIDR: 0x6BA02477&lt;BR /&gt;CoreSight SoC-400 or earlier&lt;BR /&gt;AP map detection skipped. Manually configured AP map found.&lt;BR /&gt;AP[0]: AHB-AP (IDR: Not set)&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FE000&lt;BR /&gt;CPUID register: 0x410FD214. Implementer code: 0x41 (ARM)&lt;BR /&gt;Feature set: Mainline&lt;BR /&gt;Cache: No cache&lt;BR /&gt;Found Cortex-M33 r0p4, Little endian.&lt;BR /&gt;Reset: ARMv8M core with Security Extension enabled detected.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via AIRCR.SYSRESETREQ.&lt;BR /&gt;Core did not halt after reset, halting it manually.&lt;BR /&gt;Reset: Core did not halt after reset, trying to disable WDT.&lt;BR /&gt;Reset: ARMv8M core with Security Extension enabled detected.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via AIRCR.SYSRESETREQ.&lt;BR /&gt;Core did not halt after reset, halting it manually.&lt;BR /&gt;Reset: CPU did not halt after reset.&lt;BR /&gt;Reset: Using fallback: Reset pin.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via reset pin&lt;BR /&gt;Reset: VC_CORERESET did not halt CPU. (Debug logic also reset by reset pin?).&lt;BR /&gt;Reset: Reconnecting and manually halting CPU.&lt;BR /&gt;Found SW-DP with ID 0x6BA02477&lt;BR /&gt;DPIDR: 0x6BA02477&lt;BR /&gt;CoreSight SoC-400 or earlier&lt;BR /&gt;AP map detection skipped. Manually configured AP map found.&lt;BR /&gt;AP[0]: AHB-AP (IDR: Not set)&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FE000&lt;BR /&gt;CPUID register: 0x410FD214. Implementer code: 0x41 (ARM)&lt;BR /&gt;Feature set: Mainline&lt;BR /&gt;Cache: No cache&lt;BR /&gt;Found Cortex-M33 r0p4, Little endian.&lt;BR /&gt;CPU could not be halted&lt;BR /&gt;Reset: Core did not halt after reset, trying to disable WDT.&lt;BR /&gt;Reset: Halt core after reset via DEMCR.VC_CORERESET.&lt;BR /&gt;Reset: Reset device via reset pin&lt;BR /&gt;Reset: VC_CORERESET did not halt CPU. (Debug logic also reset by reset pin?).&lt;BR /&gt;Reset: Reconnecting and manually halting CPU.&lt;BR /&gt;Found SW-DP with ID 0x6BA02477&lt;BR /&gt;DPIDR: 0x6BA02477&lt;BR /&gt;CoreSight SoC-400 or earlier&lt;BR /&gt;AP map detection skipped. Manually configured AP map found.&lt;BR /&gt;AP[0]: AHB-AP (IDR: Not set)&lt;BR /&gt;AP[0]: Core found&lt;BR /&gt;AP[0]: AHB-AP ROM base: 0xE00FE000&lt;BR /&gt;CPUID register: 0x410FD214. Implementer code: 0x41 (ARM)&lt;BR /&gt;Feature set: Mainline&lt;BR /&gt;Cache: No cache&lt;BR /&gt;Found Cortex-M33 r0p4, Little endian.&lt;BR /&gt;CPU could not be halted&lt;BR /&gt;CPU could not be halted&lt;/P&gt;&lt;P&gt;****** Error: Failed to halt CPU.&lt;/P&gt;</description>
      <pubDate>Wed, 10 Jan 2024 19:31:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7642-unable-to-connect-debug-after-programming-and-power-cycle/m-p/1786343#M11155</guid>
      <dc:creator>clittle</dc:creator>
      <dc:date>2024-01-10T19:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: PN7642 unable to connect debug after programming and power cycle</title>
      <link>https://community.nxp.com/t5/NFC/PN7642-unable-to-connect-debug-after-programming-and-power-cycle/m-p/1787443#M11161</link>
      <description>&lt;P&gt;Some more info.&lt;/P&gt;&lt;P&gt;It looks like the call to LPUART_Init calls&amp;nbsp;&amp;nbsp;PN76_Common_Wait(50); which causes the lpuart_polling example to reset the board on our proto. This code runs fine on the devkit.&amp;nbsp;&lt;/P&gt;&lt;P&gt;We took another prototype that had not been programmed yet and put a long for loop before LPUART_Init is called. With this programmed our prototype it would still reset when PN76_Common_Wait is called, but with the loop in there we are able to reconnect the debugger. So it appears that without the loop the proto gets stuck in a tight reset loop and the debugger not get control.&lt;/P&gt;&lt;P&gt;Note we also have a ticket for the LPUART_Init reset issue here:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/NFC/PN7642-resets-when-calling-LPUART-Init/m-p/1785561" target="_blank"&gt;https://community.nxp.com/t5/NFC/PN7642-resets-when-calling-LPUART-Init/m-p/1785561&lt;/A&gt;&lt;/P&gt;&lt;P&gt;To resolve we need to figure out why these protos reset when&amp;nbsp;PN76_Common_Wait is called from LPUART_Init but not the devkits. We also need to see if we can recover the protos that are programmed in a tight loop.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jan 2024 19:34:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7642-unable-to-connect-debug-after-programming-and-power-cycle/m-p/1787443#M11161</guid>
      <dc:creator>clittle</dc:creator>
      <dc:date>2024-01-11T19:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: PN7642 unable to connect debug after programming and power cycle</title>
      <link>https://community.nxp.com/t5/NFC/PN7642-unable-to-connect-debug-after-programming-and-power-cycle/m-p/1869008#M11703</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/86692"&gt;@clittle&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have you been able to fix this? I had the same issue with&amp;nbsp;&lt;SPAN&gt;PN76_Common_Wait(50); but on the OM27642 devkit and now my devkit is stuck and cpu cannot be halted.&lt;BR /&gt;Do you have any updates&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/158520"&gt;@Fabian_R&lt;/a&gt;&amp;nbsp;?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best regards,&lt;BR /&gt;Parmiss&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 15:58:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7642-unable-to-connect-debug-after-programming-and-power-cycle/m-p/1869008#M11703</guid>
      <dc:creator>Parmiss</dc:creator>
      <dc:date>2024-05-20T15:58:19Z</dc:date>
    </item>
    <item>
      <title>Re: PN7642 unable to connect debug after programming and power cycle</title>
      <link>https://community.nxp.com/t5/NFC/PN7642-unable-to-connect-debug-after-programming-and-power-cycle/m-p/1869042#M11704</link>
      <description>I never found a fix. I removed the one call to PN76_Common_Wait(50); and that prevented the reset. Our application was for simple evaluation so this was good enough for what we needed.</description>
      <pubDate>Mon, 20 May 2024 17:03:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7642-unable-to-connect-debug-after-programming-and-power-cycle/m-p/1869042#M11704</guid>
      <dc:creator>clittle</dc:creator>
      <dc:date>2024-05-20T17:03:37Z</dc:date>
    </item>
    <item>
      <title>Re: PN7642 unable to connect debug after programming and power cycle</title>
      <link>https://community.nxp.com/t5/NFC/PN7642-unable-to-connect-debug-after-programming-and-power-cycle/m-p/1869048#M11705</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;I hope you can answer this too. You said that lpuart example was working on EVK for you. Did you connect the UART pins directly to PC and use a serial terminal to send/receive packets? Or did you have the LPC55S16-EVK that is mentioned in the datasheet to host the uart interface?&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 17:10:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7642-unable-to-connect-debug-after-programming-and-power-cycle/m-p/1869048#M11705</guid>
      <dc:creator>Parmiss</dc:creator>
      <dc:date>2024-05-20T17:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: PN7642 unable to connect debug after programming and power cycle</title>
      <link>https://community.nxp.com/t5/NFC/PN7642-unable-to-connect-debug-after-programming-and-power-cycle/m-p/1869049#M11706</link>
      <description>Connected the UART pins direct to the PC with a USB to TTL serial adapter if I remember correctly.</description>
      <pubDate>Mon, 20 May 2024 17:19:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7642-unable-to-connect-debug-after-programming-and-power-cycle/m-p/1869049#M11706</guid>
      <dc:creator>clittle</dc:creator>
      <dc:date>2024-05-20T17:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: PN7642 unable to connect debug after programming and power cycle</title>
      <link>https://community.nxp.com/t5/NFC/PN7642-unable-to-connect-debug-after-programming-and-power-cycle/m-p/1869056#M11707</link>
      <description>&lt;P&gt;I did the same and removed the wait function but could get some junk data only. I was even getting interrupts for receiving data but then the receive operation was failing. The baud rate was right so I think an internal clock could be the problem.&lt;BR /&gt;But now I can't even use the evk anymore as cpu cannot be halted.&lt;/P&gt;&lt;P&gt;Thanks for your help. Hope I can get some support.&lt;/P&gt;</description>
      <pubDate>Mon, 20 May 2024 17:31:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7642-unable-to-connect-debug-after-programming-and-power-cycle/m-p/1869056#M11707</guid>
      <dc:creator>Parmiss</dc:creator>
      <dc:date>2024-05-20T17:31:25Z</dc:date>
    </item>
  </channel>
</rss>

