Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Discussion Groups | Analog Devices DSPs | C interrupt handler occurs when alternate registers is active

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

C interrupt handler occurs when alternate registers is active - y.co...@innovason.com - Sep 21 8:40:06 2007



I want to know how can I do to make a C interrupt handler ( which uses primary registers )
interrupt correctly an assembly routine ( which uses alternate registers ). 

I've the following problem :
Functions "Interrupt handler" ( interrupt(), interrupts() .. ) offered by visualDSP
don't swap into primary register. Then , when an assembly is interrupted, the interrupt handler
save the context with the active alternate registers (  i6 frame pointer and I7 stack pointer
are wrong ).

Should I do my own interrupt handler ?

Does anybody have an idea ?

Thank you.



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )