Added crc check to sd communication