This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Problem with serial setup


> > 
> > > > 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]