Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A13 => Topic started by: paul007 on December 15, 2012, 05:40:39 PM

Title: Debug through UART1
Post by: paul007 on December 15, 2012, 05:40:39 PM
Hello, I have a Usb-Rs232 cable with prolific serial chip inside I connected to A13 UART1 pins and trying to debug when android starts. When using Putty on PC the only thing showing is garbage like symbols. Baudrate should be 115200 right? 8 data bits 1 stop bit no flow and no parity. What am I doing wrong or is it a problem with cable? (Konig is the company which made it no clone)
Title: Re: Debug through UART1
Post by: jwischka on December 16, 2012, 11:47:33 PM
Are you connecting all four pins, or just TX/RX/GND?
Title: Re: Debug through UART1
Post by: paul007 on December 17, 2012, 01:06:05 AM
only TX/RX/GND
Title: Re: Debug through UART1
Post by: jwischka on December 17, 2012, 02:13:58 AM
Quote from: paul007 on December 17, 2012, 01:06:05 AM
only TX/RX/GND

That's as it should be - I don't suppose you have another cable you could test, just to make sure it's not the issue?
Title: Re: Debug through UART1
Post by: lordlothar on December 19, 2012, 01:19:36 AM
Are you using any kind of RS232 to TTL converter in between?Like MAX232?
Title: Re: Debug through UART1
Post by: paul007 on December 19, 2012, 04:12:30 PM
No converter in between I simply connect tx, rx, gnd to uart pins
Title: Re: Debug through UART1
Post by: lordlothar on December 19, 2012, 09:31:04 PM
You need to convert RS232 to TTL in order to connect via UART any kind of microcontroller/ASIC to your pc! Check this out: http://www.sparkfun.com/tutorials/215 (http://www.sparkfun.com/tutorials/215)