Uploaded image for project: 'PROFINET IO-Device V4'
  1. PROFINET IO-Device V4
  2. PSPNSV4-1670

sometimes Ready-Bit not set in COS Flags after executing a ChannelInit

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.8.0.0
    • Fix Version/s: V4.10.0.0
    • Labels:
      None
    • Account:
      SPC Profinet Slave V4 operational (SPC-PSPNSV4-OPERATIONAL)

      Description

      In case of applicative misbehavior during AR establishment in mailbox service handling, a ChannelInit may result in situation that the COS Flags report 0x6 ("BusOn" and "Running" set).

      This is unexpected and wrong as the "Ready"-Bit is not set which makes the whole communication channel unuseable.

       

      The situation can be triggered in e.g. this flow:

      • configure Device and register application
      • wait for PNS_IF_AR_CHECK_IND and do not send a response
      • wait for PNS_IF_USER_ERROR_IND (complaning about missing response) and do not send a response
      • now perform a ChannelInit via toolkit functions (do NOT use mailbox)
      • as a result, the firmware enters a state where COS Flags report "Running" and "Bus On" but the channel itself is not "Ready" and thus unuseable.

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  BMeyer Benjamin Meyer
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  0 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: