<?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: Disable All K60 MQX Interupt in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Disable-All-K60-MQX-Interupt/m-p/198328#M4260</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN&gt;shark&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;quote from the MQX Reference manual : "The function _int_disable() disables all hardware interrupts at priorities up to and including the MQX disable-interrupt level." To disable all interrupts, use psp function cortext_int_disable in file cortex.c.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MartinK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Jan 2012 19:47:59 GMT</pubDate>
    <dc:creator>c0170</dc:creator>
    <dc:date>2012-01-16T19:47:59Z</dc:date>
    <item>
      <title>Disable All K60 MQX Interupt</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Disable-All-K60-MQX-Interupt/m-p/198327#M4259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Now I'm working on bootloader. I try to disable all mqx interrupt before I jump to the boot code using&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;int_disble()&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cpsid i&lt;BR /&gt;bx lr&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But still the mqx interrupt happen when in boot code. Can someone tell me how how to totally disbale all the mqx interrupt before I jumpto my boot code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2012 18:34:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Disable-All-K60-MQX-Interupt/m-p/198327#M4259</guid>
      <dc:creator>shark</dc:creator>
      <dc:date>2012-01-16T18:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Disable All K60 MQX Interupt</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Disable-All-K60-MQX-Interupt/m-p/198328#M4260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;SPAN&gt;shark&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;quote from the MQX Reference manual : "The function _int_disable() disables all hardware interrupts at priorities up to and including the MQX disable-interrupt level." To disable all interrupts, use psp function cortext_int_disable in file cortex.c.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MartinK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Jan 2012 19:47:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Disable-All-K60-MQX-Interupt/m-p/198328#M4260</guid>
      <dc:creator>c0170</dc:creator>
      <dc:date>2012-01-16T19:47:59Z</dc:date>
    </item>
    <item>
      <title>Re: Disable All K60 MQX Interupt</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Disable-All-K60-MQX-Interupt/m-p/198329#M4261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MartinK,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the reply. But which IRQ i need to disable? Can you give me exmple how to use this function. I'm still a newbie in the MQX and cortex so I don't know which interrupt use by MQX. I need to delete all the MQX app in the flash(including the vector) after I jump to the boot code. The hardware will hang when I delete the MQX data portion because the MQX still running. How I can totally stop the MQX when I jump to the boot code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Shark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 16:18:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Disable-All-K60-MQX-Interupt/m-p/198329#M4261</guid>
      <dc:creator>shark</dc:creator>
      <dc:date>2012-01-19T16:18:14Z</dc:date>
    </item>
    <item>
      <title>Re: Disable All K60 MQX Interupt</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Disable-All-K60-MQX-Interupt/m-p/198330#M4262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;first of all, the cortex_int_disable() disables all interrupts in the core.&lt;/P&gt;&lt;P&gt;Then you have to jump to the boot address. At boot process, you have to make your own flash rutine running in the RAM- that is not easy, of course. That routine would read data from UART and program the flash. After the end of this routine, you will continue in the boot process.&lt;/P&gt;&lt;P&gt;If you want to flash in MQX, that is also possible, but again- you need your flash routine in the RAM. Note that any jump to the address located in the flash area will fail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MartinK&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Jan 2012 17:58:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Disable-All-K60-MQX-Interupt/m-p/198330#M4262</guid>
      <dc:creator>c0170</dc:creator>
      <dc:date>2012-01-19T17:58:46Z</dc:date>
    </item>
    <item>
      <title>Re: Disable All K60 MQX Interupt</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Disable-All-K60-MQX-Interupt/m-p/198331#M4263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi MartinK,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I already implement disable interrupt using&amp;nbsp;&lt;SPAN&gt;cortex_int_disable(). But this finction only can disable IRQ more than 16. &amp;nbsp;I'm not able to disable interupt for IRQ &amp;lt;16. This is for the ARM core system vector. From what I know, MQX use this (Systick,PendSV,SVCall,Debug Monitor) vector. Can I disable this interrupt and how?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Shark&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 14:28:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Disable-All-K60-MQX-Interupt/m-p/198331#M4263</guid>
      <dc:creator>shark</dc:creator>
      <dc:date>2012-01-30T14:28:32Z</dc:date>
    </item>
    <item>
      <title>Re: Disable All K60 MQX Interupt</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Disable-All-K60-MQX-Interupt/m-p/198332#M4264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi shark,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;that function is not in MQX . More information about possibility to disable all interrupts are on ARM website.&lt;/P&gt;&lt;P&gt;Follow this link and check Examples in the bottom of the page : &lt;A href="http://infocenter.arm.com/help/topic/com.arm.doc.dui0552a/BABHBAAB.html" rel="nofollow" target="_blank"&gt;http://infocenter.arm.com/help/topic/com.arm.doc.dui0552a/BABHBAAB.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to execute this instruction : CPSID f&amp;nbsp; ; Disable interrupts and all fault handlers (set FAULTMASK)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;MartinK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Jan 2012 19:23:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Disable-All-K60-MQX-Interupt/m-p/198332#M4264</guid>
      <dc:creator>c0170</dc:creator>
      <dc:date>2012-01-30T19:23:30Z</dc:date>
    </item>
  </channel>
</rss>

