<?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 debug connect to M4 after watchdog reset in Vybrid Processors</title>
    <link>https://community.nxp.com/t5/Vybrid-Processors/Cannot-debug-connect-to-M4-after-watchdog-reset/m-p/627685#M5733</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;I'm still missing something here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second core is also in reset after the SoC was power cycled (off, on), and so by this logic you highlighted above, I wouldn't be able to connect to it (as I wrote above with JLink)&amp;nbsp; in this case as well. But this is not what happening, as I can connect and debug it with JLink just fine after power cycling the board.&lt;/P&gt;&lt;P&gt;Also JLink probably has it's own means to reset the CM4 core, no? Else I would have to power cycle the board each time I want to reload/restart debugging firmware.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Dec 2016 09:21:17 GMT</pubDate>
    <dc:creator>dry</dc:creator>
    <dc:date>2016-12-08T09:21:17Z</dc:date>
    <item>
      <title>Cannot debug connect to M4 after watchdog reset</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Cannot-debug-connect-to-M4-after-watchdog-reset/m-p/627683#M5731</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;BR /&gt; While debugging the M4 side, if the M4 watchdog reset happens and system restarts, I cannot connect to it with JLink unless I power cycle the board. Just reset does not help, have to power on / off the board.&lt;/P&gt;&lt;P&gt;Is this expected behavior?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 Nov 2016 13:01:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Cannot-debug-connect-to-M4-after-watchdog-reset/m-p/627683#M5731</guid>
      <dc:creator>dry</dc:creator>
      <dc:date>2016-11-03T13:01:54Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot debug connect to M4 after watchdog reset</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Cannot-debug-connect-to-M4-after-watchdog-reset/m-p/627684#M5732</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp; From section 4.1.3 (Enabling a second core) of app note AN4947 (Understanding &lt;BR /&gt;Vybrid Architecture) :&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;“The second core is not clocked after reset. The special purpose register in system reset &lt;BR /&gt;controllers can hold an entry point for secondary core and an argument for entry function. &lt;BR /&gt;Once set, the clock for a secondary core can be enabled. From that moment, both cores &lt;BR /&gt;will run their own code.”&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P class=""&gt;&lt;SPAN class=""&gt;&lt;A class="link-titled" href="http://www.nxp.com/assets/documents/data/en/application-notes/AN4947.pdf" title="http://www.nxp.com/assets/documents/data/en/application-notes/AN4947.pdf"&gt;http://www.nxp.com/assets/documents/data/en/application-notes/AN4947.pdf&lt;/A&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 02:48:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Cannot-debug-connect-to-M4-after-watchdog-reset/m-p/627684#M5732</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-12-08T02:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot debug connect to M4 after watchdog reset</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Cannot-debug-connect-to-M4-after-watchdog-reset/m-p/627685#M5733</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Yuri,&lt;/P&gt;&lt;P&gt;I'm still missing something here.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The second core is also in reset after the SoC was power cycled (off, on), and so by this logic you highlighted above, I wouldn't be able to connect to it (as I wrote above with JLink)&amp;nbsp; in this case as well. But this is not what happening, as I can connect and debug it with JLink just fine after power cycling the board.&lt;/P&gt;&lt;P&gt;Also JLink probably has it's own means to reset the CM4 core, no? Else I would have to power cycle the board each time I want to reload/restart debugging firmware.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 09:21:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Cannot-debug-connect-to-M4-after-watchdog-reset/m-p/627685#M5733</guid>
      <dc:creator>dry</dc:creator>
      <dc:date>2016-12-08T09:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot debug connect to M4 after watchdog reset</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Cannot-debug-connect-to-M4-after-watchdog-reset/m-p/627686#M5734</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Correction there:&amp;nbsp; "The second core is also not _clocked_ after the SoC was power cycled"....&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 09:22:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Cannot-debug-connect-to-M4-after-watchdog-reset/m-p/627686#M5734</guid>
      <dc:creator>dry</dc:creator>
      <dc:date>2016-12-08T09:22:59Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot debug connect to M4 after watchdog reset</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Cannot-debug-connect-to-M4-after-watchdog-reset/m-p/627687#M5735</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;It is necessary to run the CM4 after reset, as described in section&amp;nbsp;&lt;/P&gt;&lt;P&gt;7.5.11 (Running Secondary Core) of&amp;nbsp;VFxxx Controller Reference Manual.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/assets/documents/data/en/reference-manuals/VFXXXRM.pdf" title="http://www.nxp.com/assets/documents/data/en/reference-manuals/VFXXXRM.pdf"&gt;http://www.nxp.com/assets/documents/data/en/reference-manuals/VFXXXRM.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 09:42:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Cannot-debug-connect-to-M4-after-watchdog-reset/m-p/627687#M5735</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-12-08T09:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot debug connect to M4 after watchdog reset</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Cannot-debug-connect-to-M4-after-watchdog-reset/m-p/627688#M5736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Are you saying it is necessary for the CM4 to be running&amp;nbsp; before you can connect to it with JLink and debug on CM4? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 11:00:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Cannot-debug-connect-to-M4-after-watchdog-reset/m-p/627688#M5736</guid>
      <dc:creator>dry</dc:creator>
      <dc:date>2016-12-08T11:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot debug connect to M4 after watchdog reset</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Cannot-debug-connect-to-M4-after-watchdog-reset/m-p/627689#M5737</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let me explain more the problem in my original question, in case there is misunderstanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I start with A5 booted, CM4 is not clocked and not enabled yet. Using JLink, I can connect to the CM4, upload and debug the firmware. Using JLink I can also restart that CM4 debugging session, without impacting on A5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next the WDOG-M4 is triggered and the system is reset (reset cause WDOG-M4), A5 boots and again CM4 is not enabled yet. Now with JLink i cannot connect to the target at all, to reset the core or upload the firmware. Even if I trigger external reset, I still cannot connect to it. Only if I power on , off the board (reset cause POR), (and again, A5 running but CM4 is still no enabled yet before JLink connects), then I can start debugging with JLink again on the M4.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This behavior looks like only affects JLink's ability to connect the CM4 and start it. I can, with software running on the A5, load the M4 firmware and enable CM4 and run it, after any of the watchdogs resets.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Dec 2016 11:43:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Cannot-debug-connect-to-M4-after-watchdog-reset/m-p/627689#M5737</guid>
      <dc:creator>dry</dc:creator>
      <dc:date>2016-12-08T11:43:04Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot debug connect to M4 after watchdog reset</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Cannot-debug-connect-to-M4-after-watchdog-reset/m-p/627690#M5738</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Perhaps, it makes sense to consult with Jlink support ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Yuri.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 01:05:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Cannot-debug-connect-to-M4-after-watchdog-reset/m-p/627690#M5738</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-12-09T01:05:07Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot debug connect to M4 after watchdog reset</title>
      <link>https://community.nxp.com/t5/Vybrid-Processors/Cannot-debug-connect-to-M4-after-watchdog-reset/m-p/627691#M5739</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes,&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt; it is necessary for the CM4 to be running&amp;nbsp; before you can connect to it with JLink and debug on CM4.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;~Yuri.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Dec 2016 01:06:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Vybrid-Processors/Cannot-debug-connect-to-M4-after-watchdog-reset/m-p/627691#M5739</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2016-12-09T01:06:28Z</dc:date>
    </item>
  </channel>
</rss>

