public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: [ECOS] wiggle with the CTS pin
@ 2004-08-04 19:44 Doyle, Patrick
  2004-08-04 20:14 ` Giri Raja
  0 siblings, 1 reply; 7+ messages in thread
From: Doyle, Patrick @ 2004-08-04 19:44 UTC (permalink / raw)
  To: 'Giri Raja', ecos-discuss

I am going to be implementing an API Real Soon Now(tm).

Seriously, we need the same capability on our project and will be
implementing it within the next couple of weeks.

--wpd

> -----Original Message-----
> From: Giri Raja [mailto:giri_amf@yahoo.com] 
> Sent: Wednesday, August 04, 2004 3:11 PM
> To: ecos-discuss@ecos.sourceware.org
> Subject: [ECOS] wiggle with the CTS pin
> 
> 
> Hi,
>    I need to send a 'LO' signal to the CTS pin in one
> of my serial ports, on an EB40A board. Is there any
> API to do this?
> there was an email on this issue last month --
> http://sources.redhat.com/ml/ecos-discuss/2004-07/msg00109.html
> 
> just wanted to know if anything exists already.
> 
> Thanks.
> 
> Giri.
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail 
> 
> -- 
> Before posting, please read the FAQ: 
> http://ecos.sourceware.org/fom/ecos
> and search the list 
> archive: http://ecos.sourceware.org/ml/ecos-discuss
> 


Patrick Doyle
DSP Design Engineer
(603) 546-2179

 

This communication is from DTC Communications, Inc. and is intended to be
confidential and solely for the use of the persons or entities addressed
above.  If you are not an intended recipient, be aware that the information
contained herein may be protected from unauthorized use by privilege or law,
and any copying, distribution, disclosure, or other use of this information
is prohibited.  If you have received this communication in error, please
contact the sender by return e-mail or telephone the above number
immediately and delete or destroy all copies.  Thank you for your
cooperation.

 



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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: [ECOS] wiggle with the CTS pin
  2004-08-04 19:44 [ECOS] wiggle with the CTS pin Doyle, Patrick
@ 2004-08-04 20:14 ` Giri Raja
  0 siblings, 0 replies; 7+ messages in thread
From: Giri Raja @ 2004-08-04 20:14 UTC (permalink / raw)
  To: ecos-discuss; +Cc: Doyle, Patrick

Thanks Doyle. But is there any other way of sending a
'LO' to the CTS pin, temporarily. It might be ugly,
but atleast it will solve some purpose for me.

Thanks.

Giri.


--- "Doyle, Patrick" <WPD@dtccom.com> wrote:

> I am going to be implementing an API Real Soon
> Now(tm).
> 
> Seriously, we need the same capability on our
> project and will be
> implementing it within the next couple of weeks.
> 
> --wpd
> 
> > -----Original Message-----
> > From: Giri Raja [mailto:giri_amf@yahoo.com] 
> > Sent: Wednesday, August 04, 2004 3:11 PM
> > To: ecos-discuss@ecos.sourceware.org
> > Subject: [ECOS] wiggle with the CTS pin
> > 
> > 
> > Hi,
> >    I need to send a 'LO' signal to the CTS pin in
> one
> > of my serial ports, on an EB40A board. Is there
> any
> > API to do this?
> > there was an email on this issue last month --
> >
>
http://sources.redhat.com/ml/ecos-discuss/2004-07/msg00109.html
> > 
> > just wanted to know if anything exists already.
> > 
> > Thanks.
> > 
> > Giri.
> > 
> > 
> > 		
> > __________________________________
> > Do you Yahoo!?
> > New and Improved Yahoo! Mail - Send 10MB messages!
> > http://promotions.yahoo.com/new_mail 
> > 
> > -- 
> > Before posting, please read the FAQ: 
> > http://ecos.sourceware.org/fom/ecos
> > and search the list 
> > archive:
> http://ecos.sourceware.org/ml/ecos-discuss
> > 
> 
> 
> Patrick Doyle
> DSP Design Engineer
> (603) 546-2179
> 
>  
> 
> This communication is from DTC Communications, Inc.
> and is intended to be
> confidential and solely for the use of the persons
> or entities addressed
> above.  If you are not an intended recipient, be
> aware that the information
> contained herein may be protected from unauthorized
> use by privilege or law,
> and any copying, distribution, disclosure, or other
> use of this information
> is prohibited.  If you have received this
> communication in error, please
> contact the sender by return e-mail or telephone the
> above number
> immediately and delete or destroy all copies.  Thank
> you for your
> cooperation.
> 
>  
> 
> 
> 
> -- 
> Before posting, please read the FAQ:
> http://ecos.sourceware.org/fom/ecos
> and search the list archive:
> http://ecos.sourceware.org/ml/ecos-discuss
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ECOS] wiggle with the CTS pin
  2004-08-05  8:14 ` Nick Garnett
@ 2004-08-05 18:28   ` Giri Raja
  0 siblings, 0 replies; 7+ messages in thread
From: Giri Raja @ 2004-08-05 18:28 UTC (permalink / raw)
  To: ecos-discuss; +Cc: Nick Garnett

Thanks for the response. Thats right, when I meant
CTS, its for the remote end. Currently I'm using the
serialB. maybe I can shift the debug port to serialB
and switch the COM stuff to serialA. So if it is the
serialA, how do I do it?

Thank you very much.

Giri.



--- Nick Garnett <nickg@ecoscentric.com> wrote:

> Giri Raja <giri_amf@yahoo.com> writes:
> 
> > Hi,
> >    I need to send a 'LO' signal to the CTS pin in
> one
> > of my serial ports, on an EB40A board. Is there
> any
> > API to do this?
> > there was an email on this issue last month --
> >
>
http://sources.redhat.com/ml/ecos-discuss/2004-07/msg00109.html
> > 
> > just wanted to know if anything exists already.
> 
> You have the basic problem here that the RTS/CTS
> lines on the EB40A
> serial connectors are not controllable. Those on
> serial A are
> connected together, so RTS just reflects CTS, and
> they are not
> connected at all on serial B. Even if they were
> controllable, it would
> have to be via PIO pins since the AT91 USARTs do not
> support anything
> other than TXD and RXD.
> 
> Also, when you say CTS, I guess you mean the CTS
> input to the remote
> end of the line, which should be the RTS output at
> this end. So, if
> you use serial A and get your remote end to hold its
> RTS low, then the
> reflected CTS will be low too.
> 
> 
> -- 
> Nick Garnett                    eCos Kernel
> Architect
> http://www.ecoscentric.com/     The eCos and RedBoot
> experts
> 
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail 

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ECOS] wiggle with the CTS pin
  2004-08-04 19:11 Giri Raja
  2004-08-04 20:28 ` Matt Jerdonek
@ 2004-08-05  8:14 ` Nick Garnett
  2004-08-05 18:28   ` Giri Raja
  1 sibling, 1 reply; 7+ messages in thread
From: Nick Garnett @ 2004-08-05  8:14 UTC (permalink / raw)
  To: Giri Raja; +Cc: ecos-discuss

Giri Raja <giri_amf@yahoo.com> writes:

> Hi,
>    I need to send a 'LO' signal to the CTS pin in one
> of my serial ports, on an EB40A board. Is there any
> API to do this?
> there was an email on this issue last month --
> http://sources.redhat.com/ml/ecos-discuss/2004-07/msg00109.html
> 
> just wanted to know if anything exists already.

You have the basic problem here that the RTS/CTS lines on the EB40A
serial connectors are not controllable. Those on serial A are
connected together, so RTS just reflects CTS, and they are not
connected at all on serial B. Even if they were controllable, it would
have to be via PIO pins since the AT91 USARTs do not support anything
other than TXD and RXD.

Also, when you say CTS, I guess you mean the CTS input to the remote
end of the line, which should be the RTS output at this end. So, if
you use serial A and get your remote end to hold its RTS low, then the
reflected CTS will be low too.


-- 
Nick Garnett                    eCos Kernel Architect
http://www.ecoscentric.com/     The eCos and RedBoot experts


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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [ECOS] wiggle with the CTS pin
  2004-08-04 19:11 Giri Raja
@ 2004-08-04 20:28 ` Matt Jerdonek
  2004-08-05  8:14 ` Nick Garnett
  1 sibling, 0 replies; 7+ messages in thread
From: Matt Jerdonek @ 2004-08-04 20:28 UTC (permalink / raw)
  To: Giri Raja, ecos-discuss

Attached is a nice paper I found on controlling serial
communications via a POSIX interface.  Section 4 has
some information on setting pin states.  I haven't
tried this, so I can't tell you if it works.  I think
support for this operation would be dependent the
particular serial driver you're using.

http://www.easysw.com/~mike/serial/

Also, CTS is normally an input for a DTE device, so
there's a chance that you can't ever set it.

-- Matt


--- Giri Raja <giri_amf@yahoo.com> wrote:

> Hi,
>    I need to send a 'LO' signal to the CTS pin in
> one
> of my serial ports, on an EB40A board. Is there any
> API to do this?
> there was an email on this issue last month --
>
http://sources.redhat.com/ml/ecos-discuss/2004-07/msg00109.html
> 
> just wanted to know if anything exists already.
> 
> Thanks.
> 
> Giri.
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail 
> 
> -- 
> Before posting, please read the FAQ:
> http://ecos.sourceware.org/fom/ecos
> and search the list archive:
> http://ecos.sourceware.org/ml/ecos-discuss
> 
> 



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: [ECOS] wiggle with the CTS pin
@ 2004-08-04 20:21 Doyle, Patrick
  0 siblings, 0 replies; 7+ messages in thread
From: Doyle, Patrick @ 2004-08-04 20:21 UTC (permalink / raw)
  To: 'Giri Raja', ecos-discuss

I don't know anything at all about the the EB40A board, nor about the UART
that is used on it, but the ugly, temporary hack would be to look at the
device driver for the UART on that board, find out what the base address is,
find out what the device is, and use something like a
'HAL_READ_UINT8()/HAL_WRITE_UINT8()' pair to read the appropriate control
register, set (or clear) the bit that controls the CTS pin, write the result
back, and hope that the device driver doesn't override your changes.

It's ugly, but it should solve your near term problem.  Long term, I wasn't
planning on (nor do I have the resources to) rework the device drivers for
all of the UART's to support the new API -- I was just going to define the
API and implement it for the UART(s?) that I use.

--wpd

> -----Original Message-----
> From: Giri Raja [mailto:giri_amf@yahoo.com] 
> Sent: Wednesday, August 04, 2004 4:14 PM
> To: ecos-discuss@ecos.sourceware.org
> Cc: Doyle, Patrick
> Subject: RE: [ECOS] wiggle with the CTS pin
> 
> 
> Thanks Doyle. But is there any other way of sending a
> 'LO' to the CTS pin, temporarily. It might be ugly,
> but atleast it will solve some purpose for me.
> 
> Thanks.
> 
> Giri.
> 
> 
> --- "Doyle, Patrick" <WPD@dtccom.com> wrote:
> 
> > I am going to be implementing an API Real Soon
> > Now(tm).
> > 
> > Seriously, we need the same capability on our
> > project and will be
> > implementing it within the next couple of weeks.
> > 
> > --wpd
> > 
> > > -----Original Message-----
> > > From: Giri Raja [mailto:giri_amf@yahoo.com] 
> > > Sent: Wednesday, August 04, 2004 3:11 PM
> > > To: ecos-discuss@ecos.sourceware.org
> > > Subject: [ECOS] wiggle with the CTS pin
> > > 
> > > 
> > > Hi,
> > >    I need to send a 'LO' signal to the CTS pin in
> > one
> > > of my serial ports, on an EB40A board. Is there
> > any
> > > API to do this?
> > > there was an email on this issue last month --
> > >
> >
> http://sources.redhat.com/ml/ecos-discuss/2004-07/msg00109.html
> > > 
> > > just wanted to know if anything exists already.
> > > 
> > > Thanks.
> > > 
> > > Giri.
> > > 
> > > 
> > > 		
> > > __________________________________
> > > Do you Yahoo!?
> > > New and Improved Yahoo! Mail - Send 10MB messages!
> > > http://promotions.yahoo.com/new_mail 
> > > 
> > > -- 
> > > Before posting, please read the FAQ: 
> > > http://ecos.sourceware.org/fom/ecos
> > > and search the list 
> > > archive:
> > http://ecos.sourceware.org/ml/ecos-discuss
> > > 
> > 
> > 
> > Patrick Doyle
> > DSP Design Engineer
> > (603) 546-2179
> > 
> >  
> > 
> > This communication is from DTC Communications, Inc.
> > and is intended to be
> > confidential and solely for the use of the persons
> > or entities addressed
> > above.  If you are not an intended recipient, be
> > aware that the information
> > contained herein may be protected from unauthorized
> > use by privilege or law,
> > and any copying, distribution, disclosure, or other
> > use of this information
> > is prohibited.  If you have received this
> > communication in error, please
> > contact the sender by return e-mail or telephone the
> > above number
> > immediately and delete or destroy all copies.  Thank
> > you for your
> > cooperation.
> > 
> >  
> > 
> > 
> > 
> > -- 
> > Before posting, please read the FAQ:
> > http://ecos.sourceware.org/fom/ecos
> > and search the list archive:
> > http://ecos.sourceware.org/ml/ecos-discuss
> > 
> > 
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com 
> 


Patrick Doyle
DSP Design Engineer
(603) 546-2179

 

This communication is from DTC Communications, Inc. and is intended to be
confidential and solely for the use of the persons or entities addressed
above.  If you are not an intended recipient, be aware that the information
contained herein may be protected from unauthorized use by privilege or law,
and any copying, distribution, disclosure, or other use of this information
is prohibited.  If you have received this communication in error, please
contact the sender by return e-mail or telephone the above number
immediately and delete or destroy all copies.  Thank you for your
cooperation.

 



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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [ECOS] wiggle with the CTS pin
@ 2004-08-04 19:11 Giri Raja
  2004-08-04 20:28 ` Matt Jerdonek
  2004-08-05  8:14 ` Nick Garnett
  0 siblings, 2 replies; 7+ messages in thread
From: Giri Raja @ 2004-08-04 19:11 UTC (permalink / raw)
  To: ecos-discuss

Hi,
   I need to send a 'LO' signal to the CTS pin in one
of my serial ports, on an EB40A board. Is there any
API to do this?
there was an email on this issue last month --
http://sources.redhat.com/ml/ecos-discuss/2004-07/msg00109.html

just wanted to know if anything exists already.

Thanks.

Giri.


		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-08-05 18:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-08-04 19:44 [ECOS] wiggle with the CTS pin Doyle, Patrick
2004-08-04 20:14 ` Giri Raja
  -- strict thread matches above, loose matches on Subject: below --
2004-08-04 20:21 Doyle, Patrick
2004-08-04 19:11 Giri Raja
2004-08-04 20:28 ` Matt Jerdonek
2004-08-05  8:14 ` Nick Garnett
2004-08-05 18:28   ` Giri Raja

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).