<DIV>
<DIV>
<DIV>
<DIV>Hi,you all,</DIV>
<DIV> </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> </DIV>
<DIV>U-Boot 1.0.0 (Dec 17 2003 - 14:56:31) <BR> ««HH?K.?.5Qaai.5).I5?..?5 ˙<BR>CPU: PPC823EZTnnB2 at 64 MHz:.YHNH-($Ti*k <BR>U-Boot 1.0.0 (Dec 17 2003 - 14:56:31) <BR></DIV>
<DIV> </DIV>
<DIV>My MPC8xx connects the RS232 transceiver chip as following:</DIV>
<DIV> </DIV>
<DIV>1.SMC1</DIV>
<DIV> </DIV>
<DIV>MPC823E MAX3225</DIV>
<DIV>PB24-SMC1TXD -------------- T1IN</DIV>
<DIV>PB25-SMC1RXD -------------- R1OUT</DIV>
<DIV>PB22-EN ------------- FOFF</DIV>
<DIV> </DIV>
<DIV>Related code in serial.c:</DIV>
<DIV> </DIV>
<DIV>#if defined(CONFIG_RPXLITE) || defined(CONFIG_RPXCLASSIC)<BR> </DIV>
<DIV>cp->cp_pbpar &=~0x00000200; /* Added by SAM */<BR>cp->cp_pbdir |= 0x00000200; </DIV>
<DIV>cp->cp_pbodr &=~0x00000200; </DIV>
<DIV>cp->cp_pbdat |= 0x00000200; /* Set PB22 1. ENABLE RS232*/<BR> </DIV>
<DIV>#endif /* CONFIG_RPXLITE */<BR><BR>2.SCC3</DIV>
<DIV> </DIV>
<DIV>
<DIV>MPC823E MAX3225</DIV>
<DIV>PB24-SCC3TXD3 -------------- T1IN</DIV>
<DIV>PB25-SCC3RXD3 -------------- R1OUT</DIV>
<DIV>PC13-RTS3 -------------- T2IN</DIV>
<DIV>PB23-CTS -------------- R2OUT</DIV>
<DIV>PB22-EN ------------- FOFF </DIV>
<DIV> </DIV>
<DIV>Related code in serial.c:</DIV>
<DIV> </DIV>
<DIV>-------</DIV>
<DIV> </DIV>
<DIV>#if (SCC_INDEX == 2) && defined(CONFIG_MPC823) /* [SAM] */<BR><BR>cp->cp_pbpar |= 0x000000c0; /* Defining PB25=TXD3 PB24=RXD3 */<BR>cp->cp_pbdir |= 0x000000c0; </DIV>
<DIV>cp->cp_pbodr &= ~0x000000c0; </DIV>
<DIV> </DIV>
<DIV> -------</DIV>
<DIV> </DIV>
<DIV>#if defined(CONFIG_RPXLITE) || defined(CONFIG_RPXCLASSIC</DIV>
<DIV> </DIV>
<DIV>cp_pbpar &=~0x00000200; </DIV>
<DIV>cp->cp_pbdat |= 0x00000200; <BR>cp->cp_pbdir |= 0x00000200; <BR>cp->cp_pbodr &=~0x00000200; /* Set PB22 1. ENABLE RS232*/<BR> </DIV>
<DIV>im->im_ioport.iop_pcpar |= (ushort) 0x0004; /* Let PC13 = RTS3 */<BR>im->im_ioport.iop_pcdat &=~(ushort) 0x0004;<BR>im->im_ioport.iop_pcdir &=~(ushort) 0x0004; /* Enable RTS3*/<BR> </DIV>
<DIV>#endif /* CONFIG_RPXLITE */</DIV>
<DIV> </DIV>
<DIV>Thanks for reading & any help.</DIV>
<DIV> </DIV>
<DIV>Best regards,</DIV>
<DIV> </DIV>
<DIV>SAM</DIV>
<DIV> </DIV>
<DIV>
<DIV>***Sorry for sending the draft to mail list just now ***<BR> </DIV></DIV>
<DIV> </DIV></DIV>
<DIV> </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