CW10.2 MC9s08PT60 interrupts don't work

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

CW10.2 MC9s08PT60 interrupts don't work

797件の閲覧回数
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

ラベル(1)
タグ(1)
0 件の賞賛
3 返答(返信)

428件の閲覧回数
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 件の賞賛

428件の閲覧回数
Denisauro
Contributor I

Nobody tell me nothing?

0 件の賞賛

428件の閲覧回数
RoGa
Contributor I

me too. Are you resolt ?

 

0 件の賞賛