Index: NVDataMgmt.c =================================================================== diff -u -r73b6222bc2c1a69f45f62bfc3463e5616d813fb8 -r57a8de63b2dbecb2e951e8672f95a387c3d522a1 --- NVDataMgmt.c (.../NVDataMgmt.c) (revision 73b6222bc2c1a69f45f62bfc3463e5616d813fb8) +++ NVDataMgmt.c (.../NVDataMgmt.c) (revision 57a8de63b2dbecb2e951e8672f95a387c3d522a1) @@ -2177,11 +2177,8 @@ writtenRecordStatus = NVDATAMGMT_RECORD_NOT_CHECKED; - // The length should be divided by 4 - U32 maxBufferLength = jobSpecs.maxWriteBufferSize / EEPROM_OPS_SIZE_OF_CONVERTER; - // Issue the write command - Fapi_issueProgrammingCommand ( (U32*)memoryPtr, structPtr, maxBufferLength, 0x00, 0, Fapi_DataOnly ); + Fapi_issueProgrammingCommand ( (U32*)memoryPtr, structPtr, jobSpecs.maxWriteBufferSize, 0x00, 0, Fapi_DataOnly ); } } }