Reply by Jacob Christ February 5, 20042004-02-05
 
Pascal,
 
Try adding the following in appconfig.h
 
extern void FMy_IREQA_Routine(void);
#define INTERRUPT_VECTOR_ADDR_8 FMy_IREQA_Routine
Jacob

 

From: zuffpasc [mailto:z...@yahoo.fr]
Sent: Thursday, February 05, 2004 5:34 AM
To: m...@yahoogroups.com
Subject: [motoroladsp] Interrupt with SDK

Hello,

I'm trying to implement an ISR for IRQA with SDK...

So, I define it in appconfig.h: (as said in the SDK help)

#define INTERRUPT_VECTOR_ADDR_8 FMy_IREQA_Routine

and in my main C file, I put this:

void FMy_IREQA_Routine (void);
....

void FMy_IREQA_Routine (void)
{
    #pragma interrupt saveall
    ...
}

But it doesn't compile, it says:

Error   : undefined label 'FMy_IREQA_Routine'
vector.c line 649   }And if I define
#define INTERRUPT_VECTOR_ADDR_8 FMy_IREQA_Routine
in my main C file, it compiles, ok, but it doesn't jump in it when an
interrupt occurs, but jump in the configUnhandledInterruptISR...

What am I doing wong??

Thanks,

Pascal



_____________________________________
Note: If you do a simple "reply" with your email client, only the author of this message will receive your answer.  You need to do a "reply all" if you want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join:  m...@yahoogroups.com

To Post:  m...@yahoogroups.com

To Leave: m...@yahoogroups.com

Archives: http://www.yahoogroups.com/group/motoroladsp

More Groups: http://www.dsprelated.com/groups.php3

Reply by zuffpasc February 5, 20042004-02-05
Hello,

I'm trying to implement an ISR for IRQA with SDK...

So, I define it in appconfig.h: (as said in the SDK help)

#define INTERRUPT_VECTOR_ADDR_8 FMy_IREQA_Routine

and in my main C file, I put this:

void FMy_IREQA_Routine (void);
....

void FMy_IREQA_Routine (void)
{
#pragma interrupt saveall
...
}

But it doesn't compile, it says:

Error : undefined label 'FMy_IREQA_Routine'
vector.c line 649 } And if I define
#define INTERRUPT_VECTOR_ADDR_8 FMy_IREQA_Routine
in my main C file, it compiles, ok, but it doesn't jump in it when an
interrupt occurs, but jump in the configUnhandledInterruptISR...

What am I doing wong??

Thanks,

Pascal