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.

port serial linux mini2440

Status
Not open for further replies.

iqbalhabibie

Junior Member level 2
Junior Member level 2
Joined
Nov 19, 2012
Messages
23
Helped
4
Reputation
8
Reaction score
4
Trophy points
1,283
Activity points
1,416
I am new with port serial. Do i need to learn port serial in windows first than linux platform? Because I'm trying to program with port serial in virtual linux
 

Are you talking about serial port programming for microcontrollers or about serial communication using windows/linux?
 

Are you talking about serial port programming for microcontrollers or about serial communication using windows/linux?

Yes i'm trying serial port programming in linux, i have read some posting here mention dev/tty. I'm still don't understand what this mean and how do you know com1 in linux? could you give me some briefly information how do you know ports in linux like com1,com2,etc. thanks.
 

Hello!

There is no ComX on Linux. Basically if you want to open a port, you do:

fd = fopen("/dev/ttyS0", RDWR);

or something like that (google is your friend), and then you can read and write in your
file handle. Of course you have to set the bit rate.

Dora.
 

i was wondering how do you boot with picocom with my device, i have turned out that the serial or terminal in picocom doesn't ready? i wonder what is wrong in my device?
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top