EmbeddedRelated.com
Forums

Software crash with FIQ

Started by Wyss Markus July 6, 2006
--- In l..., Richard Duits wrote:
>
> Hello Jim,
>
> Just curious, did this fix the problem or are you still looking for a
> solution?
>
> Richard.

Yes it did solve the problem.
I made three different 'classical' mistakes:

1.) FIQ prologue and epilogue just saved R0..R6, instead R0..R7
2.) The stack of one Task was too small
3.) No mutual exclusion of a global var between a Task and FIQ handler,
which caused the task to crash.

Thanks a lot to all answers. Cheers,
Markus

An Engineer's Guide to the LPC2100 Series