Uploaded image for project: 'rcX - Operating System'
  1. rcX - Operating System
  2. RCX-703

Cycles created with rX_TimCreateCycle do not work

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V2.1.1.0, V2.1.2.0, V2.1.3.0, V2.1.4.0, V2.1.5.0, V2.1.6.0, V2.1.7.0, V2.1.8.0
    • Fix Version/s: V2.1.9.0
    • Component/s: Kernel
    • Labels:
      None
    • Account:
      SDO rcX (SDORCX)

      Description

      rcX V2.0 automatically started the cyclic timer during rX_TimCreateCycle. rcX V2.1 creates the timer internally in stopped mode and the user needs to activate it using rX_TimSetTimer.

      This is an API incompatibility which should be fixed.

      NOTE: Starting it manually also does not work, as it causes a data abort.

      Known Workaround (sequence):

      1. Use a normal timer (rX_TimCreateTimer) with a callback.
      2. The the task waiting that should be waiting on a cycle into wait (e.g. by letting it wait on an event/semaphore)
      3. Let the callback wake up the waiting tasks (e.g. Signal event/semaphore)

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  MTrensch Michael Trensch
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: