<?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 Stop1 mode, 9S08QG Codewarrior V6.1 P&amp;E Multilink BDM in 8-bit Microcontrollers</title>
    <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Stop1-mode-9S08QG-Codewarrior-V6-1-P-E-Multilink-BDM/m-p/192360#M14823</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Anybody notice the debugger just ignores the STOP instruction?.&amp;nbsp; Just to make sure I modified my programming &amp;amp; calibration fixture for current measurement, to confirm the 0.5uA supply current at "lights out" time of my application operating without the debugger.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I missed that in my production code "perfected"&amp;nbsp; using a Cyclone supplying power (it died under Freescale warranty, so a quick switch to Multilink and my fixture until production programming is needed), with STOP in the main loop:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;for(;&lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif"&gt;&lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt;&lt;/A&gt;{&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;. / lights out&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;asm stop}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Then in some code for an experiment, I found code after&amp;nbsp;a STOP&amp;nbsp;instruction not in such loop executing, trace through it, ~4.6mA supply in the "lights out" loop, etc.&amp;nbsp; I can&amp;nbsp;trace thru&amp;nbsp;the&amp;nbsp;instructions in the loop executing in order, with STOP instruction doing nothing.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;No where can I find this behavior documented.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 21 Feb 2008 04:22:23 GMT</pubDate>
    <dc:creator>DSbob</dc:creator>
    <dc:date>2008-02-21T04:22:23Z</dc:date>
    <item>
      <title>Stop1 mode, 9S08QG Codewarrior V6.1 P&amp;E Multilink BDM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Stop1-mode-9S08QG-Codewarrior-V6-1-P-E-Multilink-BDM/m-p/192360#M14823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Anybody notice the debugger just ignores the STOP instruction?.&amp;nbsp; Just to make sure I modified my programming &amp;amp; calibration fixture for current measurement, to confirm the 0.5uA supply current at "lights out" time of my application operating without the debugger.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I missed that in my production code "perfected"&amp;nbsp; using a Cyclone supplying power (it died under Freescale warranty, so a quick switch to Multilink and my fixture until production programming is needed), with STOP in the main loop:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;for(;&lt;A href="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif"&gt;&lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt;&lt;/A&gt;{&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;. / lights out&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;asm stop}&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Then in some code for an experiment, I found code after&amp;nbsp;a STOP&amp;nbsp;instruction not in such loop executing, trace through it, ~4.6mA supply in the "lights out" loop, etc.&amp;nbsp; I can&amp;nbsp;trace thru&amp;nbsp;the&amp;nbsp;instructions in the loop executing in order, with STOP instruction doing nothing.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;No where can I find this behavior documented.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 04:22:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Stop1-mode-9S08QG-Codewarrior-V6-1-P-E-Multilink-BDM/m-p/192360#M14823</guid>
      <dc:creator>DSbob</dc:creator>
      <dc:date>2008-02-21T04:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Stop1 mode, 9S08QG Codewarrior V6.1 P&amp;E Multilink BDM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Stop1-mode-9S08QG-Codewarrior-V6-1-P-E-Multilink-BDM/m-p/192361#M14824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Read in the manual:&lt;BR /&gt;&lt;BR /&gt;Wait or Stop Status — When the target CPU is in wait or stop mode, most BDC commands cannot function.&lt;BR /&gt;&lt;BR /&gt;Not sure how P&amp;amp;E deals with this, but don't count on stop mode working the same while debugging.&lt;BR /&gt;Could be it gets ignored by design.&lt;BR /&gt;&lt;BR /&gt;It also says:&lt;BR /&gt;Oscillator runs in stop mode, if BDC enabled&lt;BR /&gt;Again, don't know exactly how this is dealt with.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 04:56:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Stop1-mode-9S08QG-Codewarrior-V6-1-P-E-Multilink-BDM/m-p/192361#M14824</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-02-21T04:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Stop1 mode, 9S08QG Codewarrior V6.1 P&amp;E Multilink BDM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Stop1-mode-9S08QG-Codewarrior-V6-1-P-E-Multilink-BDM/m-p/192362#M14825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Using the BDM while in stop mode is described in the HCS08 reference manual.&amp;nbsp; Refer to section 3.6.4 (page 29):&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://www.freescale.com/files/microcontrollers/doc/ref_manual/HCS08RMV1.pdf?fsrch=1" rel="nofollow" target="_blank"&gt;http://www.freescale.com/files/microcontrollers/doc/ref_manual/HCS08RMV1.pdf?fsrch=1&lt;/A&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 05:09:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Stop1-mode-9S08QG-Codewarrior-V6-1-P-E-Multilink-BDM/m-p/192362#M14825</guid>
      <dc:creator>allawtterb</dc:creator>
      <dc:date>2008-02-21T05:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Stop1 mode, 9S08QG Codewarrior V6.1 P&amp;E Multilink BDM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Stop1-mode-9S08QG-Codewarrior-V6-1-P-E-Multilink-BDM/m-p/192363#M14826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Thanks JimDon.&amp;nbsp; It did occur to me having BDM ignore stop might sidestep some problem.&amp;nbsp; I thought by "manual" you might have meant the Technical Summary that came with the Multilink.&amp;nbsp; Nothing there.&amp;nbsp; Whatever came with the Cyclone is long gone for the warranty credit.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks allawttreb.&amp;nbsp; I've been working mostly from the QG data sheet and pretty confusing IDE help.&amp;nbsp; That Reference Manual section just says BDM replaces STOP1 Behavior with STOP3, and I don't see where including &lt;FONT face="Helvetica-Bold"&gt;&lt;/FONT&gt;&lt;P align="left"&gt;&lt;FONT face="Helvetica-Bold"&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Table 3-3. BDM Enabled Stop Mode Behavior&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Helvetica-Bold"&gt;&lt;FONT size="2"&gt;the instruction would be ignored, or what in my application would cause code execution to resume.&amp;nbsp; Too many manuals.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Helvetica-Bold"&gt;&lt;FONT size="2"&gt;&lt;STRONG&gt;whew!&lt;/STRONG&gt;&amp;nbsp; Think I just barely avoided executing the endless loop with the write to flash routines in it.&amp;nbsp; Oh well, my current target is just scrap and I have plenty of others.&amp;nbsp; I think that is enough for me to work toward completing the experiment.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;FONT face="Helvetica-Bold"&gt;&lt;FONT size="2"&gt;Sorry for the smiley face in the code snippet.&amp;nbsp; I'll preview the post this time.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 05:42:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Stop1-mode-9S08QG-Codewarrior-V6-1-P-E-Multilink-BDM/m-p/192363#M14826</guid>
      <dc:creator>DSbob</dc:creator>
      <dc:date>2008-02-21T05:42:13Z</dc:date>
    </item>
    <item>
      <title>Re: Stop1 mode, 9S08QG Codewarrior V6.1 P&amp;E Multilink BDM</title>
      <link>https://community.nxp.com/t5/8-bit-Microcontrollers/Stop1-mode-9S08QG-Codewarrior-V6-1-P-E-Multilink-BDM/m-p/192364#M14827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;To avoid the smiley face phenomenon, just include&amp;nbsp;spaces between semi-colons, and between the semi-colon and the closing parenthesis (which I did not do here &lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" id="smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Feb 2008 12:07:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/8-bit-Microcontrollers/Stop1-mode-9S08QG-Codewarrior-V6-1-P-E-Multilink-BDM/m-p/192364#M14827</guid>
      <dc:creator>bigmac</dc:creator>
      <dc:date>2008-02-21T12:07:11Z</dc:date>
    </item>
  </channel>
</rss>

