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
> RTD| 83.384| 146.769| 189.538| 1803| 83.384|
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