Re: GPIO interrupt handling?

View: New views
1 Messages — Rating Filter:   Alert me  

Re: GPIO interrupt handling?

by henaldohzh-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



----- Original Message -----
From: silzon at naver.com<silzon@n...>
To:
Date: Mon Jul  7 03:13:41 CEST 2008
Subject: [openrisc] GPIO interrupt handling?

> Hello. I run or1200 RISC on Evaulation board.
> I am programming GPIO interrupt system.
> It work interrupt service routine, but,
> After interrupt service routing is finished, It doen't return back!
> my reset.S is..
> .org 0x800
> _hpint:
>  l.movhi r2,hi(_isr_gpio)
>  l.ori r2,r2,lo(_isr_gpio)
>  l.jalr r2
>  l.addi r2,r0,0
============
Or1000 has slot dely, you know. you can add l.nop before the l.addi
r2,r0,0.
============
>  l.rfe
> >>>>>>>>>>>> what's wrong??
> please, help me :)
>
>
_______________________________________________
http://www.opencores.org/mailman/listinfo/openrisc
LightInTheBox - Buy quality products at wholesale price