[ECOS] Problem with serial setup

Daniel Lidsten Daniel.Lidsten@combitechsystems.com
Tue May 13 13:21:00 GMT 2003


> > 
> > > > I am trying to use the same serial port for both printf and
> > > > diag_printf but there seem to be some problem. Is there 
> > > someone that
> > > > use the same port for both an interrupt driven serial 
> driver and a
> > > > diag version at the same time?
> > > > 
> > > 
> > > Yes, I have done this successfully on the PowerPC (QUICC)
> > > hardware that you are using.  Be sure and get up-to-date 
> > > sources, as I fixed a bug in the HAL/QUICC serial serial 
> > > drivers about a month ago.
> > 
> > I now have two serial channels (diag and printf) working on 
> the same 
> > HW port but when i want to change the diag to use SMC2 
> instead of SMC1 
> > then i hang in the quicc_smc1.c putc function because a BD flag 
> > indicates
> > busy:
> > 
> > while (bd->ctrl & QUICC_BD_CTL_Ready)
> > 
> > The only change i have done in ConfigTool is to change the 
> "Diagnostic 
> > Serial Port" from 0 to 1. Is there any other location that 
> i need to 
> > change to make this work?
> > 
> 
> Do you have RedBoot running on this platform?  If so, does it 
> use the second port (SMC2) properly?

No, i dont have RedBoot on the platform.

Regards, Daniel Lidsten


--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss



More information about the Ecos-discuss mailing list