Uploaded image for project: 'Sercos Slave'
  1. Sercos Slave
  2. PSSCS-1088

Handling of Run and Ready bit during channelinit to fast for driver/toolkit

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: V3.1.20.0
    • Fix Version/s: V3.1.38.0, V3.2.0.0
    • Component/s: Firmware
    • Labels:
      None

      Description

      Under some circumstances driver/toolkid did not recognize a channel init.
      The correct way for a channel init is:

      • once a ChannelInit command is received by AP task (and if ConfigurationLock is not set) the AP task shall remove the ready and running bit
      • before setting the ready or running bit the AP task shall spend at least 25ms time
        • this can be done by e.g. calling TLR_TSK_SLEEP(25); or by using a TLR timer before setting the bits
      • do NOT set the ready bit until database evaluation is finished
        • if there is a database found the ready and running bit shall be set at the same time
        • if no database is found the ready bit shall be set but running bit stays cleared
      • now the evaluation for an internally stored SET_CONFIG packet shall start
        • if a packet exists the stack shall be configured with this packet and afterwards the running bit shall be set
        • if no packet exists the running bit is not set at all

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  DJanssen Denis Janssen
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: