<?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>i.MX Processors中的主题 Re: Semihost output problems using SEGGER JLink debugger.</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Semihost-output-problems-using-SEGGER-JLink-debugger/m-p/1517332#M194759</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;First of all, sorry for the later response.&lt;/P&gt;
&lt;P&gt;To be honest, we do not have Segger &lt;A href="https://www.segger.com/products/debug-probes/j-link/models/j-link-ultra-plus/" target="_self"&gt;J-Link ULTRA+&lt;/A&gt; debugger tool on hand and could not do a similar test onsite.&lt;/P&gt;
&lt;P&gt;From customer description, LPC-LINK2 debugger could get serial output as expected, while VCOM of J-Link ULTRA+ could not. From my view, the RT1020 UART port should output the same data, whatever using LPC-Link2 or J-Link. The only issue could happen with J-Link VCOM driver if related setting and transmit data to serial termial software correctly. Customer could check if Segger provide the updated VCOM driver.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the attention.&lt;/P&gt;
&lt;P&gt;Mike&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 06 Sep 2022 03:24:24 GMT</pubDate>
    <dc:creator>Hui_Ma</dc:creator>
    <dc:date>2022-09-06T03:24:24Z</dc:date>
    <item>
      <title>Semihost output problems using SEGGER JLink debugger.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Semihost-output-problems-using-SEGGER-JLink-debugger/m-p/1509430#M194108</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I've run into a problem using the semihost option with a SEGGER JLink debugger.&lt;/P&gt;&lt;P&gt;I am using the RT1020-EVK board. I created a new C++ project configured for semihosting. The only change I made was to add some std::cout calls to the file MIMXRT1021_Project.cpp:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;PRINTF("Hello World\n");&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;std::cout &amp;lt;&amp;lt; "Print1 using std::cout" &amp;lt;&amp;lt; std::endl;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;std::cout &amp;lt;&amp;lt; "Print2 using std::cout" &amp;lt;&amp;lt; std::endl;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;std::cout &amp;lt;&amp;lt; "Print3 using std::cout" &amp;lt;&amp;lt; std::endl;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The output I would expect is:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Hello World&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Print1 using std::cout&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Print2 using std::cout&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Print3 using std::cout&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;And this is indeed the output I see using the LPC-Link2 debugger.&lt;/P&gt;&lt;P&gt;The output I actually see using the SEGGER JLink is:&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Hello World&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;orld&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;Print1 using std::cout&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="courier new,courier"&gt;cout&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;So the Print2 and Print3 lines are missing, and I am getting the last 4 characters of each line reprinted on a subsequent line.&lt;/P&gt;&lt;P&gt;MCUXpresso IDE v11.6.0 [Build 8187] [2022-07-13]&lt;BR /&gt;SEGGER J-Link Ultra V5.1&lt;BR /&gt;SEGGER J-Link GDB Server V7.70c&lt;/P&gt;&lt;P&gt;What could be causing this please?&lt;BR /&gt;And how do I fix it?&lt;/P&gt;&lt;P&gt;Project attached as a zip file.&lt;/P&gt;&lt;P&gt;Many thanks and kind regards,&lt;/P&gt;&lt;P&gt;Ronnie&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Aug 2022 09:45:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Semihost-output-problems-using-SEGGER-JLink-debugger/m-p/1509430#M194108</guid>
      <dc:creator>rshipman</dc:creator>
      <dc:date>2022-08-22T09:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: Semihost output problems using SEGGER JLink debugger.</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Semihost-output-problems-using-SEGGER-JLink-debugger/m-p/1517332#M194759</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;First of all, sorry for the later response.&lt;/P&gt;
&lt;P&gt;To be honest, we do not have Segger &lt;A href="https://www.segger.com/products/debug-probes/j-link/models/j-link-ultra-plus/" target="_self"&gt;J-Link ULTRA+&lt;/A&gt; debugger tool on hand and could not do a similar test onsite.&lt;/P&gt;
&lt;P&gt;From customer description, LPC-LINK2 debugger could get serial output as expected, while VCOM of J-Link ULTRA+ could not. From my view, the RT1020 UART port should output the same data, whatever using LPC-Link2 or J-Link. The only issue could happen with J-Link VCOM driver if related setting and transmit data to serial termial software correctly. Customer could check if Segger provide the updated VCOM driver.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the attention.&lt;/P&gt;
&lt;P&gt;Mike&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Sep 2022 03:24:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Semihost-output-problems-using-SEGGER-JLink-debugger/m-p/1517332#M194759</guid>
      <dc:creator>Hui_Ma</dc:creator>
      <dc:date>2022-09-06T03:24:24Z</dc:date>
    </item>
  </channel>
</rss>

