Incorrect calculation of rowColEnd in the ext_otp_writeMmr

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • SITSW-8632
    • Hide
      11.01.01
      11.01.00
      Show
      11.01.01 11.01.00
    • 12.00.00
    • Hide
      am62xx-sk
      am62xx-sk-lp
      am62x-sip-sk
      am62a-sk
      am62p-sk
      Show
      am62xx-sk am62xx-sk-lp am62x-sip-sk am62a-sk am62p-sk

      The `rowColEnd` in the `ext_otp_writeMmr` is calculated with the following expression

      rowColEnd = ((rowColStart + MMR_SIZE_BITS) % NUM_BITS_PER_OTP_ROW) - 1; 

      This expression result has the range [-1, NUM_BITS_PER_OTP_ROW - 2]. This range is incorrect for the `rowColEnd` as it is supposed to be a zero index value.

      The value needs to be calculated as

      rowColEnd = (rowColStart + MMR_SIZE_BITS - 1) % NUM_BITS_PER_OTP_ROW;

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-6244 - Incorrect calculation of rowColEnd ...
                SYNCHRONIZED
                • Last Sync Date: