2005-03-01 10:37 PM
2005-02-28 09:14 PM
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