<DIV>
<DIV>
<DIV>
<DIV>Hi,you all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>After successfully porting on LITE_DW,I tried my best to make my design board work.But no good serial output by now.At first,there were some characters displayed on the screen in a state disorder with help of BDI2000 and GDB.I,HOWEVER,cannot see them after making some changes on hardware and software.For no CPLD on my board,there is no hardware handshake circuit.Does it matter?</DIV>
<DIV>&nbsp;</DIV>
<DIV>U-Boot 1.0.0 (Dec 17 2003 - 14:56:31)&nbsp;&nbsp;&nbsp;&nbsp;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ««HH?K.?.5Qaai.5).I5?..?5&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ˙<BR>CPU:&nbsp;&nbsp; PPC823EZTnnB2 at 64 MHz:.YHNH-($Ti*k&nbsp;&nbsp;<BR>U-Boot 1.0.0 (Dec 17 2003 - 14:56:31)&nbsp;&nbsp;&nbsp;&nbsp;<BR></DIV>
<DIV>&nbsp;</DIV>
<DIV>My MPC8xx connects the RS232 transceiver chip as following:</DIV>
<DIV>&nbsp;</DIV>
<DIV>1.SMC1</DIV>
<DIV>&nbsp;</DIV>
<DIV>MPC823E&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MAX3225</DIV>
<DIV>PB24-SMC1TXD&nbsp; &nbsp; --------------&nbsp;&nbsp;&nbsp;&nbsp; T1IN</DIV>
<DIV>PB25-SMC1RXD&nbsp;&nbsp;&nbsp;--------------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;R1OUT</DIV>
<DIV>PB22-EN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -------------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FOFF</DIV>
<DIV>&nbsp;</DIV>
<DIV>Related code in serial.c:</DIV>
<DIV>&nbsp;</DIV>
<DIV>#if defined(CONFIG_RPXLITE) || defined(CONFIG_RPXCLASSIC)<BR>&nbsp;</DIV>
<DIV>cp-&gt;cp_pbpar &amp;=~0x00000200;&nbsp;  /* Added by SAM */<BR>cp-&gt;cp_pbdir |= 0x00000200;&nbsp;&nbsp;&nbsp;&nbsp; </DIV>
<DIV>cp-&gt;cp_pbodr &amp;=~0x00000200;&nbsp;&nbsp;</DIV>
<DIV>cp-&gt;cp_pbdat |= 0x00000200;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/*&nbsp;Set PB22 1. ENABLE RS232*/<BR>&nbsp;&nbsp;</DIV>
<DIV>#endif /* CONFIG_RPXLITE */<BR><BR>2.SCC3</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>MPC823E&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;MAX3225</DIV>
<DIV>PB24-SCC3TXD3&nbsp;&nbsp;&nbsp;--------------&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; T1IN</DIV>
<DIV>PB25-SCC3RXD3&nbsp;&nbsp; --------------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;R1OUT</DIV>
<DIV>PC13-RTS3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --------------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; T2IN</DIV>
<DIV>PB23-CTS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; --------------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;R2OUT</DIV>
<DIV>PB22-EN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -------------&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; FOFF&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>Related code in serial.c:</DIV>
<DIV>&nbsp;</DIV>
<DIV>-------</DIV>
<DIV>&nbsp;</DIV>
<DIV>#if (SCC_INDEX == 2) &amp;&amp; defined(CONFIG_MPC823)&nbsp;&nbsp;&nbsp; /* [SAM]&nbsp; */<BR><BR>cp-&gt;cp_pbpar&nbsp;&nbsp; |=&nbsp; 0x000000c0;&nbsp;&nbsp; /* Defining PB25=TXD3 PB24=RXD3 */<BR>cp-&gt;cp_pbdir&nbsp;&nbsp;&nbsp; |=&nbsp; 0x000000c0;&nbsp;&nbsp;&nbsp; </DIV>
<DIV>cp-&gt;cp_pbodr&nbsp; &amp;= ~0x000000c0;&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;-------</DIV>
<DIV>&nbsp;</DIV>
<DIV>#if defined(CONFIG_RPXLITE) || defined(CONFIG_RPXCLASSIC</DIV>
<DIV>&nbsp;</DIV>
<DIV>cp_pbpar &amp;=~0x00000200;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</DIV>
<DIV>cp-&gt;cp_pbdat |= 0x00000200;&nbsp;<BR>cp-&gt;cp_pbdir |= 0x00000200;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>cp-&gt;cp_pbodr &amp;=~0x00000200;&nbsp;&nbsp;&nbsp;&nbsp; /*&nbsp;Set PB22 1. ENABLE RS232*/<BR>&nbsp;</DIV>
<DIV>im-&gt;im_ioport.iop_pcpar |= (ushort) 0x0004;&nbsp;&nbsp; /* Let PC13 = RTS3 */<BR>im-&gt;im_ioport.iop_pcdat &amp;=~(ushort) 0x0004;<BR>im-&gt;im_ioport.iop_pcdir &amp;=~(ushort) 0x0004;&nbsp;  /* Enable RTS3*/<BR>&nbsp;&nbsp;</DIV>
<DIV>#endif /* CONFIG_RPXLITE */</DIV>
<DIV>&nbsp;</DIV>
<DIV>Thanks for reading&nbsp;&amp; any help.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Best regards,</DIV>
<DIV>&nbsp;</DIV>
<DIV>SAM</DIV>
<DIV>&nbsp;</DIV>
<DIV>
<DIV>***Sorry for sending the draft to mail list just now ***<BR>&nbsp;</DIV></DIV>
<DIV>&nbsp;</DIV></DIV>
<DIV>&nbsp;</DIV></DIV></DIV></DIV><p>__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com