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: Basic Serial Driver question ???


Good Morning Gary,
   Thinks for this little piece of advice. I turned on the
CYGPKG_IO_SERIAL_DEVICES as you suggested. I also made sure that proper values
were turned on as well. However the only drivers I see are /dev/ttydiag and
/dev/diaghal. I still don't see /dev/ser1 and /dev/ser2. According to my
ecos.ecc, they should be in there.

Can you think of anything I could be doing wrong ?

Pascal

-----Original Message-----
From: Gary Thomas [mailto:gthomas@ecoscentric.com]
Sent: Wednesday, September 25, 2002 7:19 PM
To: Cusson, Pascal
Cc: eCos Discussion
Subject: RE: [ECOS] Basic Serial Driver question ???


On Wed, 2002-09-25 at 17:03, Cusson, Pascal wrote:
> Thanks Gary,
>    These little hints are indeed useful. I just switched template to the "mbx
> all" which include the QUICC_SMC core. I still can't a hand on the handles I
> should use.
> 
> How should proceed from there ?
> 

You need to enable 'CYGPKG_IO_SERIAL_DEVICES'

> Pascal 
> 
> -----Original Message-----
> From: Gary Thomas [mailto:gthomas@ecoscentric.com]
> Sent: Wednesday, September 25, 2002 6:52 PM
> To: Cusson, Pascal
> Cc: eCos Discussion
> Subject: Re: [ECOS] Basic Serial Driver question ???
> 
> 
> On Wed, 2002-09-25 at 16:28, Cusson, Pascal wrote:
> > Hi Everyone,
> >    I just started using eCos and I just to the part of the serial driver
which
> > is on SMC2. I am using the template psim which includes the upper layer of
the
> > io driver. Then I included the cygpkg_io_serial_powerpc_quicc_smc. It says
no
> > conflicts. However when reading the ecos.ecc, most options are disabled. 
> > 
> >    If I understand correctly, all I need to do is to attach a handle my
device
> > with cyg_io_lookup(), configure it with cyg_io_set_config() and the proper
> > functions to send and receive data. The problem is that I don't find the
name
> of
> > the handle. Where can I find that information ?
> 
> Sorry, but the PowerPC simulator has very limited I/O capabilities.
> It does not include the QUICC core, which would be required for
> SMC devices.
> 
> -- 
> ------------------------------------------------------------
> Gary Thomas                  |
> eCosCentric, Ltd.            |  
> +1 (970) 229-1963            |  eCos & RedBoot experts
> gthomas@ecoscentric.com      |
> http://www.ecoscentric.com/  |
> ------------------------------------------------------------
> 
> -- 
> Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
> and search the list archive: http://sources.redhat.com/ml/ecos-discuss
-- 
------------------------------------------------------------
Gary Thomas                  |
eCosCentric, Ltd.            |  
+1 (970) 229-1963            |  eCos & RedBoot experts
gthomas@ecoscentric.com      |
http://www.ecoscentric.com/  |
------------------------------------------------------------

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