<?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: Reset Register always set to 0 in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reset-Register-always-set-to-0/m-p/430283#M24858</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Xavier BUHOT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark's response might be the solution to your issue. Just to complement, there is an application note (&lt;STRONG&gt;AN4445&lt;/STRONG&gt;) that provides details about the changes between silicon revisions. Here is the link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/32bit/doc/app_note/AN4445.pdf" title="http://cache.freescale.com/files/32bit/doc/app_note/AN4445.pdf"&gt;http://cache.freescale.com/files/32bit/doc/app_note/AN4445.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your problem persists please just let us know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 25 Jun 2015 21:44:40 GMT</pubDate>
    <dc:creator>Jorge_Gonzalez</dc:creator>
    <dc:date>2015-06-25T21:44:40Z</dc:date>
    <item>
      <title>Reset Register always set to 0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reset-Register-always-set-to-0/m-p/430281#M24856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everybody,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on a home-made bootloader for my firm, and I try to get the MCU reset reason from MC_SRSH and MC_SRSL to handle different behavior.&lt;/P&gt;&lt;P&gt;This register is always equal to 0 on my MK60DX256VLQ10. It don't matter if I reset using IAR, power-off/power-on, or software reset using AIRCR_SYSRESETREQ.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this code :&lt;/P&gt;&lt;P&gt;if (MC_SRSH == 0 &amp;amp;&amp;amp; MC_SRLS)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; printf("unknow reason");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is alway working.. Not matter what Im trying to do.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However my test-program is working fine when i'm using the development kit TWR_K60N512. I'm kindda lost on this problem. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know why SRS is always set to 0 ? Or if there is something to init before accessing to this register ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 08:13:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reset-Register-always-set-to-0/m-p/430281#M24856</guid>
      <dc:creator>xavierbuhot</dc:creator>
      <dc:date>2015-06-25T08:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Register always set to 0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reset-Register-always-set-to-0/m-p/430282#M24857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Xavier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suspect that your TWR-K60N512 has an old revision 1 Kinetis (K60xxx&lt;STRONG&gt;Z&lt;/STRONG&gt;) on it which has the Mode Control block but your MK60DX256VLQ10 is a revision 2 part (no Z) which has no Mode Control, but instead has the System Mode Controller at this address.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this case you need to read the reset cause in the &lt;STRONG&gt;Reset Control Module&lt;/STRONG&gt; instead (&lt;EM&gt;&lt;STRONG&gt;RCM_SRS0&lt;/STRONG&gt;&lt;/EM&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carefully check the user manuals since there are different versions for the Rev. 1 and Rev. 2 parts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kinetis: &lt;A href="http://www.utasker.com/kinetis.html" title="http://www.utasker.com/kinetis.html"&gt;µTasker Kinetis support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;K60: &lt;A href="http://www.utasker.com/kinetis/TWR-K60N512.html" title="http://www.utasker.com/kinetis/TWR-K60N512.html"&gt;µTasker Kinetis TWR-K60N512 support&lt;/A&gt;&amp;nbsp; / &lt;A href="http://www.utasker.com/kinetis/TWR-K60D100M.html" title="http://www.utasker.com/kinetis/TWR-K60D100M.html"&gt;µTasker Kinetis TWR-K60D100M support&lt;/A&gt;&amp;nbsp; / &lt;A href="http://www.utasker.com/kinetis/TWR-K60F120M.html" title="http://www.utasker.com/kinetis/TWR-K60F120M.html"&gt;µTasker Kinetis TWR-K60F120M support&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;EM&gt;For the complete "out-of-the-box" Kinetis experience and faster time to market&lt;/EM&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 11:19:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reset-Register-always-set-to-0/m-p/430282#M24857</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2015-06-25T11:19:35Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Register always set to 0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reset-Register-always-set-to-0/m-p/430283#M24858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Xavier BUHOT:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark's response might be the solution to your issue. Just to complement, there is an application note (&lt;STRONG&gt;AN4445&lt;/STRONG&gt;) that provides details about the changes between silicon revisions. Here is the link:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/32bit/doc/app_note/AN4445.pdf" title="http://cache.freescale.com/files/32bit/doc/app_note/AN4445.pdf"&gt;http://cache.freescale.com/files/32bit/doc/app_note/AN4445.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If your problem persists please just let us know.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Jun 2015 21:44:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reset-Register-always-set-to-0/m-p/430283#M24858</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2015-06-25T21:44:40Z</dc:date>
    </item>
    <item>
      <title>Re: Reset Register always set to 0</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reset-Register-always-set-to-0/m-p/430284#M24859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you it works now.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Jun 2015 07:32:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Reset-Register-always-set-to-0/m-p/430284#M24859</guid>
      <dc:creator>xavierbuhot</dc:creator>
      <dc:date>2015-06-26T07:32:36Z</dc:date>
    </item>
  </channel>
</rss>

