<?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: disabling printf via DBG/TXT? in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579734#M24239</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Kahlveen on Mon Jul 02 07:50:56 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, perhaps I should be clearer about my setup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The board i am working with has a serial connector(male) soldered onto several pins, including the UART3(P0_0 and P0_1). To connect this to the PC, I attach a null female-to-male connector to it, before plugging this connector to a serial-to-USB converter to connect to my laptop(which does not have a serial port).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Without the null female-to-male connector, the PuTTY terminal is not getting any input from the LPC at all, so I am assuming this connector is correctly used. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you once again!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 02:31:50 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:31:50Z</dc:date>
    <item>
      <title>disabling printf via DBG/TXT?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579726#M24231</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by fierz on Mon Jun 11 02:52:10 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Aloha!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;RDB1768cmsis_efsl_lib in a project and have the following problem: when debugging with the Red Probe, everything works fine. When run standalone, the firmware crashes. The problem seems to be the printf function that is called by efsl_lib with calls like so: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;DBG((TXT("some text")));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;my project uses semihosting, so the printfs show up in the console; I already noticed that my own printfs make the firmware crash if the red probe isn't connected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How can I fix this? I've tried compiling efsl_lib in release mode to no avail - I can still see the printf output in the console, and the firmware still crashes. But surely there is some way to make these statements mute? I don't feel like searching for all of them and commenting them out, that seems very stupid :-)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:31:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579726#M24231</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:31:45Z</dc:date>
    </item>
    <item>
      <title>Re: disabling printf via DBG/TXT?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579727#M24232</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by researchinnovation on Mon Jun 11 03:30:16 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: fierz&lt;/STRONG&gt;&lt;BR /&gt;Aloha!&lt;BR /&gt;&lt;BR /&gt;RDB1768cmsis_efsl_lib in a project and have the following problem: when debugging with the Red Probe, everything works fine. When run standalone, the firmware crashes. The problem seems to be the printf function that is called by efsl_lib with calls like so: &lt;BR /&gt;&lt;BR /&gt;DBG((TXT("some text")));&lt;BR /&gt;&lt;BR /&gt;my project uses semihosting, so the printfs show up in the console; I already noticed that my own printfs make the firmware crash if the red probe isn't connected.&lt;BR /&gt;&lt;BR /&gt;How can I fix this? I've tried compiling efsl_lib in release mode to no avail - I can still see the printf output in the console, and the firmware still crashes. But surely there is some way to make these statements mute? I don't feel like searching for all of them and commenting them out, that seems very stupid :-)&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi....&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Try this....&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://www.cplusplus.com/reference/clibrary/cstdio/fprintf/&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/UsingPrintf?highlight=%28printf%29&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &amp;amp; Regards.......:)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:31:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579727#M24232</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: disabling printf via DBG/TXT?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579728#M24233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Rob65 on Mon Jun 11 10:50:53 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: fierz&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;my project uses semihosting, so the printfs show up in the console; I already noticed that my own printfs make the firmware crash if the red probe isn't connected.&lt;BR /&gt;&lt;BR /&gt;How can I fix this? I've tried compiling efsl_lib in release mode to no avail - I can still see the printf output in the console,&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Semihosting sends the printf output over the LPC-Link module to the debugger.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Semihosting is part of the library, in your project properties you'll find a reference to "Redlib (semihost)" or "Newlib (semihost)" and this determines that all printf goes to your debugger console.You should never use the semihosting versions of the library when your target is not connected to the debugger. A you discovered, this will hang your application.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When not connected to the debugger, use any of the "(nohost)" libraries instead. You will have to provide your own functions to write a character to the console (e.g. serial port).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you want to 'fix' the fact that your application hangs, use a library that does not support semi hosting. I think that efsl is not using any printf(or related) statements in the library so this should do the trick.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To 'fix' printf you'll now need to create some output channel that is used as your console (e.g. a serial port). There is a library (small_printf) somewhere on the NXP website that contains a restricted version of printf. It uses less memory than the complete printf from the standard library yet is still powerful enough to be used in most embedded applications.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Rob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:31:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579728#M24233</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: disabling printf via DBG/TXT?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579729#M24234</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 Jun 11 11:35:05 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Your debug.h defines debug behaviour:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; #include &amp;lt;stdio.h&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; #define TXT(x) x
&amp;nbsp;&amp;nbsp;&amp;nbsp; #define DBG(x) debug x
&amp;nbsp;&amp;nbsp;&amp;nbsp; #define FUNC_IN(x) ;
&amp;nbsp;&amp;nbsp;&amp;nbsp; #define FUNC_OUT(x) ;
&amp;nbsp;&amp;nbsp;&amp;nbsp; #define debug printf
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;SPAN&gt;If you don't want to use printf at all, change your defines here:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
#define DBG(x) //(x)
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:31:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579729#M24234</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:31:47Z</dc:date>
    </item>
    <item>
      <title>Re: disabling printf via DBG/TXT?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579730#M24235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Mon Jun 11 13:45:31 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Building with the Nohost library variant may the simplest/quickest workaround here, though as Zero points out changing the debug output settings within the project may be a better solution.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/LibraryVariants&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/SwitchingCLibrary&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The following thread may also provide you with some interesting background information....&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://knowledgebase.nxp.com/showthread.php?t=1921&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:31:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579730#M24235</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: disabling printf via DBG/TXT?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579731#M24236</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Kahlveen on Mon Jul 02 06:32:22 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to setup a UART3 serial connection from my LPC1769 to my PC to read/print data to a PuTTY terminal. I have imported and adapted the code from uart printf as suggested by this website &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/RDB1768cmsisExampleProjects&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When i try to run the code, all I get is gibberish on my PuTTY terminal when I tried to printf. When i do a scanf, the execution just hangs there at that line. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; The code below are the changes I made to the code to setup a UART3 instead of a UART0.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;uart3.h&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// PCUART3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define PCUART3_POWERON (1 &amp;lt;&amp;lt; 25)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#define PCLK_UART3 18&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define PCLK_UART3_MASK (3 &amp;lt;&amp;lt; 18)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#define IER_RBR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x01&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define IER_THRE&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x02&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define IER_RLS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x04&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#define IIR_PEND&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x01&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define IIR_RLS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x03&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define IIR_RDA&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x02&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define IIR_CTI&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x06&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define IIR_THRE&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x01&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#define LSR_RDR&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x01&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define LSR_OE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x02&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define LSR_PE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x04&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define LSR_FE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x08&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define LSR_BI&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x10&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define LSR_THRE&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x20&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define LSR_TEMT&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x40&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#define LSR_RXFE&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x80&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;// ***********************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// Function to set up UART&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;void UART3_Init(int baudrate)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int pclk;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; unsigned long int Fdiv;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // PCLK_UART3 is being set to 1/4 of SystemCoreClock&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; pclk = SystemCoreClock / 4;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Turn on power to UART3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_SC-&amp;gt;PCONP |=&amp;nbsp; PCUART3_POWERON;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Turn on UART3 peripheral clock&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_SC-&amp;gt;PCLKSEL1 &amp;amp;= ~(PCLK_UART3_MASK);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_SC-&amp;gt;PCLKSEL1 |=&amp;nbsp; (0 &amp;lt;&amp;lt; PCLK_UART3);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // PCLK_periph = CCLK/4&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Set PINSEL0 so that P0.0 = TXD3, P0.1 = RXD3&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_PINCON-&amp;gt;PINSEL0 &amp;amp;= ~0x0f;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_PINCON-&amp;gt;PINSEL0 |= ((1 &amp;lt;&amp;lt; 1) | (1 &amp;lt;&amp;lt; 3));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_UART3-&amp;gt;LCR = 0x83;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // 8 bits, no Parity, 1 Stop bit, DLAB=1&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Fdiv = ( pclk / 16 ) / baudrate ;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Set baud rate&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_UART3-&amp;gt;DLM = Fdiv / 256;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_UART3-&amp;gt;DLL = Fdiv % 256;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_UART3-&amp;gt;LCR = 0x03;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // 8 bits, no Parity, 1 Stop bit DLAB = 0&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_UART3-&amp;gt;FCR = 0x07;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // Enable and reset TX and RX FIFO&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;// ***********************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// Function to send character over UART&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;void UART3_Sendchar(char c)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while( (LPC_UART3-&amp;gt;LSR &amp;amp; LSR_THRE) == 0 );&amp;nbsp;&amp;nbsp;&amp;nbsp; // Block until tx empty&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LPC_UART3-&amp;gt;THR = c;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;// ***********************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// Function to get character from UART&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;char UART3_Getchar()&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; char c;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while( (LPC_UART3-&amp;gt;LSR &amp;amp; LSR_RDR) == 0 );&amp;nbsp; // Nothing received so just block&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; c = LPC_UART3-&amp;gt;RBR; // Read Receiver buffer register&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return c;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;// ***********************&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;// Function to prints the string out over the UART&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;void UART3_PrintString(char *pcString)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; int i = 0;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // loop through until reach string's zero terminator&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; while (pcString&lt;/SPAN&gt;&lt;I&gt; != 0) {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; UART3_Sendchar(pcString&lt;I&gt;); // print each character&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i++;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;I have also changed the retarget.c so that the functions are calling UART3 instead. I am using a serial to USB converter to connect my LPC to my PC.&lt;BR /&gt;&lt;BR /&gt; Can someone please advise? Also, are the initialisation for the UART3 correct? &lt;BR /&gt;&lt;BR /&gt;Thank you very much in advance!&lt;/I&gt;&lt;/I&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:31:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579731#M24236</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: disabling printf via DBG/TXT?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579732#M24237</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 Jul 02 07:28:41 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Kahlveen&lt;/STRONG&gt;&lt;BR /&gt;The code below are the changes I made to the code to setup a UART3 instead of a UART0&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;:confused:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm missing the line:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;"I've tested original UART0 code to ensure that USB converter or PuTTY are not kidding me&amp;nbsp; :)"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:31:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579732#M24237</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:31:49Z</dc:date>
    </item>
    <item>
      <title>Re: disabling printf via DBG/TXT?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579733#M24238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Kahlveen on Mon Jul 02 07:43:35 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hello Zero,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;you are absolutely right. Unfortunately, I am taking over the board from a previous person, and he has soldered the serial connector to the UART3 pins on P0_0 and P0_1, and hence my restriction to use UART3. Where possible, I will like to avoid having to remove the connection and re-solder.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have used to the same USB to serial cable on another device and the PuTTY terminal was able to communicate with it without any problems. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could it still be a hardware problem or more likely a firmware one?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:31:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579733#M24238</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: disabling printf via DBG/TXT?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579734#M24239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Kahlveen on Mon Jul 02 07:50:56 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Sorry, perhaps I should be clearer about my setup.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The board i am working with has a serial connector(male) soldered onto several pins, including the UART3(P0_0 and P0_1). To connect this to the PC, I attach a null female-to-male connector to it, before plugging this connector to a serial-to-USB converter to connect to my laptop(which does not have a serial port).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Without the null female-to-male connector, the PuTTY terminal is not getting any input from the LPC at all, so I am assuming this connector is correctly used. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you once again!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:31:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579734#M24239</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: disabling printf via DBG/TXT?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579735#M24240</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 Jul 02 07:58:41 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Kahlveen&lt;/STRONG&gt;&lt;BR /&gt;...I am taking over the board from a previous person, and he has soldered the serial connector to the UART3 pins on P0_0 and P0_1&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;No UART0 - ISP connection :eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I hope someone gave him a kick in the... :mad:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#1 Did you scope TxD to see a signal / speed ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#2 If you export and post a complete project, it's easier to test :rolleyes:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:31:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579735#M24240</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: disabling printf via DBG/TXT?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579736#M24241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Kahlveen on Mon Jul 02 08:20:07 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;haha, all i have is the board and the soldered connector. I have uploaded the project, it is just a simple test one. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I do not have access to a oscilloscope at the moment, unfortunately. Is there another way to check? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Please let me know if there's any other details that I am not mentioning in my posts.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:31:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579736#M24241</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:31:51Z</dc:date>
    </item>
    <item>
      <title>Re: disabling printf via DBG/TXT?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579737#M24242</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 Jul 02 08:45:25 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Good news for me, bad news for you :rolleyes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's working :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Printing with 9600bps from UART3 via FTDI to USB without problems :o&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:31:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579737#M24242</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: disabling printf via DBG/TXT?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579738#M24243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Kahlveen on Mon Jul 02 08:56:16 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;oh dear, that's strange. Could it be the connector then? Sorry for the silly question but is FTDI a brand of USB-to-serial converter or a type? I checked under Control panel-&amp;gt;devices and I think my connector is a prolific USB-to-serial. Should it make a difference?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) If not, then it should be a problem with the connection(soldering/wiring) am I right?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Could it also be the connection that I used to connect the LPC to the PC? I have uploaded a picture of the connection. The orange is the null female-to-male connector, the yellow is the gender-changer. May I know how you have setup the connection please?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;3)&amp;nbsp; Could you also please suggest possible areas of problems that I should look into?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for your help!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:31:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579738#M24243</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: disabling printf via DBG/TXT?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579739#M24244</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 Jul 02 09:21:14 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;FTDI:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Future Technology Devices International Limited&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Unit 1, 2 Seaward Place&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Centurion Business Park&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Glasgow&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;G41 1HH&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;United Kingdom&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Tel: +44 (0) 141 429 2777&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Fax: +44 (0) 141 429 2758&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See: &lt;/SPAN&gt;&lt;A href="http://http://www.ftdichip.com"&gt;www.ftdichip.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As Prolific (&lt;/SPAN&gt;&lt;A href="http://"&gt;http://www.prolific.com.tw/US/index.aspx&lt;/A&gt;&lt;SPAN&gt;) they are manufacturing converter. So you can use them both :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As described in:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;#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;SPAN&gt;it's useful to use an UART-USB converter, instead to convert to RS232 :rolleyes:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheap Digitus USB-Serial converter include FTDI chips and are very useful after removing RS232 part :D&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See: &lt;/SPAN&gt;&lt;A href="http://"&gt;http://flic.kr/p/bCdFve&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: Kahlveen&lt;/STRONG&gt;&lt;BR /&gt;If not, then it should be a problem with the connection(soldering/wiring) am I right? Are there any other areas that I should look at to isolate the problem?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I don't know what's your hardware is doing, but now you know that UART3 is working and the next step should be to check your RS232 (with a real RS232 connection) to see if your problem is your RS232-USB converter ;)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:31:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579739#M24244</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: disabling printf via DBG/TXT?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579740#M24245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Kahlveen on Mon Jul 02 09:35:23 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;my main purpose with the LPC is to send data serially to a wireless device. I am setting up the serial connection between the LPC and the PC simply to check that &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) I have initialise and open the UART TX/RX pins correctly,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) To double check that I am sending out the correct data serially, &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;before I plug the LPC to the wireless device. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your advice to connect the UART to USB directly, but the connection between the LPC and the wireless device requires a serial one, which explains the connection made by the previous person working on this, and the ridiculous connectors required(or think i require), as shown in the pictures of my previous updated post. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for your help. I will troubleshoot the issues and will update this thread if i manage to identify the problem. :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:31:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579740#M24245</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:31:53Z</dc:date>
    </item>
    <item>
      <title>Re: disabling printf via DBG/TXT?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579741#M24246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by serge on Wed Jul 04 00:12:57 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;My two cents: Your serial to usb converter is expecting RS232 voltage levels (official +12V and -12V) :D. Your board is not providing those (UART levels: 0V and 3.3V). By soldering just a connector to the board without a MAX232 for example your serial to usb converter wont work. So connect an FT230X (UART to USB converter from ftdichip &lt;/SPAN&gt;&lt;A href="http://"&gt;http://www.ftdichip.com&lt;/A&gt;&lt;SPAN&gt;) directly to the board.:rolleyes: Or just use a cheap digitus Serial to USB converter and remove the RS232 part like ZERO suggested.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:31:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579741#M24246</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:31:54Z</dc:date>
    </item>
    <item>
      <title>Re: disabling printf via DBG/TXT?</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579742#M24247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Kahlveen on Thu Jul 05 08:46:43 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem solved! It was the mismatch of voltages between what is coming out of the LPC and the what is expected on the PC.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much Zero and Serge!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:31:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/disabling-printf-via-DBG-TXT/m-p/579742#M24247</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:31:55Z</dc:date>
    </item>
  </channel>
</rss>

