Toyota says software glitch can give faulty speed readings