Hi.

I was able to get the UART2 working in no time
using the previously posted solution
(the kernel source modification) and the idea I got
from your inquiry. Have you already checked
the UART documentation on interrupt
enable register(IER).

Regards,
Jowelle


  ----- Original Message ----- 
  From: Amit Nainawat
  To: shreshtha
  Cc: [email protected]
  Sent: Thursday, April 26, 2007 12:44 PM
  Subject: Re: Solution to UART1


  Hi,
  The standalone RS485 driver works on console, the app_485 application 
write and read the character on console but there is not signal activity on 
DC2 30, 32 pin for Tx and Rx.
  I have inserted rs485.ko and then created a node, this node is used for 
app_485 application. Ever thing works fine on console but no signal activity 
on UART1 port on board.

  For the activation of UART1 thought the linux code, I have made the 
changes as suggested. There is a new driver appears in the /dev/tts/1 and 
/proc/tts/driver/serial displays that I have a UART1 activated. When I try 
to run app_485 application after setting stty 9600 cs8 -echo -F /dev/tts/1, 
the read function fails. When I open driver in no_block mode read doesn't 
display anything (means it dosnt read anything at all). Still the same 
problem no signal activity on the DC2 port. When read is disabled and just I 
am transmitting ( writing) the /proc/interrupt file shows that I have 
interrupt 41 activated, same in file /proc/tty/driver/serial, Tx is 
increasing with the time as I am keep writing the character.  But in this 
case also there is no signal activity on the DC2 UART1 pins.

  In both case still the hardware pins are not activated for UART1.

  Kindly help, any pointer will be appreciated.


  Nainawat

  Skema ( www.skema.fr)
  Hardware Engineer
  France



  On 4/11/07, shreshtha <[EMAIL PROTECTED] > wrote:
    This solution is tested for UART1.
    Doing similar changes will get UART2 up and running.

    These peripherals are multiplexed with ATA and Video respectively.
    So enabling UART1 and UART2 will disable ATA and Video.

    Uart1.txt contains all the required changes in the kernel to make UART1
    running(with standard tty core).

    Rs485.c, app_485.c, Makefile, README_rs485 are for standalone (doesn't 
uses
    serial driver of linux) character driver for UART1.

    Cheers!!!
    Inder
    Shreshtha

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







------------------------------------------------------------------------------


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

Reply via email to