Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: dacanalr2 on April 08, 2014, 10:31:23 PM

Title: newbie uart
Post by: dacanalr2 on April 08, 2014, 10:31:23 PM
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
Title: Re: newbie uart
Post by: dacanalr2 on April 08, 2014, 10:41:55 PM
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
Title: Re: newbie uart
Post by: Kean on April 09, 2014, 04:45:32 AM
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
Title: Re: newbie uart
Post by: Stinde on April 09, 2014, 11:00:30 AM

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
Title: Re: newbie uart
Post by: dacanalr2 on April 09, 2014, 09:11:48 PM
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