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

License check does not work when being called from multiple tasks with the same priority (e.g. dual channel firmware)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V2.1.6.0
    • Fix Version/s: V2.1.7.0
    • Component/s: Drivers
    • Labels:
      None
    • Account:
      SDO rcX (SDORCX)

      Description

      Observed on CANopen Master: Drv_SecCheckLicense() returns with error RCX_E_INSUFFICIENT_LICENSE if both stack instances runs on the same priority level.

        Attachments

          Expenses

            Activity

            Hide
            stephans stephans added a comment -

            Issue verified by Christoph T:
            XC license checker shares a single I2C unit to access security memory. As this access is not locked, license checks on different xc units must not run in parallel!

            Show
            stephans stephans added a comment - Issue verified by Christoph T: XC license checker shares a single I2C unit to access security memory. As this access is not locked, license checks on different xc units must not run in parallel!
            Hide
            MTrensch Michael Trensch added a comment -

            AFAIK rcX V2.0 should also be affected too, as I cannot see any lock around Drv_SecCheckLicense().

            Probably it does never happen as the scheduler never switches to the next task (pseudo round robin from rcX V2.0 is disabled per default)

            Show
            MTrensch Michael Trensch added a comment - AFAIK rcX V2.0 should also be affected too, as I cannot see any lock around Drv_SecCheckLicense(). Probably it does never happen as the scheduler never switches to the next task ( pseudo round robin from rcX V2.0 is disabled per default)

              People

              • Reporter:
                stephans stephans
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: