[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [microblaze-uclinux] uclinux port to Multimedia board
Hi Didier,
You can look at the interrupt controller status register and verify that
when the timer calls an interrupt, this interrupt is passed through the
interrupt controller to the microblaze. The files microblaze_intc.c and
microblaze_intc.h give some examples on how to access the interrupt
controller.
Also, make sure you aren't overwriting the interrupt vector table (which is
located somewhere between 0x00000000 and 0x00003FFF. Hint: If you are
loading xmbstub onto the microblaze, then you are overwriting the interrupt
vector! :)
Chris
> -----Original Message-----
> From: owner-microblaze-uclinux@itee.uq.edu.au [mailto:owner-microblaze-
> uclinux@itee.uq.edu.au] On Behalf Of didier delacretaz
> Sent: November 9, 2004 2:31 AM
> To: microblaze-uclinux@itee.uq.edu.au
> Subject: Re: [microblaze-uclinux] uclinux port to Multimedia board
>
> Hi,
>
> aurash wrote:
> > Didier,
> > see below,
> >
> > didier delacretaz wrote:
> >
> >> Hi,
> >>
> >> John Williams wrote:
> >>
> >>> Hi Didier,
> >>>
> >>> didier delacretaz wrote:
> >>>
> >>>> the value of the variable ticks in linux-2.4.x/init/main.c is
> >>>> allways the same (0), i think that the problem comes from the timer,
> >>>> but i can't find it. I checked the xparameters.h file and everything
> >>>> seems right. The CPU_CLK_FREQ is set with the correct value.
> >>>
> >>>
> >>>
> >>>
> >>> It seems like the timer interrupt is simply not running. Confirm you
> >>> have your timer peripheral connected to IRQ 0 (or have adjusted the
> >>> setup code appropriately if that's not the case).
> >>>
> >> the interruption port of the mhs file:
> >> PORT Intr = ethernet_interrupt & debug_uart_interrupt &
> >> console_uart_interrupt & timer_interrput
> >
> >
> > This looks like a misspelling to me "timer_interrput" can you check if
> > you have the same name at the timer side
> >
> > Aurash
> >
> I made this misspelling only on the e-mail i sent, everything is fine in
> my mhs file
>
> Thanks,
> Didier
>
> ___________________________
> microblaze-uclinux mailing list
> microblaze-uclinux@itee.uq.edu.au
> Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
> Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-
> uclinux/
___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/