newbie uart

Started by dacanalr2, April 08, 2014, 10:31:23 PM

Previous topic - Next topic

dacanalr2

Hi to all,
I've buyed an iMX233-OLinuXino-NANO, and I would like to use the U_DEBUG serial to login, but when i try I can't see anything in minicom (sudo minicom -b 115200 -o -D /dev/ttyUSB0).

My setup:
Host pc is ubuntu 13.10
Cable is FTDI TTL Serial UART (http://it.mouser.com/Search/ProductDetail.aspx?R=TTL-232R-RPIvirtualkey62130000virtualkey895-TTL-232R-RPI)

I've connected yellow wire to RX, oragne wire to TX and black wire to GND. I think the board is running because the LED1 is blinking.

Please can you tell me if minicom command is right and or check if the cable and connections are right?
Thanks

dacanalr2

#1
Sorry for the spam  ;D, now it works !!!

It was the wires connection wrong, just swapped RX and TX wires  :-\

But I can only see output when the board is booting, at login prompt I can't type in anything.
Now I'm trying with kermit whit this configuration:
SET LINE /dev/ttyUSB0
SET SPEED 115200
SET TERMINAL BYTESIZE 8
SET COMMAND BYTESIZE 8
SET PARITY NONE
SET CARRIER-WATCH OFF
CONNECT

What is missing/wrong in my .kermrc ?
Thanks

Kean

Just to verify you haven't damaged the TTL-232R cable, try connecting its Rx & Tx wires together (without the OLinuXino PCBA).  Anything you type should get echoed back to you.

Kean

Stinde


Have  you checked this:
http://www.eewiki.net/display/linuxonarm/iMX233-OLinuXino#iMX233-OLinuXino-SerialLogin

In the end of /etc/inittab there should be this line:
T0:23:respawn:/sbin/getty -L ttyAMA0 115200 vt102

for serial login

Timo

dacanalr2

Ok, maybe now I'v solved using kermit with this conf:
set line /dev/ttyUSB0
set speed 115200
set carrier-watch off
set handshake none
set flow-control none
robust
set file type bin
set file name lit
set rec pack 1000
set send pack 1000
set window 5
connect