Uploaded image for project: 'CIFX Toolkit'
  1. CIFX Toolkit
  2. NXDRVTKIT-128

Write access using xChannelControlBlock may result in unexpected values in DPM when used on Big Endian targets

    Details

    • Type: Change
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V1.2.0.0, V1.2.0.1, V1.3.0.0, V1.4.0.0, V1.5.0.0, V1.6.0.0, V2.0.1.0, V2.1.0.0, V2.2.0.0, V2.3.0.0
    • Fix Version/s: V2.4.0.0
    • Component/s: cifX/netX Toolkit
    • Labels:
      None
    • Sprint:
      SDO Sprint 12
    • Account:
      SDO Driver (SDODRIVER)

      Description

      While it is possible to read/write to Channel Control Block via xChannelControlBlock(), endianess conversion is always performed after DPM access. Data shall be converted according to the desired access type.

      Similarly, xChannelCommonStatusBlock() may return without DPM access due to errors and perform endianess conversion on the user buffer anyway (write access is prohibited).

        Attachments

          Expenses

            Activity

              Status Description

                People

                • Reporter:
                  LContreras Luis Contreras [X] (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: