Lose data from serial port

Thanks so much for your help! But actually I’ve found the reason which is the hardware. Thanks anyway!