<?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: MCUXpresso FreeRTOS aware issues in MCUXpresso General</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/MCUXpresso-FreeRTOS-aware-issues/m-p/1087427#M3795</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you share the gdb traces/log (see &lt;A class="link-titled" href="https://mcuoneclipse.com/2016/07/01/board-bring-up-tips-gdb-logs-and-traces-in-eclipse/" title="https://mcuoneclipse.com/2016/07/01/board-bring-up-tips-gdb-logs-and-traces-in-eclipse/"&gt;Board Bring-Up Tips, GDB Logs and Traces in Eclipse | MCU on Eclipse&lt;/A&gt; ) too?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 25 Jul 2020 11:12:02 GMT</pubDate>
    <dc:creator>ErichStyger</dc:creator>
    <dc:date>2020-07-25T11:12:02Z</dc:date>
    <item>
      <title>MCUXpresso FreeRTOS aware issues</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/MCUXpresso-FreeRTOS-aware-issues/m-p/1087426#M3794</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am hoping someone can shed some light on issues I am having getting the FreeRTOS aware features of MCUExpresso to work reliably.&amp;nbsp; I have seen the different guides and discussions regarding making sure that the project is configured correctly for the IDE to be RTOS aware and thought I was following everything correctly.&amp;nbsp; I am using the GNU tool chain and the Linkserver OpenSDA debug interface.&amp;nbsp; Optimization is set to 0.&amp;nbsp; FreeRTOS TAD memory read timeout is increased to 40,000 mS.&amp;nbsp; I saw this with MCUXpresso ver11.1 (for Windows) and have the same issues after upgrading to 11.2 and importing the same project.&amp;nbsp; I am working with the latest download of FreeRTOS+TCP.&amp;nbsp; HW target is iMX.RT1064 EVK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At times I can pause my target and the IDE correctly displays the RTOS task details.&amp;nbsp; Immediately after installing 11.2 and rebuilding it worked correctly.&amp;nbsp; Then when I rebuilt and reloaded with no code changes and tried again it reported it couldn't find RTOS info as shown below (bottom right).&amp;nbsp; Odd thing to me is that in the debug window (top left) it is displaying the details for the 4 tasks so it appears the it is somewhat aware.&amp;nbsp; .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any assistance is appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Dave&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;IMG alt="pastedImage_2.png" src="https://community.nxp.com/t5/image/serverpage/image-id/24491iB4DE62B51013B6C4/image-size/large?v=v2&amp;amp;px=999" title="pastedImage_2.png" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;Log files...

&lt;SPAN style="font-size: 13px;"&gt;MCUXpresso IDE RedlinkMulti Driver v11.1 (Jul 7 2020 10:48:32 - crt_emu_cm_redlink build 5)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Found chip XML file in C:/Users/marselld/Documents/MCUXpressoIDE_11.1.1_3241/workspace/MIMXRT1064_FreeRTOS_enet_drivers/Debug\MIMXRT1064xxxxA.xml&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;( 5) Remote configuration complete&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Reconnected to existing LinkServer process.&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;============= SCRIPT: RT1064_connect.scp =============&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;RT1064 Connect Script&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;DpID = 0BD11477&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;APID = 0x04770041&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Disabling MPU&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Configure FlexRAM for 768KB OC RAM, 128KB I-TCM, 128KB D-TCM&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Finished&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;============= END SCRIPT =============================&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Probe Firmware: DAPLink CMSIS-DAP (ARM)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Serial Number: 02320000141286c200000000000000000000000097969905&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;VID:PID: 0D28:0204&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;USB Path: \\?\hid#vid_0d28&amp;amp;pid_0204&amp;amp;mi_03#7&amp;amp;3a5b60ad&amp;amp;0&amp;amp;0000#{4d1e55b2-f16f-11cf-88cb-001111000030}&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Using memory from core 0 after searching for a good core&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;debug interface type = Cortex-M7 (DAP DP ID 0BD11477) over SWD TAP 0&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;processor type = Cortex-M7 (CPU ID 00000C27) on DAP AP 0&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;number of h/w breakpoints = 8&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;number of flash patches = 0&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;number of h/w watchpoints = 4&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Probe(0): Connected&amp;amp;Reset. DpID: 0BD11477. CpuID: 00000C27. Info: &amp;lt;None&amp;gt;&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Debug protocol: SWD. RTCK: Disabled. Vector catch: Disabled.&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Content of CoreSight Debug ROM(s):&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;RBASE E00FD000: CID B105100D PID 000008E88C ROM (type 0x1)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;ROM 1 E00FE000: CID B105100D PID 04000BB4C8 ROM (type 0x1)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;ROM 2 E00FF000: CID B105100D PID 04000BB4C7 ROM (type 0x1)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;ROM 3 E000E000: CID B105E00D PID 04000BB00C Gen SCS (type 0x0)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;ROM 3 E0001000: CID B105E00D PID 04000BB002 Gen DWT (type 0x0)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;ROM 3 E0002000: CID B105E00D PID 04000BB00E Gen (type 0x0)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;ROM 3 E0000000: CID B105E00D PID 04000BB001 Gen ITM (type 0x0)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;ROM 2 E0041000: CID B105900D PID 04001BB975 CSt ARM ETMv4.0 type 0x13 Trace Source - Core&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;ROM 2 E0042000: CID B105900D PID 04004BB906 CSt type 0x14 Debug Control - Trigger, e.g. ECT&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;ROM 1 E0040000: CID B105900D PID 04000BB9A9 CSt type 0x11 Trace Sink - TPIU&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;ROM 1 E0043000: CID B105F00D PID 04001BB101 Sys (type 0x0)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;NXP: MIMXRT1064xxxxA&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;DAP stride is 1024 bytes (256 words)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Inspected v.2 External Flash Device on SPI using SFDP JEDEC ID MIMXRT1064.cfx&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Image 'iMXRT1064_SFDP_QSPI Jul 7 2020 10:54:42'&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Opening flash driver MIMXRT1064.cfx&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Sending VECTRESET to run flash driver&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Flash variant 'RT1064' detected (4MB = 64*64K at 0x70000000)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Closing flash driver MIMXRT1064.cfx&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Connected: was_reset=false. was_stopped=true&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Awaiting telnet connection to port 3330 ...&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;GDB nonstop mode disabled (using allstop mode)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;FreeRTOS stack backtrace is enabled&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Opening flash driver MIMXRT1064.cfx (already resident)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Sending VECTRESET to run flash driver&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Flash variant 'RT1064' detected (4MB = 64*64K at 0x70000000)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Writing 76756 bytes to address 0x70000000 in Flash&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Sectors written: 0, unchanged: 2, total: 2&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Erased/Wrote sector 0-1 with 76756 bytes in 22msec&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Closing flash driver MIMXRT1064.cfx&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Flash Write Done&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Flash Program Summary: 76756 bytes in 0.02 seconds (3407.14 KB/sec)&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Starting execution using system reset and halt target&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Stopped (Was Reset) [Reset from Unknown]&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Stopped: Breakpoint #1&lt;/SPAN&gt;
&lt;SPAN style="font-size: 13px;"&gt;Stopped: Halt&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Nov 2020 14:42:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/MCUXpresso-FreeRTOS-aware-issues/m-p/1087426#M3794</guid>
      <dc:creator>dmarsell65</dc:creator>
      <dc:date>2020-11-02T14:42:52Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso FreeRTOS aware issues</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/MCUXpresso-FreeRTOS-aware-issues/m-p/1087427#M3795</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you share the gdb traces/log (see &lt;A class="link-titled" href="https://mcuoneclipse.com/2016/07/01/board-bring-up-tips-gdb-logs-and-traces-in-eclipse/" title="https://mcuoneclipse.com/2016/07/01/board-bring-up-tips-gdb-logs-and-traces-in-eclipse/"&gt;Board Bring-Up Tips, GDB Logs and Traces in Eclipse | MCU on Eclipse&lt;/A&gt; ) too?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 25 Jul 2020 11:12:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/MCUXpresso-FreeRTOS-aware-issues/m-p/1087427#M3795</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2020-07-25T11:12:02Z</dc:date>
    </item>
  </channel>
</rss>

