C CODE Help

P

Thread Starter

POWERPC440EP

hi hope some one can help me in this ...!!!!!!!

i'm doing a new project involving serial port communication.
i have enabled timers and now i should communicate the system from pc using serial port

it is powerpc440 ep
 
C

curt wuollet

What OS?
Whose board?

These are more important than which uP. I would assume Linux as it is far more prevalent today than the alternatives.

I would think that would be included in almost any embedded processor docs since getting a console up is about step one. Most are pretty basic 3 wire hookups for that reason. If you have a working console and need to write code for the serial ports under Linux
Then the serial HOWTO would be your friend. Some things can be very
board specific on embedded class boards but Linux is Linux and should work like a PC for serial.

Regards

cww

Regards
cww
 
TA> i have enabled timers and now i should communicate the system from pc using serial port

try LabVIEW instead of C, it solves most of the hardware related problems. If you are a student, then try to google the problem

Best wishes, Vladimir
 
C

curt wuollet

There aren't any hardware related problems. I can assure you that serial ports on Linux work flawlessly, once you write the code properly. And there is a vast pool of information and examples. For what they want for Labview, I'll write the serial code for him. It is a bit involved, but the majority of any serial setup is "cookbook" code that can be cut and pasted from one program to another. And it's very worthwhile learning as you can make it do what you want to do and fix it if you want something different. Because of the way serial comms work, that's far more valuable than a black box that just does what they think you might want.

Regards
cww
 
Top