gheroghe vintila
04/13/2010 11:02 AM
post51576
|
Hi i am trying to make a real time signal of 500 us on a AT91SAM9260EK board with a ARM 9 controller. The problem is the
following : if I run the program witch implements a real time timer witch raises a signal at every 1 us at a priority
larger than all the other processes the board makes a almost perfect signal(10 us jitter)AND the board freezes = i
cannot stop the program from the serial console (so the board is still runing but wont respond to any stop signal from
the console CTRL+C ). IF i run the program at a lower priority than the serial driver then i have huge jitter(250 us).
Why does the board "freeze" apparently if i run that program at a high priority? O and another thing: I added another
timer witch calls a exit after 5 seconnds. After this addition i ran the program at a large priority and then the signal
had the same large jitter (250 us), Why is this?
I would like to add that all the programs have real time timers and do the GPIO toggleing through out32 instructions.
|
|
|