implemented FRAM WRITE operation.