<?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 Increase Interrupt Stack Size  in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Increase-Interrupt-Stack-Size/m-p/604153#M16714</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;it is because 'generate linker file' is set to 'no'. Not sure why you have this, but I think it is because you are using MQX, and with MQX the linker files are done differently?&lt;/P&gt;&lt;P&gt;In any case, you should be able to edit the linker (.ld) file manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 12 Dec 2016 19:09:00 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2016-12-12T19:09:00Z</dc:date>
    <item>
      <title>How to Increase Interrupt Stack Size</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Increase-Interrupt-Stack-Size/m-p/604152#M16713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;I have K60 Towerboard, _K60P144M150SF3RM, with MQX4.2, and CodeWarrior 10.6.4.&lt;/P&gt;&lt;P&gt;I debugged into my code and interrupt stack is 78% usage. And Occasionally stack gets overflowed. I want to increase interrupt stack size for safety. But using PE, it seems to me it is not enabled to increase it:&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/9598iDE5A13A7FDE14EE3/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;&lt;/P&gt;&lt;P&gt;Is anyway to enable it? or Is there anyway I can directly change the stack size params before I recompile bsp?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank You&lt;/P&gt;&lt;P&gt;David Zhou&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 18:54:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Increase-Interrupt-Stack-Size/m-p/604152#M16713</guid>
      <dc:creator>davidzhou</dc:creator>
      <dc:date>2016-12-12T18:54:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to Increase Interrupt Stack Size</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Increase-Interrupt-Stack-Size/m-p/604153#M16714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;it is because 'generate linker file' is set to 'no'. Not sure why you have this, but I think it is because you are using MQX, and with MQX the linker files are done differently?&lt;/P&gt;&lt;P&gt;In any case, you should be able to edit the linker (.ld) file manually.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Dec 2016 19:09:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Increase-Interrupt-Stack-Size/m-p/604153#M16714</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2016-12-12T19:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to Increase Interrupt Stack Size</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Increase-Interrupt-Stack-Size/m-p/604154#M16715</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;I think the linker file (.ld) is created and editable if project is bare-board (without MQX).&lt;/P&gt;&lt;P&gt;But if an MQX4.2 project is created through the wizard, the linker file is not under the list of the project files.&lt;/P&gt;&lt;P&gt;Really, the question is how to increase the stack size for the MQX.4.2 project.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;David Zhou&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Dec 2016 23:10:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Increase-Interrupt-Stack-Size/m-p/604154#M16715</guid>
      <dc:creator>davidzhou</dc:creator>
      <dc:date>2016-12-13T23:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to Increase Interrupt Stack Size</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Increase-Interrupt-Stack-Size/m-p/604155#M16716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For bare mental, there is only one task, you can change this attribute in CPU component.&lt;/P&gt;&lt;P&gt;For RTOS environment, each task has it's individual stack size. For MQX, the stack size is set by MQX task template list&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/11363i43E91D52C0E4F78F/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;if your task is created by task component, for example, MQX lite task, it can be changed with PE. Please see the below picture.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/11404i08109A03BBEAC3B9/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 08:10:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Increase-Interrupt-Stack-Size/m-p/604155#M16716</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2016-12-14T08:10:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to Increase Interrupt Stack Size</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Increase-Interrupt-Stack-Size/m-p/604156#M16717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;The question is how to increase stack size for interrupts (under Processors) , not tasks:&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/9761iF7F792905C04538F/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;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;David Zhou&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2016 16:42:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Increase-Interrupt-Stack-Size/m-p/604156#M16717</guid>
      <dc:creator>davidzhou</dc:creator>
      <dc:date>2016-12-14T16:42:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to Increase Interrupt Stack Size</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Increase-Interrupt-Stack-Size/m-p/604157#M16718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For interrupt stack size,&amp;nbsp; I would suggest you can try to modify the link file directly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\Freescale\Freescale_MQX_4_2\mqx\source\bsp\twrk60d100m\gcc_cw\inflash.ld&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; __DEFAULT_INTERRUPT_STACK_SIZE = 1024;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2016 00:29:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Increase-Interrupt-Stack-Size/m-p/604157#M16718</guid>
      <dc:creator>danielchen</dc:creator>
      <dc:date>2016-12-15T00:29:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to Increase Interrupt Stack Size</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Increase-Interrupt-Stack-Size/m-p/604158#M16719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Daniel !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;David Zhou&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2016 17:47:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/How-to-Increase-Interrupt-Stack-Size/m-p/604158#M16719</guid>
      <dc:creator>davidzhou</dc:creator>
      <dc:date>2016-12-16T17:47:47Z</dc:date>
    </item>
  </channel>
</rss>

