On Tue, December 18, 2007 9:49 am, JD wrote:
> Hi all, it there any example code around for setting up and using the
> serial ports for the 7800?
Sample code for setting up termios in general:
ftp://ftp.embeddedARM.com/tmp/term.c
> I can access the 1st serial port and seem to be able to open the 2nd
> and 3rd, however it doesnt like me setting the baudrate etc - I am
What do you mean "it doesnt like"? What are the error messages you are
getting?
> guessing I dont have the syscon regs set up correctly for the port to
> be independant?
> Or should the serial driver automatically do that on opening the port?
The driver (tsuart7800) sets up the baud rate registers when it is loaded.
Any UART pins that override other pin meanings will do so when the UART
is enabled, which is while the device file for the port is open.
______ Best Regards,
|__ __/ Michael Schmidt
|| Software Engineer
||echnologic Systems (EmbeddedARM.com)
|| (480) 16610 East Laser Drive #10
|/ 837-5200 Fountain Hills, AZ 85268
http://oz.embeddedarm.com/~michael
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|