* kermit:How to disable the flow control signals?
@ 2003-05-17 5:18 rick.liu
2003-05-17 7:29 ` Wolfgang Denk
0 siblings, 1 reply; 6+ messages in thread
From: rick.liu @ 2003-05-17 5:18 UTC (permalink / raw)
To: linuxppc-embedded
Hi,
I installed c-kermit209 in my linux,and copy the dot.kermrc
in the u-boot0.3.0 to ~/.kermrc,then connect the kermit to my direct
-serral port:
bash>wermit -c
Connecting to /dev/ttyS0, speed 115200
Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
(and then ctrl_\ s)
Device: /dev/ttyS0
Speed 115200
Terminal echo: remote
Terminal bytesize: 8
Command bytesize: 8
Parity: none
Autodownload: on
Session log: (none)
Carrier Detect (CD): On
Dataset Ready (DSR): On
Clear To Send (CTS): On
Ring Indicator (RI): Off
Data Terminal Ready (DTR): On
Request To Send (RTS): On
here is the question:
1.why the flow control signals are still "on"?
2.if I have a 3-wired smc1/serial port,how to configure
to turn off RTS/CTS etc.?
Best regards
Thanks !!
Rick
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kermit:How to disable the flow control signals?
2003-05-17 5:18 rick.liu
@ 2003-05-17 7:29 ` Wolfgang Denk
0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2003-05-17 7:29 UTC (permalink / raw)
To: rick.liu; +Cc: linuxppc-embedded
In message <20030517131824.39906.qmail@eyou.com> you wrote:
>
> I installed c-kermit209 in my linux,and copy the dot.kermrc
> in the u-boot0.3.0 to ~/.kermrc,then connect the kermit to my direct
> -serral port:
...
> here is the question:
> 1.why the flow control signals are still "on"?
Because this is what you serial driver reports about the current
state of these pins?
> 2.if I have a 3-wired smc1/serial port,how to configure
> to turn off RTS/CTS etc.?
You already did. The relevant lines from the ~/.kermrc file are:
set carrier-watch off
set handshake none
set flow-control none
To verify, type "show comm" at the kermit prompt:
Kermit>show comm
Communications Parameters:
Line: /dev/ttyS1, speed: 115200, mode: local, modem: generic
Parity: none, stop-bits: (default) (8N1)
Duplex: full, flow: none, handshake: none
Carrier-watch: off, close-on-disconnect: off
Lockfile: /var/lock/LCK..ttyS1
Terminal bytesize: 8, escape character: 28 (^\)
The relevant part here is the "flow: none", "handshake: none" and
"Carrier-watch: off" entries.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
Life. Don't talk to me about life. - Marvin the Paranoid Android
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kermit:How to disable the flow control signals?
@ 2003-05-17 10:45 rick.liu
2003-05-17 17:07 ` Wolfgang Denk
0 siblings, 1 reply; 6+ messages in thread
From: rick.liu @ 2003-05-17 10:45 UTC (permalink / raw)
To: linuxppc-embedded
Dear Wolfgang,
thank you for ur reply,in your message,
======= 2003-05-17 09:29:00 you wrote:=======
>> 1.why the flow control signals are still "on"?
>
>Because this is what you serial driver reports about the current
>state of these pins?
i donnot think so,for example,my NO.7 pin(RTS) and NO.9 pin(RI) both connect
to nothing,if your conclusion is correct,RTS and RI should be the same
state.But we
saw they are not the same.
>To verify, type "show comm" at the kermit prompt:
here is my info:
kermit>show comm
Communications Parameters:
Line: /dev/ttyS0, speed: 115200, mode: local, modem: none
Parity: none, stop-bits: (default) (8N1)
Duplex: full, flow: none, handshake: none
Carrier-watch: off, close-on-disconnect: off
Lockfile: /var/lock/LCK..ttyS0
Terminal bytesize: 8, escape character: 28 (^\)
Carrier Detect (CD): On
Dataset Ready (DSR): On
Clear To Send (CTS): On
Ring Indicator (RI): Off
Data Terminal Ready (DTR): On
Request To Send (RTS): On
Type SHOW DIAL to see DIAL-related items.
Type SHOW MODEM to see modem-related items.
Now we can still see the RTS/CTS/DSR/CD/DTR are still on,why?
it my kermit version's problem?
Best regards,
Rick
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kermit:How to disable the flow control signals?
2003-05-17 10:45 kermit:How to disable the flow control signals? rick.liu
@ 2003-05-17 17:07 ` Wolfgang Denk
0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2003-05-17 17:07 UTC (permalink / raw)
To: rick.liu; +Cc: linuxppc-embedded
Dear Rick,
in message <20030517184549.35030.qmail@eyou.com> you wrote:
>
> >> 1.why the flow control signals are still "on"?
> >
> >Because this is what you serial driver reports about the current
> >state of these pins?
>
> i donnot think so,for example,my NO.7 pin(RTS) and NO.9 pin(RI) both connect
> to nothing,if your conclusion is correct,RTS and RI should be the same
> state.But we
> saw they are not the same.
Do you really know for sure how thse pins are internally connected?
If there are any pull-up or -down resistors? And how your UART is
implemented internally? And if the driver actually reads the pins?
I wrote: this is what your serial driver reports. This does not
necessarily mean that this is actually the state of the externally
accessable pin on the serial connector...
> here is my info:
This looks ok.
> Now we can still see the RTS/CTS/DSR/CD/DTR are still on,why?
Because this is what you serial driver reports about the current
state of these pins?
> it my kermit version's problem?
No.
Ummm... why do you bother? Is anything not working?
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
A Puritan is someone who is deathly afraid that someone, somewhere,
is having fun.
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kermit:How to disable the flow control signals?
@ 2003-05-18 4:59 rick.liu
2003-05-18 10:21 ` Wolfgang Denk
0 siblings, 1 reply; 6+ messages in thread
From: rick.liu @ 2003-05-18 4:59 UTC (permalink / raw)
To: linuxppc-embedded
Dear Wolfgang,
======= 2003-05-17 19:07:00 in your message you wrote:=======
>
>Ummm... why do you bother? Is anything not working?
>
Yes,my console still outputs nothing,even not a single word.
So,I must first make sure it's not my console emulator's problem.
As you know,my "big brother" donnot think it's neccessary to port
linux to the board,because we have successfully port vxworks on it before.
So what i am doing can be called private,or something about
personal'interest.
So there is no money for something like BDI.
As u mentioned before,I will read u-boot source,maybe it's a way of continue
my
work.Would u give me a clue of uboot,I mean the sequence of boot and the
according
source file?I didnot find this kind of infomation on the internet.
Best regards
Rick.Liu
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: kermit:How to disable the flow control signals?
2003-05-18 4:59 rick.liu
@ 2003-05-18 10:21 ` Wolfgang Denk
0 siblings, 0 replies; 6+ messages in thread
From: Wolfgang Denk @ 2003-05-18 10:21 UTC (permalink / raw)
To: rick.liu; +Cc: linuxppc-embedded
Hi,
in message <20030518125903.28066.qmail@eyou.com> you wrote:
>
> >Ummm... why do you bother? Is anything not working?
>
> Yes,my console still outputs nothing,even not a single word.
Maybe your target does not output anything (at least not at the
expected baudrate) ?
> So,I must first make sure it's not my console emulator's problem.
Test with a known to work device first.
> So there is no money for something like BDI.
You pay anyway - either with money for the BDI, or with your time
when you try to do without it.
> As u mentioned before,I will read u-boot source,maybe it's a way of continue
> my
> work.Would u give me a clue of uboot,I mean the sequence of boot and the
> according
> source file?I didnot find this kind of infomation on the internet.
Booting starts at the reset vector, i. e. at _start in cpu/*/start.S
But this is off topic here. Follow-up to u-boot-users, please.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd@denx.de
One does not thank logic.
-- Sarek, "Journey to Babel", stardate 3842.4
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-05-18 10:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-05-17 10:45 kermit:How to disable the flow control signals? rick.liu
2003-05-17 17:07 ` Wolfgang Denk
-- strict thread matches above, loose matches on Subject: below --
2003-05-18 4:59 rick.liu
2003-05-18 10:21 ` Wolfgang Denk
2003-05-17 5:18 rick.liu
2003-05-17 7:29 ` Wolfgang Denk
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 NNTP newsgroup(s).