Schlägl Manfred jun. wrote:
Hi!

Should be a hint, if anyone has similar Problems:

Xenomai (rev. 1772) was not running on my platform. (no
timer_tick-calls; timer stopped)

I had to do following downgrade:

Index: include/asm-arm/hal.h
===================================================================
--- include/asm-arm/hal.h       (revision 1772)
+++ include/asm-arm/hal.h       (working copy)
@@ -103,10 +103,13 @@
static inline void rthal_timer_program_shot (unsigned long delay)
 {
+    if(!delay)
+        delay = 10;
+    __ipipe_mach_set_dec(delay);
-    if(!delay)
-        rthal_trigger_irq(RTHAL_TIMER_IRQ);
-     else
-       __ipipe_mach_set_dec(delay);
 }
/* Private interface -- Internal use only */


It's simply a workaround yet. I'll try to find the error in my
timer-handling.

You probably have the same problem as PXA, you can not program
the timer for a too short delay, you should handle this in the
implementation of __ipipe_mach_set_dec for your platform, not
in the platform independent code.

--
                                                 Gilles Chanteperdrix

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to