CW10.2 MC9s08PT60 interrupts don't work

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

CW10.2 MC9s08PT60 interrupts don't work

994 Views
Denisauro
Contributor I

My problem is that interrupts don't work correctly.
I use CW 10.2 and the new micro 9s08PT60.
My interrupt function is:

interrupt VectorNumber_Vmtim1 void Vmtim1_ISR(void)
{
    MTIM1_SC_TRST = TRUE;        //    Interrupt flag reset
    PORT_PTED ^= 0x01;
}

After 2/3 times PTE0 changes status, the micro is reset.
Watchdog is disabled.
I tried with another interrupts, with #pragma TRAP_PROC, with "Interrupt vector table", but the result is the same.
Any idea?

 

Thanks

Labels (1)
Tags (1)
0 Kudos
Reply
3 Replies

625 Views
jorgeplascencia
Contributor I

Hi,

 

can you supply the asm related code?  this way we can verify the correctness of the compiler configuration/results.

Some compiler (like Cosmic) generate the .ls file that contain both the source code and the related asm generated code.

 

0 Kudos
Reply

625 Views
Denisauro
Contributor I

Nobody tell me nothing?

0 Kudos
Reply

625 Views
RoGa
Contributor I

me too. Are you resolt ?

 

0 Kudos
Reply