<?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: How to reset a processor from MQX? in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-reset-a-processor-from-MQX/m-p/183320#M2979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply Carl&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However this code is for the m52259 board and im working with the K60n512 &lt;IMG alt=":smileysad:" class="emoticon emoticon-smileysad" id="smileysad" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ill try to find the similar way to do it on Kinetis platform&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 23 Feb 2011 05:14:44 GMT</pubDate>
    <dc:creator>icheifot</dc:creator>
    <dc:date>2011-02-23T05:14:44Z</dc:date>
    <item>
      <title>How to reset a processor from MQX?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-reset-a-processor-from-MQX/m-p/183316#M2975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone&lt;/P&gt;&lt;P&gt;We are using&amp;nbsp;twrk60n512+MQX 3.6.2&lt;/P&gt;&lt;P&gt;Can anyone point the way to reset the board from MQX?&lt;/P&gt;&lt;P&gt;Thanx in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 07:27:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-reset-a-processor-from-MQX/m-p/183316#M2975</guid>
      <dc:creator>icheifot</dc:creator>
      <dc:date>2011-02-15T07:27:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to reset a processor from MQX?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-reset-a-processor-from-MQX/m-p/183317#M2976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I hope I'm not making a huge mistake by doing this, but it works.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;__boot();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My starting task that calls all others first checks it's non-volatile ram for a correctly formatted firmware upgrade file and if it likes what it sees it upgrades a portion of my application then calls __boot();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So far so good.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Feb 2011 21:58:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-reset-a-processor-from-MQX/m-p/183317#M2976</guid>
      <dc:creator>boogy</dc:creator>
      <dc:date>2011-02-15T21:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to reset a processor from MQX?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-reset-a-processor-from-MQX/m-p/183318#M2977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your help&lt;/P&gt;&lt;P&gt;Your solution works, and i have created the support request with Freescale to confirm that calling &amp;nbsp;__boot() function will not lead to problems.&lt;/P&gt;&lt;P&gt;I will post here when i hear from them&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Feb 2011 03:00:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-reset-a-processor-from-MQX/m-p/183318#M2977</guid>
      <dc:creator>icheifot</dc:creator>
      <dc:date>2011-02-17T03:00:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to reset a processor from MQX?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-reset-a-processor-from-MQX/m-p/183319#M2978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think this is the correct way to do it:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN style="white-space: pre;"&gt;&amp;nbsp;&lt;/SPAN&gt;VMCF5225_STRUCT_PTR reg_ptr = (VMCF5225_STRUCT_PTR)BSP_IPSBAR; &lt;SPAN style="white-space: pre;"&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="white-space: pre;"&gt;reg_ptr-&amp;gt;CCM.RCR |= MCF5225_CCM_RCR_SOFTRST;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="line-height: 14px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Feb 2011 06:38:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-reset-a-processor-from-MQX/m-p/183319#M2978</guid>
      <dc:creator>CarlFST60L</dc:creator>
      <dc:date>2011-02-22T06:38:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to reset a processor from MQX?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-reset-a-processor-from-MQX/m-p/183320#M2979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for the reply Carl&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;However this code is for the m52259 board and im working with the K60n512 &lt;IMG alt=":smileysad:" class="emoticon emoticon-smileysad" id="smileysad" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-sad.gif" title="Smiley Sad" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Ill try to find the similar way to do it on Kinetis platform&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 05:14:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-reset-a-processor-from-MQX/m-p/183320#M2979</guid>
      <dc:creator>icheifot</dc:creator>
      <dc:date>2011-02-23T05:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to reset a processor from MQX?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-reset-a-processor-from-MQX/m-p/183321#M2980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using MQX&amp;nbsp; 3.6 along with CW7.2 and a MCF52259. I tried Carl's solution and ended up with unknown MCF5225_CCM_RCR_SOFTRST.&lt;/P&gt;&lt;P&gt;Where is this defined?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Feb 2011 23:07:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-reset-a-processor-from-MQX/m-p/183321#M2980</guid>
      <dc:creator>boogy</dc:creator>
      <dc:date>2011-02-23T23:07:31Z</dc:date>
    </item>
    <item>
      <title>Re: How to reset a processor from MQX?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-reset-a-processor-from-MQX/m-p/183322#M2981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry, the complete code is this:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="white-space: pre;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;#define MCF5225_CCM_RCR_SOFTRST                 (1 &amp;lt;&amp;lt; 7)void MCF52259_REBOOT(void){VMCF5225_STRUCT_PTR reg_ptr = (VMCF5225_STRUCT_PTR)BSP_IPSBAR; reg_ptr-&amp;gt;CCM.RCR |= MCF5225_CCM_RCR_SOFTRST;}&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;SPAN&gt;&lt;A href="http://forums.freescale.com/t5/user/viewprofilepage/user-id/21949" rel="nofollow noopener noreferrer noopener noreferrer" target="_self"&gt;&lt;SPAN&gt;icheifot&lt;/SPAN&gt;&lt;/A&gt;, I meant to say "Maybe you can use a similar method that I use in MCF5225X" &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;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:34:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-reset-a-processor-from-MQX/m-p/183322#M2981</guid>
      <dc:creator>CarlFST60L</dc:creator>
      <dc:date>2020-10-29T09:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to reset a processor from MQX?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-reset-a-processor-from-MQX/m-p/183323#M2982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Carl, you have solved an ancient mystery.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Feb 2011 23:01:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-reset-a-processor-from-MQX/m-p/183323#M2982</guid>
      <dc:creator>boogy</dc:creator>
      <dc:date>2011-02-24T23:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to reset a processor from MQX?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-reset-a-processor-from-MQX/m-p/183324#M2983</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To answer this question, to do a soft reset on the Kinetis platform you need to set the SYSRESETREQ bit in the NVIC AIRCR register.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the MK40X256VMD100 header file the register is SCB_AIRCR and you cannot just do a read modify write on this register because it has a vector key that must be written correctly and doesn't read the same. Here is a little snippet of code to reset the Kinetis:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;   uint_32 read_value = SCB_AIRCR;   read_value &amp;amp;= ~SCB_AIRCR_VECTKEY_MASK;   read_value |= SCB_AIRCR_VECTKEY(0x05FA);   read_value |= SCB_AIRCR_SYSRESETREQ_MASK;      _int_disable();   SCB_AIRCR = read_value;   while(1);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:34:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-reset-a-processor-from-MQX/m-p/183324#M2983</guid>
      <dc:creator>Briwallis</dc:creator>
      <dc:date>2020-10-29T09:34:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to reset a processor from MQX?</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-reset-a-processor-from-MQX/m-p/183325#M2984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This topic was included on a post from 4-Mach-20011 that implemented the Kinetis software reset capability inside a watchdog routine as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/79984#79984" title="https://community.freescale.com/message/79984#79984"&gt;https://community.freescale.com/message/79984#79984&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Briwal..thanks for your code as well.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 20:51:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-reset-a-processor-from-MQX/m-p/183325#M2984</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2011-04-20T20:51:41Z</dc:date>
    </item>
  </channel>
</rss>

