Hi Veeru,
   Thanks for you reply. Yes, that can be a reason, but in my case it is not.
   When that problem happened I didn't run any application  relates to DSPLink 
on DM355 board.
   And with cat /proc/interrupts, GPIO6 interrupt is numbered 50 (We can also 
find this from DM355's docs). Oh, this interrupt number is also used for 
EDMA_CC_ERROR, but I disabled it by commenting the call to request_irq 
(EDMA_CC_ERROR_INT,...) in arch/arm/mach-davinci/dma.c. And I tried to run 
loadmodules.sh, which inserts cmemk.ko and dm350mmap.ko, and then with cat 
/proc/interrupts I saw a new interrupt number registered:
               9:       1363   seq_arm_interrupt
   so, the GPIO6 uses its own interrupt.

  One more thing: Now, I try to build the driver as a module. After booting the 
board, I insert that module, then, after 3 minutes, the same problem happens. I 
rmmod and the insmod again, and it works well. Still don't know why, but 
perhaps it relates to request_irq(). I am still finding.
Thank you,
Viet Hoang.

--- On Fri, 23/5/08, Veeranna <[EMAIL PROTECTED]> wrote:

> From: Veeranna <[EMAIL PROTECTED]>
> Subject: RE:DM355 - Using GPIO pin for interrupt: Strange problem
> To: [email protected]
> Date: Friday, 23 May, 2008, 4:09 PM
> HI
> 
> Please make sure that what ever interrupt and Event number
> you r using is not used by others(  DSPLINK uses some of
> the interrupts ).
> 
> We also faced same problem On DM6446, we are using GPIO3
> pin with  Hardware Int5, Event 67. We also observed that
> interrupt signal is operating( in IER and IFR reg), but
> Interrupt Service Routine is not getting called. From docs
> we came to know that DSPLINK is using INT5. So when
> interrupt occurs on INT5 it will DSPLINK's ISR , not
> users. we changed Interrupt No. to INT10 its working fine.
> So you also needs check out whether your system using same
> inteerupt for its own purpose. Try by changing Interrupt
> Number.
> 
> 
> Thank you,
> Veeru
> 
> --
> _____________________________________________________________________
> Disclaimer: This e-mail message and all attachments
> transmitted with it
> are intended solely for the use of the addressee and may
> contain legally
> privileged and confidential information. If the reader of
> this message
> is not the intended recipient, or an employee or agent
> responsible for
> delivering this message to the intended recipient, you are
> hereby
> notified that any dissemination, distribution, copying, or
> other use of
> this message or its attachments is strictly prohibited. If
> you have
> received this message in error, please notify the sender
> immediately by
> replying to this message and please delete it from your
> computer. Any
> views expressed in this message are those of the individual
> sender
> unless otherwise stated.Company has taken enough
> precautions to prevent
> the spread of viruses. However the company accepts no
> liability for any
> damage caused by any virus transmitted by this email.
> 
> __________________________________________________________________________
> 
> 
> 
> --
> _____________________________________________________________________
> Disclaimer: This e-mail message and all attachments
> transmitted with it
> are intended solely for the use of the addressee and may
> contain legally
> privileged and confidential information. If the reader of
> this message
> is not the intended recipient, or an employee or agent
> responsible for
> delivering this message to the intended recipient, you are
> hereby
> notified that any dissemination, distribution, copying, or
> other use of
> this message or its attachments is strictly prohibited. If
> you have
> received this message in error, please notify the sender
> immediately by
> replying to this message and please delete it from your
> computer. Any
> views expressed in this message are those of the individual
> sender
> unless otherwise stated.Company has taken enough
> precautions to prevent
> the spread of viruses. However the company accepts no
> liability for any
> damage caused by any virus transmitted by this email.
> _________________________________________________________________________________________________________________________
> Davinci-linux-open-source mailing list
> [email protected]
> http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Send instant messages to your online friends http://uk.messenger.yahoo.com
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to