On Fri, Dec 31, 2010 at 12:44 AM, GiriPrasad DeviPrasad <[email protected]> wrote:
>
> Hi All,
>
> We have a serial port driver for general pc mother board, where we define as:
> #define POR1 0x3f8
>
> We access this port in the char driver using:
>   c = inb (POR1);
>   outb(0x13,POR1);
>
> In the application we open /dev/SERIAL, then use
>            write (fd, &ch, 1) for writing to the port.
>
> This driver is working fine with the pc motherboard,  which we use to send 
> characters from pc to another, both running linux.
>
> Can any clue, how to read/write serial ports in hawkboard. In the application 
> (on hawkboard), the call write (fd, &ch, 1), produces oops.
>
> Thanks & Regards,
> D.Giriprasad
>
>
>

Hi Giriprasad

Sorry for the delay, Which Serial Port are you using for the
application ? Because the serial port 2 is used for the Kernel for
communication, so you can use serial port 0 or 1,. One more think
right now I do not have the hawkboard in order to test it, let me
check some possible solution and send to you.

Regards

Victor Rodriguez
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to