Reply by Alfmyk October 29, 20062006-10-29
Ok, thank again Antti ! I didn't know and suppose in EDK Examples was present a project oriented to iterrupt driven example.

Anyway I'd like to ask you: 1) In generally what are different between static ISR (ISR assigned via XPS Softaware Menu) and dynamic ISR? The only different is just the possibility to change ISR Routine is it was assigned (dinamically)?

2) Moreover in generally taking a look to EDK example I have seen that ISR has a input parameter like ( (void *) baseAddress_p ) is it always the baseAddress related to IP Peripheral or not ?

Thanks in advance.

Cheers, Al.
Reply by Antti Lukats October 27, 20062006-10-27
"Alfmyk" <alfmyk@hotmail.com> schrieb im Newsbeitrag 
news:ee9fdd4.-1@webx.sUN8CHnE...
> Hi all. > > At the moment I never implement a ISR on uBlaze system. > > I have seen, I know I have to use the INTC IP driver routines, but I have > seen also there are some commands in uBlaze interface Header. > > For example: microblaze_enable_interrupts(void); > microblaze_disable_interrupts(void); > > I imagine before of all I HAVE to use microblaze_enable_interrupts(void); > that it has priority and works directly on uBlaze CPU. > > After it I should instance INTC structure/object, initialize it, enable > it. > > After I have to connect my ISR with proper instruction but I don't know > very well how to do it... Please someone could write me a list of steps > (in order) and if possible write a little example? > > Thanks in advance. > > Al.
step by step Optional Step 0: learn to read Step 1: browse in EDK\ and open some example that uses INTC Step 2: read and study the example Step 3: implement your code base on the example Antti
Reply by Alfmyk October 27, 20062006-10-27
Hi all.

At the moment I never implement a ISR on uBlaze system.

I have seen, I know I have to use the INTC IP driver routines, but I have seen also there are some commands in uBlaze interface Header.

For example: microblaze_enable_interrupts(void); microblaze_disable_interrupts(void);

I imagine before of all I HAVE to use microblaze_enable_interrupts(void); that it has priority and works directly on uBlaze CPU.

After it I should instance INTC structure/object, initialize it, enable it.

After I have to connect my ISR with proper instruction but I don't know very well how to do it... Please someone could write me a list of steps (in order) and if possible write a little example?

Thanks in advance.

Al.