<?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: FreeRTOS Task Aware Debug issue for lwip_httpssrv_mbedTLS_freertos example code in MCUXpresso SDK</title>
    <link>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1321548#M3306</link>
    <description>&lt;P&gt;I have checked for&amp;nbsp;&lt;SPAN&gt;pxReadyTaskList in linker map file. It is not present.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LTO is not turned ON in linker settings.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I turn it ON, I am getting errors during compilation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bhaskar_Thakker_0-1628658220713.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152547i7E884B557C1F3AE1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bhaskar_Thakker_0-1628658220713.png" alt="Bhaskar_Thakker_0-1628658220713.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 11 Aug 2021 05:06:10 GMT</pubDate>
    <dc:creator>Bhaskar_Thakker</dc:creator>
    <dc:date>2021-08-11T05:06:10Z</dc:date>
    <item>
      <title>FreeRTOS Task Aware Debug issue for lwip_httpssrv_mbedTLS_freertos example code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1320806#M3293</link>
      <description>&lt;P&gt;I have been trying for using&amp;nbsp;FreeRTOS Task Aware Debug features for the example project "lwip_httpssrv_mbedTLS_freertos" in SDK. During debugging of this code while trying to examine the Task List, Queue List, Timer List and Heap Usage from FreeRTOS menu option, none of these items is visible! The Information message "FreeRTOS has not been detected." is displayed in the&amp;nbsp;FreeRTOS TAD Views section.&lt;/P&gt;&lt;P&gt;IDE Debug mode is All-stop and other care has been taken as described in&amp;nbsp;MCUXpresso_IDE_FreeRTOS_Debug_Guide.pdf.&lt;/P&gt;&lt;P&gt;For other SDK examples for FreeRTOS, there are no issues for&amp;nbsp;FreeRTOS Task Aware Debug.&lt;/P&gt;&lt;P&gt;I would like to know is there any specific settings missing for&amp;nbsp;"lwip_httpssrv_mbedTLS_freertos" project example in achieving&amp;nbsp;FreeRTOS Task Aware Debug views?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 06:01:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1320806#M3293</guid>
      <dc:creator>Bhaskar_Thakker</dc:creator>
      <dc:date>2021-08-10T06:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS Task Aware Debug issue for lwip_httpssrv_mbedTLS_freertos example code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1320814#M3294</link>
      <description>&lt;P&gt;What debug connection/probe are you using?&lt;/P&gt;&lt;P&gt;&lt;A href="https://mcuoneclipse.com/2017/07/27/troubleshooting-tips-for-freertos-thread-aware-debugging-in-eclipse/" target="_blank"&gt;https://mcuoneclipse.com/2017/07/27/troubleshooting-tips-for-freertos-thread-aware-debugging-in-eclipse/&lt;/A&gt; provides some check points.&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 06:13:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1320814#M3294</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2021-08-10T06:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS Task Aware Debug issue for lwip_httpssrv_mbedTLS_freertos example code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1320823#M3295</link>
      <description>&lt;P&gt;Thanks for your notice to the question.&lt;/P&gt;&lt;P&gt;I am using CMSIS-DAP probe on LPC-Link2.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 06:22:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1320823#M3295</guid>
      <dc:creator>Bhaskar_Thakker</dc:creator>
      <dc:date>2021-08-10T06:22:14Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS Task Aware Debug issue for lwip_httpssrv_mbedTLS_freertos example code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1320842#M3296</link>
      <description>&lt;P&gt;The 'all-stop' mode is relevant to the thread-awareness in the 'Debug' view only.&lt;/P&gt;&lt;P&gt;If it cannot show things in the other views, then most likely the IDE does not find the necessary symbols in the application. There could be several reasons for this, including the compiler removing some unused symbols.&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 06:37:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1320842#M3296</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2021-08-10T06:37:58Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS Task Aware Debug issue for lwip_httpssrv_mbedTLS_freertos example code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1320863#M3297</link>
      <description>&lt;P&gt;That may be the case.&lt;/P&gt;&lt;P&gt;I have taken care for the guidelines in the following link.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://dzone.com/articles/troubleshooting-tips-for-freertoss-thread-aware-de" target="_blank"&gt;Troubleshooting Tips for FreeRTOS Thread Aware Debugging in Eclipse - DZone IoT&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The optimization level is None in my project setting.&lt;/P&gt;&lt;P&gt;Are there any chances that since the project is configured for mbedTLS in SDK, it may be affecting for TAD?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 07:13:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1320863#M3297</guid>
      <dc:creator>Bhaskar_Thakker</dc:creator>
      <dc:date>2021-08-10T07:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS Task Aware Debug issue for lwip_httpssrv_mbedTLS_freertos example code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1320896#M3298</link>
      <description>&lt;P&gt;No, other modules should not affect it. Most common cause is the removal of the struct in freertos_tasks_c_additions.h.&lt;/P&gt;&lt;P&gt;Can you check your linker map file if the array FreeRTOSDebugConfig[] is still present and linked with the application and not removed?&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 07:40:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1320896#M3298</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2021-08-10T07:40:09Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS Task Aware Debug issue for lwip_httpssrv_mbedTLS_freertos example code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1321108#M3300</link>
      <description>&lt;P&gt;I have verified for&amp;nbsp;&lt;SPAN&gt;FreeRTOSDebugConfig[] in the linker map file.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;.rodata 0x0004f4a4 0x1c ./freertos/freertos_kernel/tasks.o&lt;BR /&gt;0x0004f4a4 portArch_Name&lt;BR /&gt;0x0004f4a8 FreeRTOSDebugConfig&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 12:15:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1321108#M3300</guid>
      <dc:creator>Bhaskar_Thakker</dc:creator>
      <dc:date>2021-08-10T12:15:01Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS Task Aware Debug issue for lwip_httpssrv_mbedTLS_freertos example code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1321124#M3302</link>
      <description>&lt;P&gt;can you check what the console output for TAD is?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ErichS_0-1628598906694.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152460iF3507C6011554D4D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ErichS_0-1628598906694.png" alt="ErichS_0-1628598906694.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 12:35:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1321124#M3302</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2021-08-10T12:35:29Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS Task Aware Debug issue for lwip_httpssrv_mbedTLS_freertos example code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1321135#M3304</link>
      <description>&lt;P&gt;Debug console for TAD shows error as following.&amp;nbsp;&lt;/P&gt;&lt;P&gt;18:14:55.220 ERROR: [VariableReader] Could not read variable expression: "sizeof(pxReadyTasksLists)".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 12:50:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1321135#M3304</guid>
      <dc:creator>Bhaskar_Thakker</dc:creator>
      <dc:date>2021-08-10T12:50:13Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS Task Aware Debug issue for lwip_httpssrv_mbedTLS_freertos example code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1321145#M3305</link>
      <description>&lt;P&gt;Have you turned on LTO in the linker?&lt;/P&gt;&lt;P&gt;Check if pxReadyTaskList is present in your linker map file to be sure.&lt;/P&gt;&lt;P&gt;What I have is this in tasks.c (around line 360):&lt;/P&gt;&lt;LI-CODE lang="c"&gt;/* Lists for ready and blocked tasks. --------------------
 * xDelayedTaskList1 and xDelayedTaskList2 could be move to function scople but
 * doing so breaks some kernel aware debuggers and debuggers that rely on removing
 * the static qualifier. */
#if configLTO_HELPER /* &amp;lt;&amp;lt; EST */
  /* If using -lto (Link Time Optimization), the linker might replace/remove the names of the following variables.
   * If using a FreeRTOS Kernel aware debugger (e.g. Segger FreeRTOS task aware plugin), then the debugger won't be able to see the symbols and will fail.
   * Therefore (more as of a hack) the symbols are defined with external linkage, even if not used from other modules.
   * See https://mcuoneclipse.com/2017/07/27/troubleshooting-tips-for-freertos-thread-aware-debugging-in-eclipse/
   */
  PRIVILEGED_DATA /*static*/ List_t pxReadyTasksLists[ configMAX_PRIORITIES ];/*&amp;lt; Prioritised ready tasks. */
  PRIVILEGED_DATA /*static*/ List_t xDelayedTaskList1;            /*&amp;lt; Delayed tasks. */
  PRIVILEGED_DATA /*static*/ List_t xDelayedTaskList2;            /*&amp;lt; Delayed tasks (two lists are used - one for delays that have overflowed the current tick count. */
  PRIVILEGED_DATA /*static*/ List_t * volatile pxDelayedTaskList;       /*&amp;lt; Points to the delayed task list currently being used. */
  PRIVILEGED_DATA /*static*/ List_t * volatile pxOverflowDelayedTaskList;   /*&amp;lt; Points to the delayed task list currently being used to hold tasks that have overflowed the current tick count. */
  PRIVILEGED_DATA /*static*/ List_t xPendingReadyList;            /*&amp;lt; Tasks that have been readied while the scheduler was suspended.  They will be moved to the ready list when the scheduler is resumed. */
#else
 PRIVILEGED_DATA static List_t pxReadyTasksLists[ configMAX_PRIORITIES ];/*&amp;lt; Prioritised ready tasks. */
  PRIVILEGED_DATA static List_t xDelayedTaskList1;            /*&amp;lt; Delayed tasks. */
  PRIVILEGED_DATA static List_t xDelayedTaskList2;            /*&amp;lt; Delayed tasks (two lists are used - one for delays that have overflowed the current tick count. */
  PRIVILEGED_DATA static List_t * volatile pxDelayedTaskList;       /*&amp;lt; Points to the delayed task list currently being used. */
  PRIVILEGED_DATA static List_t * volatile pxOverflowDelayedTaskList;   /*&amp;lt; Points to the delayed task list currently being used to hold tasks that have overflowed the current tick count. */
  PRIVILEGED_DATA static List_t xPendingReadyList;            /*&amp;lt; Tasks that have been readied while the scheduler was suspended.  They will be moved to the ready list when the scheduler is resumed. */
#endif&lt;/LI-CODE&gt;&lt;P&gt;Basically as noted in the comment and if I want to use LTO or other aggressive optimizations, I use external linkage declarations and not static ones.&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Tue, 10 Aug 2021 13:14:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1321145#M3305</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2021-08-10T13:14:51Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS Task Aware Debug issue for lwip_httpssrv_mbedTLS_freertos example code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1321548#M3306</link>
      <description>&lt;P&gt;I have checked for&amp;nbsp;&lt;SPAN&gt;pxReadyTaskList in linker map file. It is not present.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;LTO is not turned ON in linker settings.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;If I turn it ON, I am getting errors during compilation.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Bhaskar_Thakker_0-1628658220713.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/152547i7E884B557C1F3AE1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Bhaskar_Thakker_0-1628658220713.png" alt="Bhaskar_Thakker_0-1628658220713.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Aug 2021 05:06:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1321548#M3306</guid>
      <dc:creator>Bhaskar_Thakker</dc:creator>
      <dc:date>2021-08-11T05:06:10Z</dc:date>
    </item>
    <item>
      <title>Re: FreeRTOS Task Aware Debug issue for lwip_httpssrv_mbedTLS_freertos example code</title>
      <link>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1416760#M3598</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have the same problem, what could be cause of the problem?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Feb 2022 16:56:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-SDK/FreeRTOS-Task-Aware-Debug-issue-for-lwip-httpssrv-mbedTLS/m-p/1416760#M3598</guid>
      <dc:creator>albert1337</dc:creator>
      <dc:date>2022-02-28T16:56:14Z</dc:date>
    </item>
  </channel>
</rss>

