<josheph>
yes, i did it, but it doesn't work and i have read that port with 4 outputs is enable during/for boot
<josheph>
so i keep reading and i found this: The uart0 3 4 5 6 are available in Cubieboard1 and Cubieboard2 ,while uart0 3 4 7 are available in Cubietruck, but uart0 is debug serial.
<josheph>
in that case i think those 4 pins are only for boot but i'm not sure
tomcheng76 has quit [Read error: Connection reset by peer]
<Thhunder>
hmm.. ok sry so i can't help you out with that because i don't have a truck :( sry dude
<josheph>
ok, thank you
tomcheng76 has joined #cubieboard
<Thhunder>
was just a try :) so if you don't find anything in google it's a good way to ask here but i think it is a bit sleepy here ^^
<pmattern>
josheph: What OS are you running on your Cubietruck and what on your host (that's about to connect)?
dev1990 has quit [Quit: Konversation terminated!]
<josheph>
i'm using Lbuntu
<josheph>
Lubuntu
<josheph>
and the host is a Laptop with Ubuntu
<pmattern>
All right. Which kernel is about to run on Cubietruck, linux-sunxi or mainline?
<josheph>
linux-sunxi
<pmattern>
--> Hardware
<pmattern>
You need a USB - serial converter, e. g. something like this http://www.exp-tech.de/usb-to-ttl-serial-cable-debug-console-cable-for-raspberry-pi. Don't worry about marketing stuff like "for Raspberry / foo / bar". What matters are connectors and an output Voltage of 3,3V (important, serial connections allow for more which can screw your device)
<pmattern>
--> plugging
<pmattern>
cable - four connectors ground (black), Rx (white), Tx (green), power (red)
<pmattern>
Cubietruck - four connectors next to USB ports, labeled the same as cable
<pmattern>
connection: ground - ground, Rx and Tx both "crossed", that is Rx cable <--> Tx Cubietruck and the other way around, DON'T USE power / red cable, this will harm your device
<pmattern>
--> Software
<pmattern>
U-Boot: make sure kernel parameters comprise console=ttyS0,115200
<pmattern>
console: all software with pros and cons. I'm using cu from Taylor UUCP (package uucp on Debian and derivates). user must be member of group uucp
NamanG has quit [Quit: Connection closed for inactivity]
<josheph>
but let me ask you pamattern, this connection is only for boot or i can send data to PC?
<josheph>
when you refers "i'm using cu" it's cutecom?
<pmattern>
It's a serial console. That is you can watch the boot messages and end up at a login, similar to a virtual terminal on *ix or an SSH session. Sending data works theoretically, in practice it's PITA. But this actually doesn't matter: if you got the serial console running you can almost always establish a network connection and then do all the rest via SSH.
<pmattern>
No, the command is simply "cu". Just saw it's in package cu in Ubuntu, not in uccp as in Arch Linux (which I'm using).
firemanxbr_ has quit [Quit: Leaving]
<josheph>
but if i don't want to try with serial console, do you know if i could use the other ports of the cubietruck?
<josheph>
supposedly cubietruck has 8 ports more and maybe with them coulb be easier the connection, what do you think?
<pmattern>
So why did you start by asking "okay, so somebody knows how can i connect my cubietruck to PC through serial port?" ?!?
<pmattern>
Problem is: theoretically it should be possible to tweak an SD card, boot from it and do all the rest via "real network" connections like Ethernet or WiFi. But in practice frequently problems will arise and then you use the serial console as fallback to fix. Serial console is never meant to do actual work.
<pmattern>
"8 ports" --> ????
<pmattern>
Of course it's also possible to just plug a monitor and a keyboard to your Cubietruck. But here the same applies as to using Ethernet / WLAN: you're not guaranteed it's working and hence the serial console is the fallback used to fix, too.
MasterPiece has quit [Ping timeout: 252 seconds]
<josheph>
mm sorry for my first question, i am new in this topic and my level of english is low, so i try to explain my point of view and understand what you say
<josheph>
in this momento i'm losed X_X, let me explain you what i need with an example
<josheph>
i want to send something since my cubietruck to the PC and the PC can read and show by terminal the information that i sent and viceversa, and do it through tx, rx
<josheph>
it's similar when i did it with hyperterminal in windows
<josheph>
through max 232
<josheph>
but now it's using the cubietruck
MasterPiece has joined #cubieboard
MasterPiece is now known as Guest74211
Guest74211 has quit [Remote host closed the connection]