cancel
Showing results for 
Search instead for 
Did you mean: 

Interrupt problem with RTOS

e239955_stm1_stmicro
Associate II
Posted on March 02, 2005 at 07:37

Interrupt problem with RTOS

1 REPLY 1
e239955_stm1_stmicro
Associate II
Posted on March 01, 2005 at 06:14

Hie,

I have an RTOS, I use the Timer 0 with FIQ to get my OS tick. In Yield function, Software Interrupt is used for context switch.

And I want to use interrupt for my RS232 and CAN communication.

My problem is : each time an interrupt (RS232 or CAN) occurs that resets the processor.

The ISR are not executed. The problem occurs before the ISR ...

What could be the problem ?

Has the FIQ the highest priority ? (I understood : Yes ??)

Could I get, with this configuration a running condition ?

I made change, as Sjo said in the Timer thread, the register are saved from R0-R12. But this modification doesn't resolve my problem !!

I had a look to my interrupt configuration

->> Interrupts are correctly configured (I think!!) (Priorities, enabled, compiler mapped, ....).

And my bigger problem is :

'' How can I debug that ?? '' :| :-Y