<?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 UART problem in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564226#M17469</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jappelino on Thu Jan 28 06:15:41 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am running the cortex M0 board hooked up to a XBEE Zigbee module. The first incoming characters are ok, but in the middle it seems like the same character is copied two extra times.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am running at 38400, the data has previously been picked up with no problems on a bit banged software on a much smaller cpu.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anybody experienced something simular or seen some errata on this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:53:02 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:53:02Z</dc:date>
    <item>
      <title>UART problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564226#M17469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jappelino on Thu Jan 28 06:15:41 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am running the cortex M0 board hooked up to a XBEE Zigbee module. The first incoming characters are ok, but in the middle it seems like the same character is copied two extra times.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am running at 38400, the data has previously been picked up with no problems on a bit banged software on a much smaller cpu.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Anybody experienced something simular or seen some errata on this?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:53:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564226#M17469</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: UART problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564227#M17470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jappelino on Sat Jan 30 00:52:20 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Here is some additional information: when the cursor is held on top of the array of received bytes it seems correct but when displaying the array in a watch window I get these incorrect values.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:53:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564227#M17470</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: UART problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564228#M17471</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP_USA on Sat Jan 30 17:40:10 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: jappelino&lt;/STRONG&gt;&lt;BR /&gt;Here is some additional information: when the cursor is held on top of the array of received bytes it seems correct but when displaying the array in a watch window I get these incorrect values.&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi jappelino,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;That is unusual. Is the data correct from your code's point-of-view? You can use LPCXpresso semihosted printf to send the data into the debugger's console window so you can see it without sending it over serial again. I suppose another way to check this would be to just echo the data back that you receive and see if it looks correct in Hyperterm.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-NXP&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:53:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564228#M17471</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:53:03Z</dc:date>
    </item>
    <item>
      <title>Re: UART problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564229#M17472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jappelino on Sun Jan 31 00:59:54 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried the printf but I guess I need to include some kind of stdio.h to get it to work?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I make a copy like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=2] &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[LEFT][/SIZE][B][SIZE=2][COLOR=#7f0055][SIZE=2][COLOR=#7f0055]for[/B][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2](m=0 ; m&amp;lt; 100 ; m++)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;ub_16[m] = ([/SIZE][B][SIZE=2][COLOR=#7f0055][SIZE=2][COLOR=#7f0055]int[/B][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]) UARTBuffer[m];[/SIZE]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=2][/SIZE] &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=2]ub_16 is correct but not UARTHBuffer, so my guess there is something strange with the way the watchwindow displays variables.[/LEFT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/SIZE]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:53:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564229#M17472</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:53:04Z</dc:date>
    </item>
    <item>
      <title>Re: UART problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564230#M17473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP_USA on Mon Feb 01 12:27:41 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: jappelino&lt;/STRONG&gt;&lt;BR /&gt;I tried the printf but I guess I need to include some kind of stdio.h to get it to work?&lt;BR /&gt; &lt;BR /&gt;If I make a copy like:&lt;BR /&gt;[SIZE=2] &lt;BR /&gt;[LEFT][/SIZE][B][SIZE=2][COLOR=#7f0055][SIZE=2][COLOR=#7f0055]for[/B][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2](m=0 ; m&amp;lt; 100 ; m++)&lt;BR /&gt;ub_16[m] = ([/SIZE][B][SIZE=2][COLOR=#7f0055][SIZE=2][COLOR=#7f0055]int[/B][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2]) UARTBuffer[m];[/SIZE]&lt;BR /&gt;[SIZE=2][/SIZE] &lt;BR /&gt;[SIZE=2]ub_16 is correct but not UARTHBuffer, so my guess there is something strange with the way the watchwindow displays variables.[/LEFT]&lt;BR /&gt;[/SIZE]&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Would you please post the variable declaration for ub_16 and UARTHBuffer?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-NXP&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:53:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564230#M17473</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: UART problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564231#M17474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jappelino on Tue Feb 02 00:16:05 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;the ub_16 is declared as an int, the UARTHBuffer is taken from the example project delivered with the IDE.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I will give you the exact declaration in about 10 hours (I'm not at the place where I have the code rigth now).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:53:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564231#M17474</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: UART problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564232#M17475</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jappelino on Tue Feb 02 11:20:12 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=2][COLOR=#005032][SIZE=2][COLOR=#005032]UARTHBuffer is declared as uint8_t which is declared as [B][SIZE=2][COLOR=#7f0055][SIZE=2][COLOR=#7f0055]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;unsigned[/B][/COLOR][/SIZE][/COLOR][/SIZE][SIZE=2][COLOR=#000000] [/COLOR][/SIZE][B][SIZE=2][COLOR=#7f0055][SIZE=2][COLOR=#7f0055]char&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/B][/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE][/COLOR][/SIZE]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:53:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564232#M17475</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: UART problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564233#M17476</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 Thu Feb 04 03:53:15 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Jappelino,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can you try removing the "--gc-sections" option from:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Project Properties-&amp;gt;C/C++ Build-&amp;gt;Settings-&amp;gt;MCU Linker-&amp;gt;Miscellaneous&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and see if you now see the correct variable value?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also can you confirm whether the variables where you see the incorrect value are actually locals or globals?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With regards to your question about using printf,&amp;nbsp; please see the knowledgebase entry "Using printf in your applications" at:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://lpcxpresso.code-red-tech.com/LPCXpresso/node/20&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:53:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564233#M17476</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:53:06Z</dc:date>
    </item>
    <item>
      <title>Re: UART problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564234#M17477</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jappelino on Thu Feb 04 10:30:36 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried the new linker comand and made a clean build but the result is the same.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The buffer reading the UARTH port is global and the int buffer is local&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:53:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564234#M17477</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: UART problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564235#M17478</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by NXP_USA on Fri Feb 05 11:25:51 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: jappelino&lt;/STRONG&gt;&lt;BR /&gt;I tried the new linker comand and made a clean build but the result is the same.&lt;BR /&gt; &lt;BR /&gt;The buffer reading the UARTH port is global and the int buffer is local&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Are you compiling with optimization or in a Release configuration?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Optimization can confuse source-level debuggers by deleting variables and re-arranging the code to reduce size and increase speed. Is it possible you could post your entire project? If so, use the Export feature on the LPCXpresso Quick Start panel and attach it to your posting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-NXP&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:53:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564235#M17478</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:53:07Z</dc:date>
    </item>
    <item>
      <title>Re: UART problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564236#M17479</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jappelino on Sat Feb 06 03:47:40 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Ok here is the project, everything should be included.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:53:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564236#M17479</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:53:08Z</dc:date>
    </item>
    <item>
      <title>Re: UART problem</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564237#M17480</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jappelino on Sat Feb 13 06:10:34 MST 2010&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to download my projet frpm the Forum to another PC. In order to get it to build you need to have the example project for the 1100 series installed. The problem remains however&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:53:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/UART-problem/m-p/564237#M17480</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:53:09Z</dc:date>
    </item>
  </channel>
</rss>

