<?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: Newbie Question - UART as a debug interface in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Newbie-Question-UART-as-a-debug-interface/m-p/530717#M2129</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by a.unique.identifier on Mon May 14 10:33:30 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;...where do you find all these links???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...joseph&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:18:12 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:18:12Z</dc:date>
    <item>
      <title>Newbie Question - UART as a debug interface</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Newbie-Question-UART-as-a-debug-interface/m-p/530713#M2125</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by a.unique.identifier on Mon May 14 07:21:20 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to use the LPC1343 UART as an output channel for debuging purposes. I intended on using a standard FDTI TTL to USB serial interface, a single TXD line (!!!?), most probably the NXP UART code and teminal emulation program for Windows 7.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any helpful hints - with respect to the processor / debugging / hardware inteface / terminal emulation - from people that have been down this path before? Is putty the best alternative to HyperTerminal, which is no longer included in Windows 7 (but theoretically can be gotten from an XP installation)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:18:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Newbie-Question-UART-as-a-debug-interface/m-p/530713#M2125</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:18:08Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie Question - UART as a debug interface</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Newbie-Question-UART-as-a-debug-interface/m-p/530714#M2126</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Mon May 14 08:27:47 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: a.unique.identifier&lt;/STRONG&gt;&lt;BR /&gt;Any helpful hints - with respect to the processor / debugging / hardware inteface / terminal emulation - from people that have been down this path before?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What is the question here :confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Just add a FTDI chip or buy a cheap USB-RS232 with FTDI and solder out the RS232 part&amp;nbsp; :eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In Germany you can buy this one:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://www.reichelt.de/USB-Konverter/DIGITUS-DA-70156/3/index.html?;ACTION=3;LA=446;ARTICLE=99617;GROUPID=5253;artnr=DIGITUS+DA-70156;SID=12T6k51n8AAAIAACu6EyI13927addd73acb16891cb85544abe61d&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and remove RS232 part to:&amp;nbsp; &lt;/SPAN&gt;&lt;A href="http://"&gt;http://flic.kr/p/bCdFve&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See: #15 of &lt;/SPAN&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showthread.php?t=1931&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: &lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Is putty the best alternative to HyperTerminal,...&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;SPAN&gt;I like TeraTerm:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://ttssh2.sourceforge.jp/&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:18:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Newbie-Question-UART-as-a-debug-interface/m-p/530714#M2126</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie Question - UART as a debug interface</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Newbie-Question-UART-as-a-debug-interface/m-p/530715#M2127</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by a.unique.identifier on Mon May 14 09:52:13 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Basically if that was the right way to go, but also if all that is required is the TXD line (without handshaking). Finally, if there are any "gotchas" with respect to sending the data in this fashion. Ex. Don't use printf I imagine, use the codebase so and so as this the most reliable, etc...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I ordered a breakout board from Elektor - it's quite versital and all the connections are easily accessable.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thx for the TeraTerm tip!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:18:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Newbie-Question-UART-as-a-debug-interface/m-p/530715#M2127</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:18:10Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie Question - UART as a debug interface</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Newbie-Question-UART-as-a-debug-interface/m-p/530716#M2128</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Mon May 14 10:24:45 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;As shown in picture above there are just 3 wire necessary RX/TD and GND, no handshaking &lt;SPAN class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;&lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Easiest way to start is to create a working semihosting project and retarget it to UART:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/UartPrintf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;with something like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
//use UART for printf
int __sys_write(int iFileHandle, char *pcBuffer, int iLength)
{
 UARTSend(pcBuffer,iLength);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //send data buffer to UART
 return iLength;
}
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;So you can use formating of printf &lt;SPAN class="lia-unicode-emoji" title=":winking_face:"&gt;&lt;LI-EMOJI id="lia_winking-face" title=":winking_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't forget to reduce code size with CR_INTEGER_PRINTF symbol:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://http://support.code-red-tech.com/CodeRedWiki/UsingPrintf?highlight=%28CR%5C_integer%29" rel="nofollow noopener noreferrer" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/UsingPrintf?highlight=%28CR\_integer%29&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:18:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Newbie-Question-UART-as-a-debug-interface/m-p/530716#M2128</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Newbie Question - UART as a debug interface</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Newbie-Question-UART-as-a-debug-interface/m-p/530717#M2129</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by a.unique.identifier on Mon May 14 10:33:30 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;...where do you find all these links???&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, thank you!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;...joseph&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:18:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Newbie-Question-UART-as-a-debug-interface/m-p/530717#M2129</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:18:12Z</dc:date>
    </item>
  </channel>
</rss>

