SH4 Interrupt Handling

Fernando RUIZ CASAS correo at fernando-ruiz.com
Thu Dec 5 08:30:36 UTC 2002


Perhaphs you need stop all the interrrupts and 
rewrite all the registers like a reset in order to set up the machine
before starts again the new program.

The problem is the same in SH1 and SH2.


BRGDS



"Kiran C" wrote:

> 
> Hi,
> 
> I have a small probleming trying to set up
> 
> the interrupt handling......I am working on an SH4 processor(SH7751)
> 
> I am trying to write a  monitor program...
> 
> In the entry point of my program...which is loaded at 0x8c020000 (RAM)
> 
> I set the VBR to ( a Interrupt Handler function address - 0x0000600) (..The
> Interrupt handling is the same as in SH3...)
> 
> As such now when an interrupt occurs my Handler function should be called...
> 
> I realize that I need to set up the INTC et al...but am quite ignorant about
> that...
> 
> Can u help me detaling the step by step intialization procedure....
> 
> I am using REDBOOT to run my proram...soon after I change the VBR....a reset
> occurs and control goes back to the REDBOOT Monitor program....
> 
> What am I missing out???
> 
> Thanks,
> 
> Kiran

mailto://correo@fernando-ruiz.com



More information about the users mailing list