Pages: [1]   Go Down
Author Topic: Weird Serial Connection  (Read 325 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 21
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Hi,

I have a board that has a uart debug port and I am trying to connect to it via my arduino. When I do so using the following properties in PuTTY(windows 7):

Bits per sec: 115200
Data bit: 7
parity: none
stop bit: 1
flow control: none

I get some gibberish like so:
https://docs.google.com/open?id=0B1L3nHjvlFlUeDM4Y1hIbC1jNU0

I know for a fact that I am missing a lot of stuff that should be outputted to the serial...Is there anyway I know what settings I need to use to get proper output?

Thanks,
Rohit
Logged

Miramar Beach, Florida
Offline Offline
Faraday Member
**
Karma: 146
Posts: 6027
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There are 8 data bits.
Data bit: 8

The rate is determined by the rate set in the Serial.begin() call.
Logged

Phoenix, Arizona USA
Offline Offline
Faraday Member
**
Karma: 40
Posts: 5579
Where's the beer?
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

It might also help if you posted just -what- this board is, and where you got the settings from (That is, did you read a datasheet or something for the board or serial interface on the board? Were you told what it was by a service technician or the manufacturer? Did you get it from another forum?).

You can't just randomly assign values and somehow expect it to work; the board is probably expecting the settings to be something quite specific (I would try common ones like 9600-8n1, 2400-8n1, 1200-8n1; then move to more uncommon ones - most of the time, debug interfaces on such boards are rarely set up to communicate at high speeds, unless you have a spec that says otherwise).
Logged

I will not respond to Arduino help PM's from random forum users; if you have such a question, start a new topic thread.

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 127
Posts: 8519
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

7 data bits is possible but very unlikely, especially for a debugging interface that may have to show bytes.

______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Pages: [1]   Go Up
Jump to: