-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Medium
-
SITSW-8632
-
-
12.00.00
-
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;