01Discard the program that was received
What arrived during a transfer with errors is not trustworthy even if it looks complete. Delete it from the control and do not run it under any circumstances: one changed character in a dimension is a crash. Start the transfer again from scratch.
02Match the settings at both ends
Baud rate, data bits, parity, stop bits and flow control. Write them down from both sides on a piece of paper and compare them point by point. At the control, also check that the selected channel is the one that is wired.
03Lower the baud rate and try again
Reducing the rate at both ends is the most informative diagnostic test there is: if the transfer comes through complete and verifies at low speed, you have noise, a cable in poor condition or inadequate flow control. If it fails just the same, the problem is settings or hardware.
04Check the cable and its route
Connector condition, strain, and above all where it runs: a serial cable laid alongside power lines or near drives picks up noise. Swapping for a cable known to be good rules out half the causes in two minutes.
05Suspect the PC's USB-to-serial adapter
If the link goes through an adapter, try a better quality one or a PC with a real serial port. It has been a very common cause since PCs stopped coming with serial ports, and it produces intermittent errors that are hard to explain any other way.
06Always verify after transferring
Once the transfer goes through, verify between the control and the source. Only when it verifies with no differences is the program usable. That check is the filter that stops you running a corrupt file.