Posted on May 17, 2011 at 12:39I finally found the problem in my interrupt handler. There was a silly race condition. The IAR J-Link ARM-Debugger was missleading a little bit, because it doesn't show the state of the PRIMASK register correctly. Rega...
Posted on May 17, 2011 at 12:39Quote:On 11-07-2008 at 14:08, Anonymous wrote: I suggest to do it using inline assembler instructions, it is the most efficient way. I don't know how asm inlining it is done using IAR, I usually use GCC. You may use t...
Posted on May 17, 2011 at 12:39I am working on a interrupt USART driver with interrupt driven receiving and transmitting. It seems that I have a problem with mutual exclusion between main programm and interrupt handler. I use IAR EWARM tool chain an...