Ok i got ,
When i tried to run latency with 3 ms, it works but i received the message
[149.437671] Xenomai: Switching display-321 to secondary modo after
exception #5 from user-spcae at 0x9588 (pid 232)
So , if i put my test software posted in the last message, to run with 3ms
period task, the software freeze.
I can run this software only with 10ms period time, what i'm doing wrong ?
On Mon, Aug 31, 2009 at 12:10 PM, Gilles Chanteperdrix <
> Felipe Castro wrote:
> > hi !
> > I apllied the patch that you sent me, but there are some weird!
> > When i run latency program the result is:
> > r...@vpac270:/home$ /usr/xenomai/bin/latency
> > == Sampling period: 100 us
> > == Test mode: periodic user-mode task
> > == All results in microseconds
> > warming up...
> > RTT| 00:00:02 (periodic user-mode task, 100 us period, priority 99)
> > RTH|-----lat min|-----lat avg|-----lat max|-overrun|----lat best|---lat
> > worst
> > RTD| 83.384| 146.769| 189.538| 1803| 83.384|
> > 189.538
> 100us is to short a period for an ARM without FCSE enabled. Actually it
> is also too short for an ARM with FCSE. Look at the latency: you are
> asking a 100us period whereas the latency is 150us on average, don't you
> see the problem?
> You can try a period of 1ms, it is more reasonable. If you want periods
> of 70us, you can not use an ARM.
> > And than the program just freeze, and the kernel trace:
> > [ 780.136217] Xenomai: Switching display-343 to secondary mode after
> > exception #5 from user-space at 0x93e0 (pid 345)
> That is another problem which should be fixed in the next Xenomai
> release, which should happen real soon now.
Xenomai-core mailing list