<?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>CodeWarrior for MCUのトピックRe: HCS12 CW3,1 debugger not able to continue after breakpoint-seems to reset. COP???</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HCS12-CW3-1-debugger-not-able-to-continue-after-breakpoint-seems/m-p/135114#M1660</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I don't know about beans, but in C or asm, simply write 0x00 to COPCTL to disable the wdog. This register is write-once, but since you will be running in special single chip mode when debugging, that shouldn't be a problem.&lt;BR /&gt;&lt;BR /&gt;An alternative is to set the flag COPWAI in CLKSEL register = "COP stops in wait mode".&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 01 Nov 2006 21:35:00 GMT</pubDate>
    <dc:creator>Lundin</dc:creator>
    <dc:date>2006-11-01T21:35:00Z</dc:date>
    <item>
      <title>HCS12 CW3,1 debugger not able to continue after breakpoint-seems to reset. COP???</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HCS12-CW3-1-debugger-not-able-to-continue-after-breakpoint-seems/m-p/135113#M1659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 2;"&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 2;"&gt;I use HCS12 CW 3.1 and Processor Expert 2.95.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 2;"&gt;I also use the WatchDog bean.&lt;BR /&gt;It is auto initialized at startup by PE code.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 2;"&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;While debugging I have problems with the processor&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 2;"&gt;restarting after&lt;BR /&gt;having stopped it to inspect memory, registers etc.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 2;"&gt;I have tried to enable the cpu bean "BDM Debug Support",&lt;BR /&gt;and setting the "Stop COP and RTI in Active BDM mode" to YES,&lt;BR /&gt;which does not help.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 2;"&gt;I have also attempted to disable the WatchDog bean.&lt;BR /&gt;Since the beans "Enable in ini. code" option is always greyed&lt;BR /&gt;I have not managed to do this.&lt;BR /&gt;The entire bean can be disabled but then my code breaks since the&lt;BR /&gt;WD code is no longer generated.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Courier New'; font-size: 2;"&gt;Q1: Why does it not help to "Stop COP and RTI in Active BDM mode"?&lt;BR /&gt;Q2: How can I temporarily disable the WatchDog bean?&lt;BR /&gt;Q3: What is the corect way to make sure the debugger can be started&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;and stopped without causing any disruptions in the cpu internals?&lt;BR /&gt;Q4: Is there anything else I might be doing wrong,&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;since I cannot "continue"" after stopping at a breakpoint.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style=": ; font-size: 2; font-family: 'Courier New';"&gt;Thanks,&lt;BR /&gt;Anders&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2006 16:48:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HCS12-CW3-1-debugger-not-able-to-continue-after-breakpoint-seems/m-p/135113#M1659</guid>
      <dc:creator>AndersJ</dc:creator>
      <dc:date>2006-11-01T16:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: HCS12 CW3,1 debugger not able to continue after breakpoint-seems to reset. COP???</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HCS12-CW3-1-debugger-not-able-to-continue-after-breakpoint-seems/m-p/135114#M1660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I don't know about beans, but in C or asm, simply write 0x00 to COPCTL to disable the wdog. This register is write-once, but since you will be running in special single chip mode when debugging, that shouldn't be a problem.&lt;BR /&gt;&lt;BR /&gt;An alternative is to set the flag COPWAI in CLKSEL register = "COP stops in wait mode".&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Nov 2006 21:35:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HCS12-CW3-1-debugger-not-able-to-continue-after-breakpoint-seems/m-p/135114#M1660</guid>
      <dc:creator>Lundin</dc:creator>
      <dc:date>2006-11-01T21:35:00Z</dc:date>
    </item>
  </channel>
</rss>

