<?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 FreeRTOS task viewer shows overflow in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/FreeRTOS-task-viewer-shows-overflow/m-p/656954#M8629</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 am trying to build up a project with&amp;nbsp; KDS v3.2 with FreeRTOS v9.0.0, and I am able to watch the usage of task and memory by plug-in. That is awesome and it's really helpful! Thank you!&lt;/P&gt;&lt;P&gt;For some reason, I have to use two heap regions in my project, so I choose FreeRTOS's 5th memory scheme (heap_5.c).&lt;/P&gt;&lt;P&gt;However, it shows my stack is overflow even through I stopped at begin of task function and stack pointer should be totally empty.&lt;/P&gt;&lt;P&gt;I guess it is due to separated TCB and stack memory into two regions, and there is a reserved memory area between them. But my program works without any problem.&lt;/P&gt;&lt;P&gt;FreeRTOS task aware debugger for GDB: version 1.0.1.201610061345. (current latest version)&lt;/P&gt;&lt;P&gt;Can you fix that or is there any way to display the correct stack usage?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;BRs,&lt;/P&gt;&lt;P&gt;-Engin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="task.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18631i55294FE1F7695B24/image-size/large?v=v2&amp;amp;px=999" role="button" title="task.png" alt="task.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Mar 2017 15:10:29 GMT</pubDate>
    <dc:creator>enginlee</dc:creator>
    <dc:date>2017-03-16T15:10:29Z</dc:date>
    <item>
      <title>FreeRTOS task viewer shows overflow</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/FreeRTOS-task-viewer-shows-overflow/m-p/656954#M8629</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 am trying to build up a project with&amp;nbsp; KDS v3.2 with FreeRTOS v9.0.0, and I am able to watch the usage of task and memory by plug-in. That is awesome and it's really helpful! Thank you!&lt;/P&gt;&lt;P&gt;For some reason, I have to use two heap regions in my project, so I choose FreeRTOS's 5th memory scheme (heap_5.c).&lt;/P&gt;&lt;P&gt;However, it shows my stack is overflow even through I stopped at begin of task function and stack pointer should be totally empty.&lt;/P&gt;&lt;P&gt;I guess it is due to separated TCB and stack memory into two regions, and there is a reserved memory area between them. But my program works without any problem.&lt;/P&gt;&lt;P&gt;FreeRTOS task aware debugger for GDB: version 1.0.1.201610061345. (current latest version)&lt;/P&gt;&lt;P&gt;Can you fix that or is there any way to display the correct stack usage?&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;BRs,&lt;/P&gt;&lt;P&gt;-Engin&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="task.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18631i55294FE1F7695B24/image-size/large?v=v2&amp;amp;px=999" role="button" title="task.png" alt="task.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Mar 2017 15:10:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/FreeRTOS-task-viewer-shows-overflow/m-p/656954#M8629</guid>
      <dc:creator>enginlee</dc:creator>
      <dc:date>2017-03-16T15:10:29Z</dc:date>
    </item>
  </channel>
</rss>

