Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how to use 2nd serial port under embedded system?

Status
Not open for further replies.

ubuntu_amateur

Member level 4
Joined
Sep 24, 2006
Messages
71
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Activity points
1,665
On the emulation board, there are 2 serial ports.
One is used as console connected to PC via serial cable;
I wanna use the other one, but there is no ttyS1 in /dev directory.
Under /dev, the relevant inod files are "console" and "tty".

Insmod a driver for serial port, but it doesn't return MAJOR number.
If MAJOR returns, I can create an inode by:
mknod /dev/ttyS1 c MAJOR MINOR

How can I use the 2nd serial port under embedded system?
Could somebody help me?

Thanks in advance.
 

Which emulation board you use?
 

Is it under Linux OS ?
 

Plz make sure your kernel has make correct configuation about the 2nd serial port.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top