Re: Is it possibe to generate interrupts from OS timers ?

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



As Bruce already indicated, the BSP supports a given *BOARD*, not a
processor. The Board includes things like "how much RAM is present?", "where
is the OS image going to be executed, flash or RAM and where are those
things located?", "what other devices, USB host, Ethernet, serial, etc. are
present?" and so on. To see how interrupt handlers work, you *can* look at
the Mainstone BSP stuff (\WINCE500\PLATFORM\MAINSTONEII\SRC\KERNEL\OAL),
which handles interrupts specific to that board, as well as the code for
actually handling the interrupts in the PXA27x
(\WINCE500\PLATFORM\COMMON\SRC\ARM\INTEL\PXA27X\INTR). It's very well
worthwhile to understand what's going on, even if you are able to use an
installable interrupt handler to avoid modifying the BSP for *your* board.

Have you consulted with whomever developed this board about whether
installable interrupt handlers are supported? Have you asked them to simply
add support for the interrupt you want to the BSP, if not?

Paul T.

"CY" <CY@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:8C8656C3-2819-47F8-8754-78EFFAACE832@xxxxxxxxxxxxxxxx
Hi,

I installed the platform builder for Windows CE 5.
It contains the BSP for PXA270. Do i find the kernel code there ?
Also where do i find the code needed for implementing the interrupt ?

Thanks,
CY

"Bruce Eitman [eMVP]" wrote:

Ah, I think we assumed that you had code for your Kernel. If you don't
then
you may have trouble implementing this. If your platform supports it,
you
might be able to do this with an Installable ISR.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

"CY" <CY@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:C510E95E-6C88-4AE4-9232-3D7A17352C17@xxxxxxxxxxxxxxxx
Hi,

Thanks for the prompt reply. I have read the manual and i know which
registers hold the relevant interrupt bits. However, i cant seem to
find
the
source code for ISRs to integrate...
Anyone tried doing this before ?

Cheers
CY

"Bruce Eitman [eMVP]" wrote:

The hardware IRQ is documented in the PXA270 Deveoper's Manual.

Take a look at the documentation and source code for ISRs for
integrating
your ISR.

--
Bruce Eitman (eMVP)
Senior Engineer
beitman AT applieddata DOT net

Applied Data Systems
www.applieddata.net
An ISO 9001:2000 Registered Company
Microsoft WEP Gold-level Member

"CY" <CY@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:367FF6C8-23A9-4760-9D04-8A6CBF7C02B2@xxxxxxxxxxxxxxxx
Hi,

Thanks for the reply .
For my hardware the PXA270, i am able to configure the OS timers
through
the
registers. However, i am not very sure how to go beyond that step.
How do i create the timer hardware irq ?
How do i map it to a sysintr ?

Cheers

"Dean Ramsier" wrote:

It's no different than any other driver that handles hardware with
interrupts. Configure the timer module to generate interrupts,
create
your
event, map the timer hardware irq to a sysintr and set it all up
with
InterruptInitialize.

How exactly to do this in your BSP depends on how the BSP was
implemented.

--
Dean Ramsier - eMVP
BSQUARE Corporation


"CY" <CY@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:7B8D107D-B1BF-4E62-B8F0-3D2D098A3EAC@xxxxxxxxxxxxxxxx
Hi,

My question is as above.
How do i do it if it is possible ?
I am using Windows CE 5 on PXA270, i am able to figure out how to
access
the
registers to set the timers but i have no idea how to create an
interrupt
from it.
Anyone can help ?











.



Relevant Pages

  • Re: Is it possibe to generate interrupts from OS timers ?
    ... beitman AT applieddata DOT net ... registers hold the relevant interrupt bits. ... How do i create the timer hardware irq? ...
    (microsoft.public.windowsce.app.development)
  • Re: Is it possibe to generate interrupts from OS timers ?
    ... If you don't have the source code for your Board Support Package, ... registers hold the relevant interrupt bits. ... How do i create the timer hardware irq? ...
    (microsoft.public.windowsce.app.development)
  • Re: Is it possibe to generate interrupts from OS timers ?
    ... registers hold the relevant interrupt bits. ... Take a look at the documentation and source code for ISRs for integrating ... How do i create the timer hardware irq? ...
    (microsoft.public.windowsce.app.development)
  • Re: Is it possibe to generate interrupts from OS timers ?
    ... I read the MSDN guide on installable ISRs and the source code, ... see how i can link the OSTimer interrupt register to the installable ISR.... ... installable interrupt handler to avoid modifying the BSP for *your* board. ... registers hold the relevant interrupt bits. ...
    (microsoft.public.windowsce.app.development)
  • Re: VxWorks interrupt source
    ... Some BSP have a function sysIsrShow that you can use in the shell. ... sysIsrShow - show installed ISRs ... This routine displays the interrupt vector tables used by the local ... When I turn up the message rate, INTERRUPT jumps to 25% of the total ...
    (comp.os.vxworks)