Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2008 20:06:11 -0300
From:      Mario Lobo <mlobo@digiart.art.br>
To:        questions@freebsd.org
Subject:   Serial port question
Message-ID:  <200801302006.11153.mlobo@digiart.art.br>

next in thread | raw e-mail | index | archive | help
Hi guys;

I am doing some experiments with the WL5460AP. I doesn't have a serial 
connector but the RTL8186 does have a UART and the circuit board has a 4 pin 
connector (4-3.3V, 3-TXD, 2-RXD, 1-GND) to the UART. The idea here is to 
rewrite its firmware. 

For a better debuging (and possibly de-bricking), I need to access its console 
screen (which it DOES have).

The (lots of) info I gathered says that the connection to the WL5460AP console 
should be at 38400, 8N1, no-flow ctl.

I have set up a proper cable and a line in /etc/ttys like:
ttyd0	"/usr/libexec/getty 3wire.38400" vt100	on  secure 

Using kermit I type:

SET CARRIER-WATCH OFF
set duplex full
set session-log binary
set modem type none
set line /dev/ttyd0
set speed 38400
set flow none
set serial 8n1
set terminal echo local
set terminal newline-mode on
set terminal debug on
connect

but I get nothing back. 

Before I start digging for hardware errors, I want to check if my connection 
attempt is being done right and understand better what is going on.

1) how does this work? ttyd0 goes "through" cuad0 or does it simply "grabs it" 
and sets its speed to 38400. Originally, cuad0 is set to 9600.

2) if it goes "through" cuad0, how do I set it to 38400, 8N1, no-flow ctl?

3) is my ttys line correct?

Thanks !
-- 
Mario Lobo
http://www.mallavoodoo.com.br
FreeBSD since version 2.2.8 [not Pro-Audio.... YET!!] (99,7% winedows FREE)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801302006.11153.mlobo>