From: Vitaly Bordug <vbordug@ru.mvista.com>
To: Jagan <morphicsk@yahoo.com>
Cc: linuxppc-embedded@ozlabs.org
Subject: Re: Reg RISC timers in MPC 8260
Date: Tue, 27 Jun 2006 15:51:21 +0400 [thread overview]
Message-ID: <20060627155121.081abb95@localhost.localdomain> (raw)
In-Reply-To: <20060627113137.2386.qmail@web36913.mail.mud.yahoo.com>
На Tue, 27 Jun 2006 04:31:37 -0700 (PDT)
Jagan <morphicsk@yahoo.com> записано:
> Hi all
>
> We have a requirement of running a periodic timer for
> 5 millisecond using RISC timers in CPM module of
> MPC8260. The OS is monta vista linux and target is
> MPC8260 I have written a sample code to start a
> periodic timer using MPC8260.
>
> But it hangs when SET TIMER command is issued to the
> CPCR register. The cross compiler we r using is
> ppc_82xx-gcc.
>
> Can anyone pls help me in getting this right ?
>
> I am pasting the code here
> ------------------------------------------------------
> /*Start of code snippet ignoring the header files */
> cpm8xx_t *cpmp;
>
> volatile immap_t *immap = (immap_t *)IMAP_ADDR;
>
hrmmm, isn't 8260 CPM2? This is 8xx immap, that is _really_ different
from what 8260 has... Grep for cpm2_immr and look into asm/immap_cpm2.h
for details.
-Vitaly
next prev parent reply other threads:[~2006-06-27 11:51 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-27 11:31 Reg RISC timers in MPC 8260 Jagan
2006-06-27 11:51 ` Vitaly Bordug [this message]
-- strict thread matches above, loose matches on Subject: below --
2006-06-23 13:16 Jagan
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=20060627155121.081abb95@localhost.localdomain \
--to=vbordug@ru.mvista.com \
--cc=linuxppc-embedded@ozlabs.org \
--cc=morphicsk@yahoo.com \
/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).