<?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: K40 IAR: Software reset</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K40-IAR-Software-reset/m-p/245824#M6497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MF,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are others posts with the details for executing a software reset in the Kinetis K Series using the Cortex-M4 core.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out this post and solution: &lt;A __default_attr="79984" __jive_macro_name="message" class="jive_macro_message jive_macro" href="https://community.nxp.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 03 Feb 2013 14:29:53 GMT</pubDate>
    <dc:creator>dereksnell</dc:creator>
    <dc:date>2013-02-03T14:29:53Z</dc:date>
    <item>
      <title>K40 IAR: Software reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K40-IAR-Software-reset/m-p/245823#M6496</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;Please advice me howto perform&lt;SPAN style="text-decoration: underline;"&gt; &lt;STRONG&gt;SW reset&lt;/STRONG&gt;&lt;/SPAN&gt; to the chip: &lt;SPAN style="font-size: 11.0pt; font-family: 'Calibri','sans-serif';"&gt;go to c-startup, clear stack, initialize global variables and so on.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(There is also option to force watchdog timeout in order to perfrom reset.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Feb 2013 12:32:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K40-IAR-Software-reset/m-p/245823#M6496</guid>
      <dc:creator>mf_kappa</dc:creator>
      <dc:date>2013-02-03T12:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: K40 IAR: Software reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K40-IAR-Software-reset/m-p/245824#M6497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MF,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are others posts with the details for executing a software reset in the Kinetis K Series using the Cortex-M4 core.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out this post and solution: &lt;A __default_attr="79984" __jive_macro_name="message" class="jive_macro_message jive_macro" href="https://community.nxp.com/"&gt;&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 03 Feb 2013 14:29:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K40-IAR-Software-reset/m-p/245824#M6497</guid>
      <dc:creator>dereksnell</dc:creator>
      <dc:date>2013-02-03T14:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: K40 IAR: Software reset</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/K40-IAR-Software-reset/m-p/245825#M6498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Derek&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer.&lt;/P&gt;&lt;P&gt;I Try to run this code in the post, but it didn't make SW reset:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; font-family: 'Helevetica Neue', Helvetica, Arial, san-serif; font-size: 8px; background-color: #ececec;"&gt;temp_AIRCR = (unsigned int)scb-&amp;gt;AIRCR; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; font-family: 'Helevetica Neue', Helvetica, Arial, san-serif; font-size: 8px; background-color: #ececec;"&gt;temp_AIRCR &amp;amp;= 0x0000ffff;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ececec; color: #555555; font-family: 'Helevetica Neue', Helvetica, Arial, san-serif; font-size: 8px; line-height: 1.5em;"&gt;temp_AIRCR |= 0x05Fa0000;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; font-family: 'Helevetica Neue', Helvetica, Arial, san-serif; font-size: 8px; background-color: #ececec;"&gt;&amp;nbsp; temp_AIRCR |= SCB_AIRCR_SYSRESETREQ_MASK;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; font-family: 'Helevetica Neue', Helvetica, Arial, san-serif; font-size: 8px; background-color: #ececec;"&gt;&amp;nbsp; scb-&amp;gt;AIRCR = temp_AIRCR;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #555555; font-family: 'Helevetica Neue', Helvetica, Arial, san-serif; font-size: 8px; background-color: #ececec;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Do I miss something important?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another question:&lt;/P&gt;&lt;P&gt;I try to run this routine, from crt0.s file:&lt;/P&gt;&lt;P&gt;__startup();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This routine &lt;SPAN style="text-decoration: underline;"&gt;make&lt;/SPAN&gt; SW reset. Can I use it instead of AIRCR register?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;MF&lt;/P&gt;&lt;P&gt;&lt;SPAN class="mce_paste_marker"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 10 Feb 2013 07:25:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/K40-IAR-Software-reset/m-p/245825#M6498</guid>
      <dc:creator>mf_kappa</dc:creator>
      <dc:date>2013-02-10T07:25:59Z</dc:date>
    </item>
  </channel>
</rss>

