On Sat, Feb 5, 2011 at 7:05 AM, Swapnil Ashtekar <[email protected]> wrote:
> Hey,
>
>         I am using DM6446, I want to transfer data using serial port, I
> wrote simple code for it , used the appropriate register addresses,

Are you using Linux?  There is already a driver for it, so you don't
need to write any code that involves in changing values in registers.

>
> but the binary of C code is not working on the environment of DM6446, it is
> showing error : segmentation fault..
>
> Is it because of  the inactivation of the uart2 ? The uart0 of the board is
> being used for other purpose.
>
> Can I have both UART enabled same time ?

Existing DM6446 driver supports multiple UART at the same time.

>
> What am I supposed to do ? I am a novice, please guide me.

Open /dev/ttySx associated with the UART you want to use and
read/write as you would for normal file.

Regards,

Steve
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
  • UART2 Error Swapnil Ashtekar
    • Re: UART2 Error Steve Chen

Reply via email to