Olimex CS-E9302: Documentation: Serial Console in Windows

CS-E9302 - Serial Port Connection to Windows

Install a serial cable between your PC and the rs232_0 connection

The Olimex board is built as an RS-232 master (male DB-9 connector) just like your PC, thus, you need a null modem cable with a female connector on each end (pin 2 on one end connects to pin 3 on the other end, that is, pin 2 and 3 are swapped).

From the Windows desktop, run HyperTerminal

Click Start/programs/accessories/communications or – click Start / Run – hypertrm.exe

From Inside Hyperterm:

  • select Call / disconnect (allows you to configure the port)

  • select File / Properties

– In the Connect To tab

— Choose Connect using: COM1 (or your favorite port)

— click on Configure

---- In the Port Setings

---- Choose Bits per Second: 57600

---- Choose Data bits: 8

---- Choose Parity: none

---- Choose Stop bits: 1

---- Choose Flow control: None

---- click on OK

– In the Settings tab,

— Choose Terminal keys

— Choose Ctrl+H

— Choose Emulation: VT100

— Telnet terminal ID VT100

— click on Terminal Setup

---- choose Underline

---- check blink

---- uncheck all Terminal Modes

---- Character set: ASCII

---- click OK

— Backscroll buffer lines: 500 (doesn’t seem to work anyhow)

— click Input Translation

---- Encoding: Shift-JIS (default, don’t know what this does)

---- click OK

— ASCII Setup

---- uncheck all except “Wrap lines that exceed terminal width”

---- line delay: 0 milliseconds

---- Character delay: 0 milliseconds

---- click OK

— click OK

Apply power to the board. You should see a stream of boot messages. If not, verify your port settings and your serial connection.

After all those exciting boot messages, you should get a prompt:

~ #

(the ~ means you are at the root of the filesystem, i.e. Not in a subdirectory).

The ‘~’ means you’re in your home directory - NOT the root of your filesystem. The ~ also serves as a shortcut if you want to reference your home directory. Suppose you’re user “hannibal” with homedirectory “/home/hannibal/”, then “cat ~/test.txt” would output the file /home/hannibal/test.txt to the standard output (i.e. serial terminal, telnet/ssh session, whatever).

Best regards,

Dominic