<?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: multilink probe causes hang when debugging in freertos in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/multilink-probe-causes-hang-when-debugging-in-freertos/m-p/810868#M2948</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Edison.&amp;nbsp; This has solved my problem.&amp;nbsp; I didn't really need the streaming, it was enabled by default.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Oct 2018 20:36:44 GMT</pubDate>
    <dc:creator>tfont</dc:creator>
    <dc:date>2018-10-26T20:36:44Z</dc:date>
    <item>
      <title>multilink probe causes hang when debugging in freertos</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/multilink-probe-causes-hang-when-debugging-in-freertos/m-p/810864#M2944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a multilink probe connected to a KL17Z64.&amp;nbsp; When I'm debugging a customized version of the freertos_hello example, the probe causes a jump to an endless loop in the bootrom address space (0x1c002224) shortly after vTaskStartScheduler is called.&amp;nbsp; The Debug window shows: (Tmr Svc) (Suspended : Signal : SIGINT:Interrupt). If the same build is run without the probe, the program runs correctly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do I fix this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Oct 2018 17:21:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/multilink-probe-causes-hang-when-debugging-in-freertos/m-p/810864#M2944</guid>
      <dc:creator>tfont</dc:creator>
      <dc:date>2018-10-19T17:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: multilink probe causes hang when debugging in freertos</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/multilink-probe-causes-hang-when-debugging-in-freertos/m-p/810865#M2945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #51626f; border: 0px;"&gt;What version of MCUXpresso IDE, and what version of the P&amp;amp;E Micro plugins are you using?&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;I presume that if you debug a standard out-of-the-box FreeRTOS demo project, you don't see any issues?&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;Does turning off the P&amp;amp;E Micro rtos awareness cause any improvement in behaviour (though that will loose you your thread awareness) : using the "-kernel=none" option as per :&amp;nbsp;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fmcuoneclipse.com%2F2017%2F02%2F25%2Fpe-arm-cortex-m-debugging-with-freertos-thread-awareness-and-real-time-expressions-for-gdb-and-eclipse%2F" rel="nofollow" style="color: #3d9ce7; border: 0px; font-weight: inherit; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;P&amp;amp;E ARM Cortex-M Debugging with FreeRTOS Thread Awareness and Real Time Expressions for GDB and Eclipse | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;Might also be worth running through :&amp;nbsp;&lt;A data-content-finding="Community" href="https://community.nxp.com/external-link.jspa?url=https%3A%2F%2Fmcuoneclipse.com%2F2017%2F07%2F27%2Ftroubleshooting-tips-for-freertos-thread-aware-debugging-in-eclipse%2F" rel="nofollow" style="color: #3d9ce7; border: 0px; font-weight: inherit; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;Troubleshooting Tips for FreeRTOS Thread Aware Debugging in Eclipse | MCU on Eclipse&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;Regards,&lt;/P&gt;&lt;P style="color: #51626f; border: 0px;"&gt;MCUXpresso IDE Support&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 10:38:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/multilink-probe-causes-hang-when-debugging-in-freertos/m-p/810865#M2945</guid>
      <dc:creator>lpcxpresso_supp</dc:creator>
      <dc:date>2018-10-23T10:38:37Z</dc:date>
    </item>
    <item>
      <title>Re: multilink probe causes hang when debugging in freertos</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/multilink-probe-causes-hang-when-debugging-in-freertos/m-p/810866#M2946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I’m using V10.2.1 for the IDE and V3.7.8 for the plugin.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I’m specifically using the MKL17Z64FM4 on a custom board.&amp;nbsp; There’s no exact demo project for the KL17 but I have tried the frdmKl27z_freertos_hello without modifications and the same problem occurs.&amp;nbsp; Here’s the debug trace:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;frdmkl27z_freertos_hello PE Debug [GDB PEMicro Interface Debugging]&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;frdmkl27z_freertos_hello.axf&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Thread #1 536868992 (Tmr Svc) (Suspended : Signal : SIGINT:Interrupt)&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x1c002224&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;lt;signal handler called&amp;gt;() at 0xfffffffd&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;ucHeap() at 0x20000520&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;0x0&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Thread #2 536867888 (IDLE) (Suspended : Container)&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Thread #3 536867392 (Hello_task\020\032P\002P\375D\006@\362\377\037\310\313P\002P\375D\006\257\240H) (Suspended : Container)&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;C:\nxp\MCUXpressoIDE_10.2.1_795\ide\plugins\com.pemicro.debug.gdbjtag.pne.expansion_3.7.8.201810122006\win32\pegdbserver_console&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;arm-none-eabi-gdb&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also tried starting with frdmKl27z_freertos_hello and changing the MCU to MKL17Z64xxx4 and this crashes as well using the debugger.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My modified version that works WITHOUT the debugger is the frdmKl27z_freertos_hello with the MCU changed to MKL17Z64xxx4 and the appropriate pin muxing set up to direct the console output out LPUART0.&amp;nbsp; I have two tasks running both continuously outputting printf statements so I have some way to confirm tasks are running.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When single-stepping from the beginning of main(), I get as far as the prvProcessReceivedCommands() call in prvTimerTask().&amp;nbsp; At the moment I step into prvProcessReceivedCommands, I end up in the endless loop at 0x1c002224.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Setting "-kernel=none" is no improvement.&amp;nbsp; The troubleshooting link you provided says: “The P&amp;amp;E debug connection has no special setting for FreeRTOS thread aware debugging and does it automatically, so there is no option to turn it on or off.”&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The troubleshooting link also says the console output should indicate: “Successfully initialized kernel symbols.”, which I do see but I also see an exception:&lt;/P&gt;&lt;P&gt;Exception : Could not bind socket.&amp;nbsp; Address and port are already in use. at special_features(4000005e)&lt;/P&gt;&lt;P&gt;Warning – Exception Occurred. (PE.438)&lt;/P&gt;&lt;P&gt;Exception Message : Could not bind socket.. Address and port are already in use&lt;/P&gt;&lt;P&gt;Connection from “127.0.0.1" via 127.0.0.1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Oct 2018 14:11:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/multilink-probe-causes-hang-when-debugging-in-freertos/m-p/810866#M2946</guid>
      <dc:creator>tfont</dc:creator>
      <dc:date>2018-10-23T14:11:58Z</dc:date>
    </item>
    <item>
      <title>Re: multilink probe causes hang when debugging in freertos</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/multilink-probe-causes-hang-when-debugging-in-freertos/m-p/810867#M2947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anthony,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Try unchecking the "Enable Streaming" option in your debug Configurations. Based on the error message, it seems like port 8080 may already be used on your PC. If this solves the problem and you do want to re-enable the Streaming features in the future, you can specify a different port number.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/76741iF60DE3477E04984F/image-size/large?v=v2&amp;amp;px=999" title="DisableStreaming.png" alt="DisableStreaming.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 18:38:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/multilink-probe-causes-hang-when-debugging-in-freertos/m-p/810867#M2947</guid>
      <dc:creator>edisontam</dc:creator>
      <dc:date>2018-10-26T18:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: multilink probe causes hang when debugging in freertos</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/multilink-probe-causes-hang-when-debugging-in-freertos/m-p/810868#M2948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Edison.&amp;nbsp; This has solved my problem.&amp;nbsp; I didn't really need the streaming, it was enabled by default.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Oct 2018 20:36:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/multilink-probe-causes-hang-when-debugging-in-freertos/m-p/810868#M2948</guid>
      <dc:creator>tfont</dc:creator>
      <dc:date>2018-10-26T20:36:44Z</dc:date>
    </item>
  </channel>
</rss>

