<?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>Kinetis Microcontrollers中的主题 Re: Software Reset</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Reset/m-p/486749#M29993</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it is a processor Expert project but still dont know what is the difference with a SDK project. A SDK project can be made with processor expert too so that .pe file will be there too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In anyways i wonder why the "Mk22FA12.h" file which is the MCU definition file, doesnt have those definitions in it and if It is a Core part of the Cortex M3/M4 implementation, i cant understand why they are not there.&lt;/P&gt;&lt;P&gt;Why other people with a k22 can make a soft reset that way? are there diferents "Mk22FA12.h" files which include those definitions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have had to add all those definitions to its "Mk22FA12.h" file and so far it seems i can make a software reset successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way i have follow what it is said in this link &lt;A class="link-titled" href="https://mcuoneclipse.com/2015/07/01/how-to-reset-an-arm-cortex-m-with-software/" title="https://mcuoneclipse.com/2015/07/01/how-to-reset-an-arm-cortex-m-with-software/"&gt;How to Reset an ARM Cortex-M with Software | MCU on Eclipse&lt;/A&gt; so i can import more components, but after it, i cant find the KIN1 component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Nov 2016 08:49:51 GMT</pubDate>
    <dc:creator>alubeiro</dc:creator>
    <dc:date>2016-11-17T08:49:51Z</dc:date>
    <item>
      <title>Software Reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Reset/m-p/486743#M29987</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using MK22FN1M0VLL12 part no. from freescale Semiconductor.&lt;/P&gt;&lt;P&gt;I am unable to do software reset.&lt;/P&gt;&lt;P&gt;Can anyone guide me how to do software reset with example?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 08:17:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Reset/m-p/486743#M29987</guid>
      <dc:creator>mayursavaj</dc:creator>
      <dc:date>2016-04-28T08:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: Software Reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Reset/m-p/486744#M29988</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mayur,&lt;/P&gt;&lt;P&gt;see &lt;A href="https://mcuoneclipse.com/2015/07/01/how-to-reset-an-arm-cortex-m-with-software/" title="https://mcuoneclipse.com/2015/07/01/how-to-reset-an-arm-cortex-m-with-software/"&gt;https://mcuoneclipse.com/2015/07/01/how-to-reset-an-arm-cortex-m-with-software/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Apr 2016 08:32:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Reset/m-p/486744#M29988</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2016-04-28T08:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: Software Reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Reset/m-p/486745#M29989</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;Sometime ago i did a software reset on a K60 with the following line of code:&lt;/P&gt;&lt;P&gt;&lt;EM&gt;SCB_AIRCR = (SCB_AIRCR_VECTKEY(0x05FA) | SCB_AIRCR_SYSRESETREQ_MASK);&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now im working with MK22FN1M0AVLL12 but can´t find those definitions in its "Mk22FA12.h" file so im getting an error when i build the project.&lt;/P&gt;&lt;P&gt;I have looked for them with different but similar names but i didn't find them either. I have not found its address either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can i do this software reset?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 16:12:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Reset/m-p/486745#M29989</guid>
      <dc:creator>alubeiro</dc:creator>
      <dc:date>2016-11-16T16:12:34Z</dc:date>
    </item>
    <item>
      <title>Re: Software Reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Reset/m-p/486746#M29990</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alberto,&lt;/P&gt;&lt;P&gt;is this a SDK project? If yes, it uses different header files/declarations. I'm using the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="language-c line-numbers"&gt;&lt;CODE&gt;&lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;KIN1_SoftwareReset&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="comment token"&gt;/* Generic way to request a reset from software for ARM Cortex */&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="comment token"&gt;&lt;SPAN&gt;/* See &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fcommunity.freescale.com%2Fthread%2F99740" rel="nofollow noopener noreferrer" target="_blank"&gt;https://community.freescale.com/thread/99740&lt;/A&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; To write to this register, you must write 0x5FA to the VECTKEY field, otherwise the processor ignores the write.
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SYSRESETREQ will cause a system reset asynchronously, so need to wait afterwards.
&amp;nbsp;&amp;nbsp; */&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#if KIN1_IS_USING_KINETIS_SDK&lt;/SPAN&gt;
&amp;nbsp; SCB&lt;SPAN class="operator token"&gt;-&amp;gt;&lt;/SPAN&gt;AIRCR &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0x5FA&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;lt;&amp;lt;&lt;/SPAN&gt;SCB_AIRCR_VECTKEY_Pos&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt;SCB_AIRCR_SYSRESETREQ_Msk&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#else&lt;/SPAN&gt;
&amp;nbsp; SCB_AIRCR &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;SCB_AIRCR_VECTKEY&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="number token"&gt;0x5FA&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="operator token"&gt;|&lt;/SPAN&gt; SCB_AIRCR_SYSRESETREQ_MASK&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="property macro token"&gt;#endif&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="keyword token"&gt;for&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;/* wait until reset */&lt;/SPAN&gt;
&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;So you need to use that code for the SDK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 16:21:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Reset/m-p/486746#M29990</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2016-11-16T16:21:59Z</dc:date>
    </item>
    <item>
      <title>Re: Software Reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Reset/m-p/486747#M29991</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My college started the project. I believe it is a processor expert project.&lt;/P&gt;&lt;P&gt;If it is not a SDK project this option is not available?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way, how can i know if it is a SDK project or&amp;nbsp; not?&lt;/P&gt;&lt;P&gt;What is the difference?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 16:30:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Reset/m-p/486747#M29991</guid>
      <dc:creator>alubeiro</dc:creator>
      <dc:date>2016-11-16T16:30:22Z</dc:date>
    </item>
    <item>
      <title>Re: Software Reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Reset/m-p/486748#M29992</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If it has a .pe file in the project root, it is a Processor Expert project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Nov 2016 16:38:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Reset/m-p/486748#M29992</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2016-11-16T16:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Software Reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Reset/m-p/486749#M29993</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then it is a processor Expert project but still dont know what is the difference with a SDK project. A SDK project can be made with processor expert too so that .pe file will be there too.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In anyways i wonder why the "Mk22FA12.h" file which is the MCU definition file, doesnt have those definitions in it and if It is a Core part of the Cortex M3/M4 implementation, i cant understand why they are not there.&lt;/P&gt;&lt;P&gt;Why other people with a k22 can make a soft reset that way? are there diferents "Mk22FA12.h" files which include those definitions?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have had to add all those definitions to its "Mk22FA12.h" file and so far it seems i can make a software reset successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By the way i have follow what it is said in this link &lt;A class="link-titled" href="https://mcuoneclipse.com/2015/07/01/how-to-reset-an-arm-cortex-m-with-software/" title="https://mcuoneclipse.com/2015/07/01/how-to-reset-an-arm-cortex-m-with-software/"&gt;How to Reset an ARM Cortex-M with Software | MCU on Eclipse&lt;/A&gt; so i can import more components, but after it, i cant find the KIN1 component.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your quick responses.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Nov 2016 08:49:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Reset/m-p/486749#M29993</guid>
      <dc:creator>alubeiro</dc:creator>
      <dc:date>2016-11-17T08:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: Software Reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Reset/m-p/486750#M29994</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Alberto,&lt;/P&gt;&lt;P&gt;the KIN1 is from the KinetisTools component you can find in the Components Library:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/9450iEE60BB1CF4506C47/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can find an overview and discussion about the different project types here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuoneclipse.com/2015/10/18/overview-processor-expert/" title="https://mcuoneclipse.com/2015/10/18/overview-processor-expert/"&gt;Overview: Processor Expert | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 06:50:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Reset/m-p/486750#M29994</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2016-11-18T06:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Software Reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Reset/m-p/486751#M29995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for the info.&lt;/P&gt;&lt;P&gt;As for the "Mk22FA12.h" file, why arent "&lt;STRONG&gt;&lt;EM&gt;SCB_Register_Masks&lt;/EM&gt;&lt;/STRONG&gt;" definitions and "&lt;STRONG&gt;&lt;EM&gt;SCB - Peripheral register structure&lt;/EM&gt;&lt;/STRONG&gt;" in the file?&lt;/P&gt;&lt;P&gt;As i said in the previous post:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;&lt;SPAN style="color: #000000;"&gt;&lt;EM&gt;In anyways i wonder &lt;STRONG&gt;why the "Mk22FA12.h" file which is the MCU definition file, doesnt have those definitions in it&lt;/STRONG&gt; and if It is a Core part of the Cortex M3/M4 implementation, i cant understand why they are not there.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;EM&gt;Why other people with a k22 can make a soft reset that way? are there diferents "Mk22FA12.h" files which include those definitions?&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;&lt;EM&gt;I have had to add all those definitions to a header file and so far it seems i can make a software reset successfully.&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks and best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Nov 2016 09:06:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Software-Reset/m-p/486751#M29995</guid>
      <dc:creator>alubeiro</dc:creator>
      <dc:date>2016-11-18T09:06:47Z</dc:date>
    </item>
  </channel>
</rss>

