<?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>S12 / MagniV MicrocontrollersのトピックRe: S12 Differences between PIN reset and COP reset</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Differences-between-HW-reset-and-COP-reset/m-p/141602#M3284</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;There is no real difference for the internal circuitry, a reset is a reset.&lt;BR /&gt;But you can see a difference on the RESET pin between an internal reset and an external reset.&lt;BR /&gt;&lt;BR /&gt;Let's take the &lt;A href="http://www.freescale.com/files/microcontrollers/doc/data_sheet/MC9S12C128V1.pdf?pspll=1" rel="nofollow" target="_blank"&gt;C128 datasheet&lt;/A&gt;. But this also applied on others&amp;nbsp; Look at figures 9.26 and 9.27 page 285.&lt;BR /&gt;Because a drawing is sometimes better than a long speech &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Alban.&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 30 Jul 2007 16:38:49 GMT</pubDate>
    <dc:creator>Alban</dc:creator>
    <dc:date>2007-07-30T16:38:49Z</dc:date>
    <item>
      <title>Differences between HW reset and COP reset</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Differences-between-HW-reset-and-COP-reset/m-p/141601#M3283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Which are the differences between the&amp;nbsp; HW reset and aCOP reset ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've no Serial Monitor in my board.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I use HW reset the software in the board restart,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;bit when I use a COP reset it doesn't.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With Serial Monitor in my board i didn't see any difference.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is not a COP reset equivalent to HW reset without Serial Monitor ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 16:31:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Differences-between-HW-reset-and-COP-reset/m-p/141601#M3283</guid>
      <dc:creator>PsychoDebugger</dc:creator>
      <dc:date>2007-07-30T16:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: S12 Differences between PIN reset and COP reset</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Differences-between-HW-reset-and-COP-reset/m-p/141602#M3284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;There is no real difference for the internal circuitry, a reset is a reset.&lt;BR /&gt;But you can see a difference on the RESET pin between an internal reset and an external reset.&lt;BR /&gt;&lt;BR /&gt;Let's take the &lt;A href="http://www.freescale.com/files/microcontrollers/doc/data_sheet/MC9S12C128V1.pdf?pspll=1" rel="nofollow" target="_blank"&gt;C128 datasheet&lt;/A&gt;. But this also applied on others&amp;nbsp; Look at figures 9.26 and 9.27 page 285.&lt;BR /&gt;Because a drawing is sometimes better than a long speech &lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Alban.&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 16:38:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Differences-between-HW-reset-and-COP-reset/m-p/141602#M3284</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2007-07-30T16:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: S12 Differences between PIN reset and COP reset</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Differences-between-HW-reset-and-COP-reset/m-p/141603#M3285</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;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/DIV&gt;&lt;/DIV&gt;Hi Alban,&lt;BR /&gt;&lt;BR /&gt;I thought as you say that a reset is a reset.&lt;BR /&gt;But there's something that i don't understand.&lt;BR /&gt;&lt;BR /&gt;I use NE64 and when i use PIN reset it works fine,&lt;BR /&gt;instead COP reset does't work yet.&lt;BR /&gt;Previously i used Serial Monitor , i tested my firmware and it worked.&lt;BR /&gt;The only change i've done is that now i've not Serial Monitor.&lt;BR /&gt;&lt;BR /&gt;MyReset function has these two instruction:&lt;BR /&gt;&lt;BR /&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;MyReset()
{
    COPCTL = 0x01;    // COP activated with shortest timeout
    ARMCOP = 0x47;    // no 0x55 and 0xAA
}&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Really i see that reset LED does't light on....&lt;BR /&gt;Is there something i have to be care to in firmware now that i'm working without serial monitor?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by PsychoDebugger on &lt;SPAN class="date_text"&gt;2007-07-30&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:25 AM&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by PsychoDebugger on &lt;SPAN class="date_text"&gt;2007-07-30&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:25 AM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 08:42:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Differences-between-HW-reset-and-COP-reset/m-p/141603#M3285</guid>
      <dc:creator>PsychoDebugger</dc:creator>
      <dc:date>2020-10-29T08:42:06Z</dc:date>
    </item>
    <item>
      <title>Re: S12 Differences between PIN reset and COP reset</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Differences-between-HW-reset-and-COP-reset/m-p/141604#M3286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Well, I may have an good idea:&lt;BR /&gt;&lt;BR /&gt;The COP Reset is another vector from the PIN Reset !&lt;BR /&gt;You need to take care of the COP Reset from Vector $FFFA-$FFFB.&lt;BR /&gt;&lt;BR /&gt;Cheers,&lt;BR /&gt;Alban.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jul 2007 17:50:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Differences-between-HW-reset-and-COP-reset/m-p/141604#M3286</guid>
      <dc:creator>Alban</dc:creator>
      <dc:date>2007-07-30T17:50:02Z</dc:date>
    </item>
    <item>
      <title>Re: Differences between HW reset and COP reset</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Differences-between-HW-reset-and-COP-reset/m-p/141605#M3287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;To expand on Alban's comment a bit, there are a few different reset vecotrs that have to be initilized. The watchdog having a different reset vector is useful in the case of adding a debugging function when the watchdog is reset to somehow communicated what happened that caused that reset. Here is a thread from the forum what I show what I did to initilize the reset vectors in Codewarrior.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://forums.freescale.com/freescale/board/message?board.id=16BITCOMM&amp;amp;thread.id=4223" target="test_blank"&gt;http://forums.freescale.com/freescale/board/message?board.id=16BITCOMM&amp;amp;thread.id=4223&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Best of luck.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 04:59:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Differences-between-HW-reset-and-COP-reset/m-p/141605#M3287</guid>
      <dc:creator>Shugie</dc:creator>
      <dc:date>2007-07-31T04:59:42Z</dc:date>
    </item>
    <item>
      <title>Re: Differences between HW reset and COP reset</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Differences-between-HW-reset-and-COP-reset/m-p/141606#M3288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;And as an explanation of the serial monitor. What the serial monitor does is that it initilizes all the resets, pll, etc... then looks to see if it should jump to user code or loop its own code waiting for a program to be loaded. This means that when you remove the serial monitor it is your responsiblity to do all of this. Codewarrior took care of all of it for me when I did the project wizard except for the watchdog reset. This is why you are having problems.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 05:03:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Differences-between-HW-reset-and-COP-reset/m-p/141606#M3288</guid>
      <dc:creator>Shugie</dc:creator>
      <dc:date>2007-07-31T05:03:32Z</dc:date>
    </item>
    <item>
      <title>Re: Differences between HW reset and COP reset</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Differences-between-HW-reset-and-COP-reset/m-p/141607#M3289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Thank you for the answer.&lt;BR /&gt;&lt;BR /&gt;Now i've loaded Serial Monitor again, and all works,&lt;BR /&gt;but&amp;nbsp; I'm going to study the vectors and how to jump to my code without serial monitor.&lt;BR /&gt;&lt;BR /&gt;I'll say you the results..if there will be &lt;IMG alt=":smileytongue:" class="emoticon emoticon-smileytongue" id="smileytongue" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-tongue.gif" title="Smiley Tongue" /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 22:47:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/Differences-between-HW-reset-and-COP-reset/m-p/141607#M3289</guid>
      <dc:creator>PsychoDebugger</dc:creator>
      <dc:date>2007-07-31T22:47:35Z</dc:date>
    </item>
  </channel>
</rss>

