linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "Gong Zhuo" <gongzhuo@163.net>
To: "Linux PPC Mailing List" <linuxppc-embedded@lists.linuxppc.org>
Subject: How to using Raven timer interrupt on MVME2600?
Date: Wed, 2 Aug 2000 17:48:30 +0800	[thread overview]
Message-ID: <001f01bffc66$d4da4000$4607a8c0@LocalHost> (raw)


Hi:
   I want to using the timer of RAVEN to get cycle interrupt.
   I have done sth. like this:

   1. 0x1092f107 ==> timer base count 0 (0xfc001110) ( the cycle is 16s and
value is 0x07f19210 on pci bus)
   2. 0x80000700 ==> timer 0 vector/priority reg.(0xfc001120) ( vector 80,
priority 7)
   3. 0x01000000 ==> timer 0 destination reg. (0xfc001130) ( interrupt to
processor 0)
   4. 0x06000000 ==> interrupt task priority reg. (0xfc020080) (task
priority is 6)

   I can see the value of timer 0 current count reg. is changing and the 'T'
bit of timer 0 current count reg. changing between 0 and 1.
   The 'ACT' bit of timer0 vector/priority reg. is 1 (the whole value is
0x80000740) after interrupt enabled.

   In my interrupt processing:
   1. read interrupt ack reg.
   2. judge the vector to see if it is 0x80 (the timer 0 vector)
   3. do the interrupte processing
   4. write a value to EOI register

   But it seems that the interrupt has never happened. After I read the
interrupt ack reg. under PPCbug , the 'ACT' bit of vector/priority reg. will
not change. Is that right? Something else I should do?


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

             reply	other threads:[~2000-08-02  9:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-02  9:48 Gong Zhuo [this message]
2000-08-02 21:33 ` How to using Raven timer interrupt on MVME2600? Gabriel Paubert

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='001f01bffc66$d4da4000$4607a8c0@LocalHost' \
    --to=gongzhuo@163.net \
    --cc=linuxppc-embedded@lists.linuxppc.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).