MinnowBoard-org / bugs-and-help

Ask QUESTIONS here. MinnowBoard.org issue and get help submission. See README for use.
14 stars 2 forks source link

MinnowBoard enable debug UART #72

Closed krishna763 closed 7 years ago

krishna763 commented 7 years ago

Hi, I am using minnowboard turbot(2GB Quad Core Intel Atom E3845 series SoC). I have followed this link to setup my serial console: https://minnowboard.org/tutorials/ftdi-serial-connection. I am using Ubuntu 14.04 as my host machine. I am unable to see any logs on my host. I am not getting even bootloader logs.

How do I make my console up? Thanks for the help.

gvancuts commented 7 years ago

What terminal emulator are you using? The tutorial indicates you should use 115200 8N1 with HW flow control turned off. I personally use minicom a lot and one thing that bit me time and again is that SW flow control also needs to be turned off else you don't see anything on the screen.

krishna763 commented 7 years ago

I am also using mincom with HW and SW flow both turned off.

I tried echo commands to ttyS0. I also tried with a C program which will open ttyS0 and write to it continuously. Still did not get anything on my host system.

gvancuts commented 7 years ago

The serial port you need to use is most likely /dev/ttyUSB0 (and not ttyS0). Can you check in dmesg to make sure you're using the right one? dmesg | grep FTDI

krishna763 commented 7 years ago

I was mentioning about ttyS0 commands from my minnowboard so that I will receive them on ttyUSB0 on my host system.

krishna763 commented 7 years ago

I resolved my issue. The minnowboard tutorial which I mentioned in my question says that pin number 5 is Rx and pin number 4 is Tx. I cross-verified it with the schematics. Pin number 5 is actually Tx and pin number 4 is Rx. So I just reversed the connection and got my console :)

Thanks for the help.