Hi there! I am trying to get my interrupts working on my mc9s12ne64 board. The code is as follows. ##################################################### #include /* common defines and macros */ #include /* derivative information */ #pragma LINK_INFO DERIVATIVE "1" void main(void) {
long i; int a,b; //init PLL so PLL is 50MHz and bus is 25 MHz
SYNR = 0; REFDV = 0; //wait for PLL lock while(!(CRGFLG & 0x08)); //choose PLLCLK CLKSEL |= 0x80; EnableInterrupts; while(1); } ######################################################## All code are executed fine but the funktion after EnableInterrupts makes it crach. Whith the statement "no source reference found" in Metrowerks code warrior. Have anyone any clue what i could be that is wrong?
I now that the code doesnt do anything i just trying to have as litte code as possible to find out why it aint workingl
/regards Martin