<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックRe: MC52235 Serial Port Communications</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161702#M5184</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;It not a matter of frustration, it's a matter of if you don't do as I say, then things will not work.&lt;BR /&gt;&lt;BR /&gt;I carefully tried it all here, so that it would work, but then if you do not do it the same way there is no chance of it working.&lt;BR /&gt;&lt;BR /&gt;We learn by pain sometimes. That is how we here all learned it. If you want to be an engineer, you have to endure the struggle. I have spent hours over some silly thing. In this case it did not work because of the order of includes it never saw the prototypes for the functions, because the firs file turned on ifdefs for other includes.&lt;BR /&gt;&lt;BR /&gt;You need to be willing th check, double check and then check again. It's all in the details. I know you are learning, and I am tried to help you, and sometimes the student needs a bit of nagging.&lt;BR /&gt;&lt;BR /&gt;If you cut and paste just what is in the box into notepad it should be fine. It also pasted into CW fine as well (yes, I even tried that too).&lt;BR /&gt;&lt;BR /&gt;You will notice nobody else responded - perhaps they are wiser than me.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Jun 2008 03:17:14 GMT</pubDate>
    <dc:creator>JimDon</dc:creator>
    <dc:date>2008-06-11T03:17:14Z</dc:date>
    <item>
      <title>MC52235 Serial Port Communications</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161685#M5167</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi, I am just starting out so I would really appreciate some help. I am trying to write some simple code for the 52235CAL60. Basically I am trying to just send data from the computer to the board and either send it write back to the computer (displayed in hyperterminal) or modify it slightly such as capitilize it, etc. Any help would be greatly appreciated. Thank you.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 21:03:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161685#M5167</guid>
      <dc:creator>coco3811</dc:creator>
      <dc:date>2008-06-04T21:03:06Z</dc:date>
    </item>
    <item>
      <title>Re: MC52235 Serial Port Communications</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161686#M5168</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;If you create a project with CW 7.0 it's "framework" has all the uart code to do that included.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 21:15:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161686#M5168</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-06-04T21:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: MC52235 Serial Port Communications</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161687#M5169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Could you include some sample code? I am still stuck &lt;IMG alt=":smileyindifferent:" class="emoticon emoticon-smileyindifferent" id="smileyindifferent" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-indifferent.gif" title="Smiley Indifferent" /&gt; thanks.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Jun 2008 22:12:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161687#M5169</guid>
      <dc:creator>coco3811</dc:creator>
      <dc:date>2008-06-04T22:12:36Z</dc:date>
    </item>
    <item>
      <title>Re: MC52235 Serial Port Communications</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161688#M5170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Generate a project for your evb with full board support.&lt;BR /&gt;Use the RAM targer.&lt;BR /&gt;In&amp;nbsp; uart_support.c find these functions:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;char uart_getchar (int channel)&lt;BR /&gt;void uart_putchar (int channel, char ch)&lt;BR /&gt;&lt;BR /&gt;In M52223EVB_sysinit.h you will find:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;#if ENABLE_UART_SUPPORT==1&lt;BR /&gt;&lt;BR /&gt;#define TERMINAL_PORT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;BR /&gt;#define TERMINAL_BAUD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; kBaud19200&lt;BR /&gt;&lt;BR /&gt;#endif&amp;nbsp; /* ENABLE_UART_SUPPORT==1 */&lt;BR /&gt;&lt;BR /&gt;#define SYSTEM_CLOCK_KHZ&amp;nbsp; 80000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* system bus frequency in kHz */&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Call these functions with TERMINAL_PORT as in:&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;c = uart_getchar (TERMINAL_PORT);      // Read a character.    uart_putchar (TERMINAL_PORT, c);  // echo it.&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;Something like this should wortk&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;/* * main implementation: use this sample to create your own application * */#include "support_common.h" /* include peripheral declarations and more */#include "M52223EVB_sysinit.h" // This may be different for you chip.
#if (CONSOLE_IO_SUPPORT || ENABLE_UART_SUPPORT) /* Standard IO is only possible if Console or UART support is enabled. */#include &amp;lt;stdio.h&amp;gt;#endifint main(void){ int counter = 0; int c; c = uart_getchar (TERMINAL_PORT);      // Read a character.        uart_putchar (TERMINAL_PORT, c);       // echo it.#if (CONSOLE_IO_SUPPORT || ENABLE_UART_SUPPORT)  printf("Hello World in C from MCF52223 derivative on M52223EVB board\n\r"); fflush(stdout);#endif for(;;) {         counter++; }}&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:07:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161688#M5170</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2020-10-29T09:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: MC52235 Serial Port Communications</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161689#M5171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;How do I define&amp;nbsp;TERMINAL _PORT? When I try using just an int i then get an error for the methods getChar and putChar saying that they are undefined. I have tried adding the include statements:&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;#include "uart_support.h"#include "uart_support.c"&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;However, I still get an error.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:07:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161689#M5171</guid>
      <dc:creator>coco3811</dc:creator>
      <dc:date>2020-10-29T09:07:18Z</dc:date>
    </item>
    <item>
      <title>Re: MC52235 Serial Port Communications</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161690#M5172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;/* * main implementation: use this sample to create your own application * */#include "support_common.h" /* include peripheral declarations and more */#include "MCF52235_sysinit.h"#include "uart_support.h"#include "uart_support.c"#if (CONSOLE_IO_SUPPORT || ENABLE_UART_SUPPORT) /* Standard IO is only possible if Console or UART support is enabled. */#include &amp;lt;stdio.h&amp;gt;#endifint main(void){// uart_init (0,60000,9600);  int channel = 0; int c = 0;  c = uart_getchar (channel);      // Read a character. uart_putchar (channel, c);       // Echo it./*#if (CONSOLE_IO_SUPPORT || ENABLE_UART_SUPPORT)  printf("Hello World in C++ from MCF52235 derivative on MCF52235 board\n\r"); fflush(stdout);#endif for(;;) {  }*/ }&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am still getting an error saying the methods are undefined. Help please. Do I need uart_init? If I include that I get a bunch more errors..&lt;BR /&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:07:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161690#M5172</guid>
      <dc:creator>coco3811</dc:creator>
      <dc:date>2020-10-29T09:07:20Z</dc:date>
    </item>
    <item>
      <title>Re: MC52235 Serial Port Communications</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161691#M5173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;&lt;SPAN&gt;Hi Coco3811...&lt;BR /&gt;&amp;nbsp;&lt;!--  [endif]  --&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have got the same problem. I am trying to send data from the board to the com-port.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I am working with MFC52235EVB. Did you find any solution for the undefined error problem?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;T. Schmidt&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 18:32:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161691#M5173</guid>
      <dc:creator>schogun</dc:creator>
      <dc:date>2008-06-10T18:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: MC52235 Serial Port Communications</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161692#M5174</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Not yet but I'll keep you updated&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 19:52:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161692#M5174</guid>
      <dc:creator>coco3811</dc:creator>
      <dc:date>2008-06-10T19:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: MC52235 Serial Port Communications</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161693#M5175</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&amp;nbsp; First of all I will assume that you are using CW for CF V7.0.&lt;BR /&gt;&lt;BR /&gt;- Creat a new project, but make sure in the first dialog, you pick "Cold Fire Evaluation Boards"/"Coldfire V2"/ Your eval board. Under connection pick P&amp;amp;E.&lt;BR /&gt;&lt;BR /&gt;- On the next dialog pick set up the name/path you want.&lt;BR /&gt;&lt;BR /&gt;- Pick &lt;B&gt;None&lt;/B&gt; on the Rapid Application dialog.&lt;BR /&gt;&lt;BR /&gt;- Leave the next dialog as it is - &lt;B&gt;Full Board Support,&lt;/B&gt; &lt;B&gt;Easy Debug&lt;/B&gt;.&lt;BR /&gt;&lt;BR /&gt;Click finish.&lt;BR /&gt;&lt;BR /&gt;Use the INTERNAL_RAM &amp;nbsp; NOT the CONSOLE&amp;nbsp; target.&lt;BR /&gt;&lt;BR /&gt;Paste this into main. Start a terminal emulator 19200, 8 bit, no flow control.&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;
#include "support_common.h" /* include peripheral declarations and more */
&lt;B&gt;// Change this line for your board&lt;/B&gt;
&lt;B&gt;#include "M52223EVB_sysinit.h"&lt;/B&gt;
#include "uart_support.h"

#if (CONSOLE_IO_SUPPORT || ENABLE_UART_SUPPORT)
/* Standard IO is only possible if Console or UART support is enabled. */
#include &amp;lt;stdio.h&amp;gt;
#endif

int main(void)
{
 int counter = 0;
 volatile char c;
 uart_init(TERMINAL_PORT, SYSTEM_CLOCK_KHZ, TERMINAL_BAUD);
#if (CONSOLE_IO_SUPPORT || ENABLE_UART_SUPPORT)
 printf("\n\rM52223EVB board\n\r");
// fflush(stdout);
#endif
 
 for(;;) {   
   counter++;
   c = uart_getchar (TERMINAL_PORT);      // Read a character.
   uart_putchar (TERMINAL_PORT, c);       // echo it.

 }
}

&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by JimDon on &lt;SPAN class="date_text"&gt;2008-06-10&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;11:05 AM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:07:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161693#M5175</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2020-10-29T09:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: MC52235 Serial Port Communications</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161694#M5176</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;How do I define TERMINAL_PORT, SYSTEM_CLOCK_KHZ, TERMINAL_BAUD?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;0, 60000, 19200?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;c = uart_getchar (TERMINAL_PORT);      // Read a character.   uart_putchar (TERMINAL_PORT, c);       // Echo it.&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;With the above code, the output of getchar is a char and the parameter for putchar is an int so won't this cause problems?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Also, I am still getting:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Link Error: Undefined: "uart_getchar"&lt;/DIV&gt;&lt;DIV&gt;Reference from "main" in main.c&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;for all 3 uart methods..&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by coco3811 on &lt;SPAN class="date_text"&gt;2008-06-10&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;05:01 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:07:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161694#M5176</guid>
      <dc:creator>coco3811</dc:creator>
      <dc:date>2020-10-29T09:07:23Z</dc:date>
    </item>
    <item>
      <title>Re: MC52235 Serial Port Communications</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161695#M5177</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;You don't define anything - the code should build and run as is.&lt;BR /&gt;&lt;BR /&gt;Did it not?&lt;BR /&gt;&lt;BR /&gt;It is normal in "C" to put char in ints. The code should build with 0 warnings as is.&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 23:02:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161695#M5177</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-06-10T23:02:24Z</dc:date>
    </item>
    <item>
      <title>Re: MC52235 Serial Port Communications</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161696#M5178</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;No i'm still getting Link Errors and errors for TERMINAL_PORT, SYSTEM_CLOCK_KHZ, TERMINAL_BAUD. It doesn't make any sense because I see that these are defined in MCF52233_sysinit.h which I have included..There must be a problem with the linking of that file..Do you know how to resolve the linking problem?&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jun 2008 23:41:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161696#M5178</guid>
      <dc:creator>coco3811</dc:creator>
      <dc:date>2008-06-10T23:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: MC52235 Serial Port Communications</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161697#M5179</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I sent you a pm with I my email. Send me the project zipped.&lt;BR /&gt;Change the extension to .zi_&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 00:01:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161697#M5179</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-06-11T00:01:30Z</dc:date>
    </item>
    <item>
      <title>Re: MC52235 Serial Port Communications</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161698#M5180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;In support_common.h change this an it will build:&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;/* Enable UART Support. */#define ENABLE_UART_SUPPORT  1&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&amp;nbsp;For some reason, mine came up as 1, yours did not.&lt;BR /&gt;&lt;BR /&gt;Tell me if it works.&lt;BR /&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by JimDon on &lt;SPAN class="date_text"&gt;2008-06-10&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;01:22 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:07:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161698#M5180</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2020-10-29T09:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: MC52235 Serial Port Communications</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161699#M5181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Ah, I'm surprised that it defaults to 0 and not 1.. I can get it to compile if I use the respective values 0, 60000, 19200 for the values in uart_init but if I put in the names it says they are undefined..&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Also, when I run the program (with the numbers it will run), and open HyperTerminal connecting using COM1, 19200 Baud rate, 8 data bits, no parity, 1 stop bit and no flow control I don't get anything.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 00:57:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161699#M5181</guid>
      <dc:creator>coco3811</dc:creator>
      <dc:date>2008-06-11T00:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: MC52235 Serial Port Communications</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161700#M5182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;That because you did not enter the code as I showed it.&lt;BR /&gt;I showed :&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;#include "support_common.h" /* include peripheral declarations and more */// Change this line for your board#include "MCF52233_sysinit.h" #include "uart_support.h"&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;&amp;nbsp;You decided to use instead:&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;DIV class="msg_source_code"&gt;&lt;DIV class="text_smallest"&gt;Code:&lt;/DIV&gt;&lt;PRE&gt;#include "MCF52233_sysinit.h" #include "uart_support.h" #include "support_common.h" /* include peripheral declarations and more */&lt;/PRE&gt;&lt;/DIV&gt;&lt;BR /&gt;In the future, when someone posts code first try a cut and paste of it.&lt;BR /&gt;Also, #define ENABLE_UART_SUPPORT&amp;nbsp; 1 was how it was orginally defined. You changed it, or did not generate the project as I asked. (I know because I just generated a project for&amp;nbsp; M52233DEMO - I gave you detailed steps to generate a project so this would not happen).&lt;BR /&gt;&lt;BR /&gt;I can tell you did not do as I instructed. Please go generate a project for your BOARD using board support.&lt;BR /&gt;You generated the project for the chip, but not your board. (I can tell because in your project it has MCF52233_sysinit.h NOT M52233DEMO_sysinit.c or what ever the name of your board is).&lt;BR /&gt;&lt;BR /&gt;I went to the trouble of giving you detailed steps, now you could at least take the time to follow them. If you had followed them it would have built right off the bat.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Order of includes is very important.&lt;BR /&gt;BTW There is good chance that is why it is not working.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;As for your problem with hyper term, it could be many things. I don't have your board, so I can only give a clue.&lt;BR /&gt;&lt;BR /&gt;Things to check:&lt;BR /&gt;&lt;BR /&gt;Proper cable - should NOT be a null modem cable.&lt;BR /&gt;Jumpers on the board. I don't have your board, so you will just have to figure this out. Read the docs.&lt;BR /&gt;Correct connector on the board - mine has 3 serial ports. should use UART0.&lt;BR /&gt;Correct serial port on PC.&lt;BR /&gt;No other program using that serial port.&lt;BR /&gt;&lt;BR /&gt;And perhaps other&amp;nbsp; things I have not thought of.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="time_text"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by JimDon on &lt;SPAN class="date_text"&gt;2008-06-10&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;03:07 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:07:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161700#M5182</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2020-10-29T09:07:27Z</dc:date>
    </item>
    <item>
      <title>Re: MC52235 Serial Port Communications</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161701#M5183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;The code was pasting all in one line.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for taking the time to help a beginner and not getting frustrated until the end..&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by coco3811 on &lt;SPAN class="date_text"&gt;2008-06-10&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;04:05 PM&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by coco3811 on &lt;SPAN class="date_text"&gt;2008-06-10&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;04:06 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 03:04:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161701#M5183</guid>
      <dc:creator>coco3811</dc:creator>
      <dc:date>2008-06-11T03:04:54Z</dc:date>
    </item>
    <item>
      <title>Re: MC52235 Serial Port Communications</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161702#M5184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;It not a matter of frustration, it's a matter of if you don't do as I say, then things will not work.&lt;BR /&gt;&lt;BR /&gt;I carefully tried it all here, so that it would work, but then if you do not do it the same way there is no chance of it working.&lt;BR /&gt;&lt;BR /&gt;We learn by pain sometimes. That is how we here all learned it. If you want to be an engineer, you have to endure the struggle. I have spent hours over some silly thing. In this case it did not work because of the order of includes it never saw the prototypes for the functions, because the firs file turned on ifdefs for other includes.&lt;BR /&gt;&lt;BR /&gt;You need to be willing th check, double check and then check again. It's all in the details. I know you are learning, and I am tried to help you, and sometimes the student needs a bit of nagging.&lt;BR /&gt;&lt;BR /&gt;If you cut and paste just what is in the box into notepad it should be fine. It also pasted into CW fine as well (yes, I even tried that too).&lt;BR /&gt;&lt;BR /&gt;You will notice nobody else responded - perhaps they are wiser than me.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 03:17:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161702#M5184</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-06-11T03:17:14Z</dc:date>
    </item>
    <item>
      <title>Re: MC52235 Serial Port Communications</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161703#M5185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;No, Jim, it's that we were in awe of your usual good trouble-shooting techniques. Seriously. Well done.&lt;BR /&gt;&lt;BR /&gt;---Tom&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jun 2008 20:41:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161703#M5185</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2008-06-11T20:41:02Z</dc:date>
    </item>
    <item>
      <title>Re: MC52235 Serial Port Communications</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161704#M5186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;BR /&gt;Well, if that is true, then it is only because I made every mistake possible and spent hours trying to figure it out.&lt;BR /&gt;I can't tell you how many time I've hollered because perfectly good serial port code wouldn't work, only to remember I had forgot the set the jumpers (again!).&lt;BR /&gt;&lt;BR /&gt;Thanks for the encouragement.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by JimDon on &lt;SPAN class="date_text"&gt;2008-06-11&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;04:07 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jun 2008 03:07:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/MC52235-Serial-Port-Communications/m-p/161704#M5186</guid>
      <dc:creator>JimDon</dc:creator>
      <dc:date>2008-06-12T03:07:23Z</dc:date>
    </item>
  </channel>
</rss>

